Reputation: 8216
I have created a page on my site where users can post directly to their twitter accounts using a form on my site. I am using curl to send the data. However, when they post something it says it was posted "from API" I would like to change that to my sitename/link. I read something about doing it through OAUTH but I do not want my users to have to leave my site and go to twitter. I just want to show my site there. Any help is appreciated.
Upvotes: 1
Views: 576
Reputation: 2707
This link might help you a bit http://www.sakana.fr/blog/2007/03/18/scripting-twitter-with-curl/
And for changing the client shown, pass the source variable, something like this should work:
curl --basic --user username:password --data status="Having fun with cURL" http://twitter.com/statuses/update.xml?source=MySuperClient
Upvotes: 1
Reputation: 2807
You are going to have to use Oauth, the original method was discontinued. Before that, though, you have to register your application here: New Client.
More information: Here
Upvotes: 2