I have a database of twitter usernames in a mysql DB. I would like to populate the currently empty description, location and url fields with data.
What would be be the best way to do 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.
You should take a look at the Twitter REST API documentation. There should be something in there you can use.
For example, if you use the following url, you get information in JSON format on a particular user:
http://twitter.com/users/show/<userid>.json. If you end your url with.xmlinstead of.json, you get the same info in xml format.Then in your application you can parse the returned data and add the missing values to your database.