I have created a Facebook application. Now I would like to see the details of the users of my app (I mean authenticated Facebook users). And I would like to post some thing to the first 5 users (older users). How can I do this?
Share
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.
Assuming that you have authenticated the user with the permissions to get his detail. You can then call the Facebook Graph API method.
For javascript:-
Or you can use PHP SDK and use its method after initializing it with the required permissions
The result object is an array that stores user information.
Regarding the last part of your question you have to implement some sort of counter and do the post using the same api method call.