I am using Facebook Graph API version 2.0. I want to get the Facebook followers or subscribers count for some users. The complete Facebook page URL like: https://www.facebook.com/XXXUsernamexxx
is with me.
I got a solution from how to get followers list from facebook account by graph api? that we can get the followers/subscribers count by using the following URL.
https://graph.facebook.com/v2.0/{user-id}/subscribers
But I don't have user id with me. I can get the user id by sending first a request to Facebook API like: https://graph.facebook.com/v2.0/?ids={complete-facebook-page-url}
From the response I will get the user id. Then there will be another request to Graph API to get the subscribers count. Hence there will be two requests to get the followers or subscribers count. But I want to limit it to one request.
It is possible to get the followers or subscribers count by sending complete Facebook page URL or by username?
Any help is highly appreciated.