Facebook Post likes -


i've question in regards fb graph api. assuming search likes related facebook post,i have this:

541729512538864_792100727501740/likes/ 

but if find whether user(me) has liked specific post(not page)?i've tried doing way.

541729512538864_792100727501740/likes/<my user id> 

but not return results.so would actual graph path be?i gladly appreciate help,thank :d!

with graph api not possible imho. you'll need use fql instead:

select post_id, like_info.user_likes stream post_id="541729512538864_792100727501740" 

will return

{   "data": [     {       "post_id": "541729512538864_792100727501740",        "like_info": {         "user_likes": false       }     }   ] } 

in case. bound user of access token you're using running query with. see https://developers.facebook.com/docs/reference/fql/stream/ reference.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -