我正在GET請求,Facebook的圖形API,如:如何獲得Facebook的喜歡數Facebook的頁面?
https://graph.facebook.com/Yahoo?fields=likes
它返回喜歡即使我沒有登錄計數
但對於像URL:https://graph.facebook.com/CaraSutrasPage?fields=likes
我沒有登錄Facebook時沒有登錄。這裏的原因是,這個Facebook頁面受年齡限制。
從this question,我想包括用戶的access_token,如: https://graph.facebook.com/CaraSutrasPage?fields=likes&access_token=CAAGRLGYz...User_access_token
但是這隻有當用戶登錄到developer.facebook.com網站。註銷後返回"Error validating access token: This may be because the user logged out or may be due to a system error."
消息。
我想獲取Facebook喜歡的存儲在數據庫中的Facebook頁面URL列表(例如https://www.facebook.com/TheRedheadBedhead和https://www.facebook.com/pages/Sexational/382577001850507?ref=hl)。我不知道哪些是年齡限制的,哪些不是!
有什麼辦法,如果我可以使用FQL得到喜歡數?
我正在尋找一種通過任何方法獲得Facebook喜歡的方法:GET請求(例如https://graph.facebook.com/CaraSutrasPage?fields=likes),POST請求或FQL!
任何幫助,高度讚賞!