I need a subroutine written in PHP which would get a list of followers of my twitter account. Preferably done in CURL and not dependant on other librares.
The subroutine will have to use twitter API 2.0 (since 1.0 is no longer supported)(https://dev.twitter.com/docs/api/2)
and use specified proxy server.
Technically I need a subroutine which will be passed the following data:
proxy to use for the request(private, with login/password authentication)
my twitter username
my twitter password
my OAuth keys
And it should return an array of IDs of users that follow my account.
Should not be any problem to someone who's falmiliar with Twitter API and PHP.