我想我有你的問題的答案。在文檔here,在列的表,它規定如下:
app_id: The ID of the app used to send the request. Note when indexing by app_id, you must also specify the recipient_uid.
- 和 -
recipient_uid: The ID of the user who received the request. Note when indexing by recipient_uid, you must also specify the app_id.
當我試圖執行查詢,我收到以下錯誤:
"message": "(#604) Your statement is not indexable. The WHERE clause must contain an indexable column. Such columns are marked with * in the tables linked from http://developers.facebook.com/docs/reference/fql ",
您查詢是目前:
SELECT request_id, app_id, recipient_uid, sender_uid FROM apprequest WHERE app_id = 234234324324324 and request_id =".$request_id
你會發現,你不遵循這些規則,你指定在WHERE子句,但沒有「recipient_uid」 APP_ID「。
嘗試在未指定app_id的情況下執行查詢。
試過包括你的access_token? – OptimusCrime
OptimusCrime:在哪裏添加access_tokn以及如何獲取該訪問令牌 – user1010611
如果您使用PHP SDK和$ facebook-> api(),則不需要處理access_token;方法 – Luke