How to Facebook Like info using FacebookSDK?

0 votes
Hi this is Subbu.I am Unity3d developer.I am developing one real racing game.But  for this game i am who are like my facebook game like page, I have to give reward.Is there any way to find the user is like or dislike.
asked Mar 18, 2014 in Discuss & suggest API by subbu (11 points)

1 Answer

0 votes

You can use facebook Graph API to know the users who have liked your page/app. After fetching the list you can call our reward service to allocate them rewards.

You can write this script in custom code and schedule it for hourly/daily run to do this task. Let me know if it helps.

Here is the link for facebook like API

https://developers.facebook.com/docs/reference/opengraph/action-type/og.likes
https://developers.facebook.com/docs/opengraph/guides/og.likes#publishing

 
answered Mar 19, 2014 by ajay123 (899 points)
Can you explain more this about GraphAPI.I read that shared links that won't help in unity3d.
I find one php may be this is good to give perfect result.Can you check and help me out.
http://www.zuberi.me/2011/how-to-check-if-user-liked-the-application-or-page.html
Yes, it is not for Unity, however if user has liked your app page via directly visiting your page or any other medium, you can get list of those users using PHP/REST api and can reward them using our API.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...