abraham / twitteroauth

The most popular PHP library for use with the Twitter OAuth REST API.
https://twitteroauth.com
MIT License
4.3k stars 1.71k forks source link

Post tweets to another account #823

Closed ghost closed 4 years ago

ghost commented 4 years ago

HI. I am currently using your code. This is really useful. I have one question. Now,I can only post to my account which create api key but I want to post tweets to another account. I know another user email address and password. Is this possible ? If yes,Please let me know how can I solve this problem. Thanks.

abraham commented 4 years ago

Using your application keys you have to perform the oauth flow with the other user and get their access token. I would recommend using a tool like twurl although you can also try using the twitteroauth.com source code.

ghost commented 4 years ago

Hi abraham! Thanks for your help. It's working well!