Is there a way of detecting the user mobile device or at least know if the user is also using Facebook on a mobile device?
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.
Read the Mobile Device Filtering section on the below url:
https://developers.facebook.com/docs/guides/games/custom-muti-friend-selector/
You should do a Graph API request like the below:
GET https://graph.facebook.com/USER_ID/?field=devices
Just want to add that the
fieldparameter didn’t work for me, butfieldsworks. So you can try the below url alternatively (I would suggest to try it first).GET https://graph.facebook.com/USER_ID/?fields=devices
And do not forget you will need an access_token
GET https://graph.facebook.com/USER_ID/?field=devices&access_token=….