How using the twitter rest api can i follow a user in something like this format:
http://myuser:mypassword@urloftwitterapi/follow?user=useriwannafollow
There is a very simple method like this? Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As Joost already posted take a look at:
https://dev.twitter.com/docs/api/1/post/friendships/create
If you want to use this longer than till the end of June you’ll need to check out OAuth Authentication:
https://dev.twitter.com/docs/auth/
https://dev.twitter.com/docs/auth/oauth/single-user-with-examples
Because Twitter will drop basic HTTP Auth by June 30th:
http://www.countdowntooauth.com/
That means you’ll need some library by then, if you don’t want to go with with something like Python or Ruby, you could check out Twurl: http://github.com/marcel/twurl/