I have a facebook app for which user grant me permission to access user_subscriptions to make my app able to access https://graph.facebook.com/me/subscribedto?access_token=#
It let me access all the persons app user is subscribed to.
I use this data let my app know that the user is subscribed to a particular person and let him/her access the site furter, I call this process a Subscribe Gate.
But I’m running into a problem now, that suppose a user is subscribed to about 1K or even 5-10K, then in such case think about the amount of data will be transferred and the load on the php server, facebook will consider my app spam and might block me
I want to know is there a way through which I could search for the person whom user is subscribed to instead of asking for all the persons user is subscribed to and check manually by php script
If I understand correctly, you want to know if a particular person is subscribed to the user of the app. Supposing the person in question’s user id is XXXXXXXX, do…
via Graph:
or via FQL:
–
Note: while in theory the above solutions should work equally well, when I tested the Graph-based solution with the Facebook Graph explorer, the query processed for an unusually long time. FQL worked fine.
Update: To find out if the user of the app is subscribed to a particular person: