i am using a php script to automate posts to twitter. the script to post is woking, but i want it to pull a list of users from my followers automatically. at the moment i am having to import CSV files into my mysql database. i know there is a way that i could pull followers and dump them into the DB directly using twitters API, but I lack the skill necessary to code said function.
Share
I would suggest that you request your followers from Twitter’s API in JSON format, then use PHP’s
json_decode()function to get something usable from PHP from the results. It’s much easier than trying to use XML. You only have to make sure you have the JSON extension installed for PHP: