Skip to content

Twitter Guide added - #93

Closed
ShivamRawat0l wants to merge 1 commit into
appwrite:masterfrom
ShivamRawat0l:master
Closed

ShivamRawat0l wants to merge 1 commit into
appwrite:masterfrom
ShivamRawat0l:master

Conversation

@ShivamRawat0l

Copy link
Copy Markdown

I am new to open source. I have added the api to authenticate using twitter.
If I could have an guide/mentor I will try to add it myself.

@christyjacob4

christyjacob4 commented Oct 2, 2019 •

Copy link
Copy Markdown
Contributor

Have you tested the implementation @ShivamRawat0l
Feature Addition for #5

@ShivamRawat0l

Copy link
Copy Markdown
Author

Sir , I just contains the routes of twitter api currently. I would like to have a mentor to understand it better.
Currently it does not work just contains the p
routes

@christyjacob4

christyjacob4 commented Oct 2, 2019 •

Copy link
Copy Markdown
Contributor

You can test out your adapter by performing a user registration flow.

  1. Create a sample project
  2. Navigate to Users > Providers
  3. Create a project on Twitter and get the APP ID and APP secret
  4. Enter it in the providers and save it. If you get a green toast message, you're good to go .
  5. Navigate to this URL
    http://localhost/v1/account/sessions/oauth2/twitter?project={project_id}&success=http://localhost/?success=1&failure=http://localhost/auth/signin?failure=2
  6. If successsful, you will be able to login back to appwrite console.
  7. Then navigate to users. You should find your new user there.
  8. To verify that this user was added through twitter, You can open chrome dev tools > Network
  9. Reload the page and look for a request like this
    test1213
  10. Examine its payload to be
    test2
    Except that Bitbucket should be replaced by twitter.
  11. Test a failure as well and ensure that the user isn't added
    If all goes well , update your PR and we'll get it merged

@eldadfux eldadfux mentioned this pull request Oct 2, 2019

@eldadfux eldadfux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look at @christyjacob4 feedback for more info.

@eldadfux

eldadfux commented Oct 5, 2019

Copy link
Copy Markdown
Member

@ShivamRawat0l Are you still interested in working on this issue? We really want to release this feature with version 0.3.0

@ShivamRawat0l

Copy link
Copy Markdown
Author

Sorry I am new to this and cannot understand some of the working of other code. You can assign the project to someone else I will try to do it locally.

@eldadfux eldadfux closed this Oct 6, 2019
NancyWei123 pushed a commit to NancyWei123/appwrite that referenced this pull request Sep 23, 2026
…throwable

fix(pools): release the reserved slot when connection creation fails
NancyWei123 pushed a commit to NancyWei123/appwrite that referenced this pull request Sep 24, 2026
fix: sending of batch emails without exposing all recipient emails
NancyWei123 pushed a commit to NancyWei123/appwrite that referenced this pull request Sep 28, 2026
NancyWei123 pushed a commit to NancyWei123/appwrite that referenced this pull request Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants