I need to create line chart for my twitter followers . I have used following code to list the followers details.
$parameters = array('include_user_entities' => true);
$response = $this->api->get('followers/list.json', $parameters);
Its working fine .But its doesn’t probvide following date details. How can I get following date details using twitter api
2
Answers
If you write:
The second command overwrite the first. Thus
$parameters
contains an empty array. Try with this:There is no way in the API to tell when someone followed you.
Take a look at the API reference – https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-followers-list
The only date in the returned object is
created_at
– that refers to when the account was created, not when it followed you.