ap_idev
#1
Hi all,
I’m just getting setup with the Twitter API, I’m making a project where user’s can manage all of their social media accounts, from different platforms, all in one place.
When making a status update/post request it seems that you have to use a token key & token secret, this isn’t really ideal for me as most of my user’s won’t have a developer account, I was wondering if it is possible to use the user’s username/handle & password instead?
I can’t seem to see anything in the documentation about this, unless I missed anything?
Thanks!
Liam
No, this is not possible. I’d discourage asking users for passwords in general - this is a huge security risk.
The way to do it is with oAuth. There’s no user / password involved - and only you need to be a developer, none of your users need to be - they will only ever see a login screen on twitter.com and authorize your app as part of the “Login with twitter” flow.
This is the correct way of doing it: Log in with Twitter | Docs | Twitter Developer Platform
1 Like
system
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.