SharkTheDark
SharkTheDark

Reputation: 3119

how to automatically post status on twitter

Does anyone know how to post automatically on twitter like Facebook has...

In facebook, there is API/SDK that allows PHP to post status to visitors wall if they allow my application to do that, but what about twitter? I know that it's possible, but I don't know how...

I found 2 ways online to post with twitter with PHP script BUT:


  1. Request me to insert my username/password ( which I think users won't insert )

  2. Use my customer ID/secret found on application page, but then it post to my twitter, not to visitors


Is there any way to post to twitter using PHP but for my visitors on site, not for myself?

Something like allowing application to post instead of them like facebook has...

Can someone help me with that?

Upvotes: 1

Views: 773

Answers (1)

ahoura
ahoura

Reputation: 689

You need to have the user authenticated using oAuth, and then store their credentials in a DB and use that to post the status updates.

Upvotes: 5

Related Questions