Problem in FQL query to fetch shared video
I am using this query to find shared videos from my wall and as output I am getting blank array([]).
SELECT vid, owner, title, description, thumbnail_link, embed_html, updated_time, created_time FROM video WHERE owner=me()
I have one videos at my wall. I checked above query here
http://developers.facebook.com/docs/reference/rest/fql.query/
Please help me to get videos data fr开发者_开发百科om facebook FQL.
You are almost certainly missing the user_videos
permission from the user's access token. Add that to the list of the permissions you're asking for with your app and you query will work.
No, if the user_video permission is missing, it will show AUTH Exception.. There won't be blank data array..
Thing is you are searching for videos where owner=me(), and that means the video that you own. Actually you need videos that are shared on your wall and not only those videos that you own.
精彩评论