0
我正在通過PHP SDK以下FQL:FQL:故障連接表其中id是在格式USERID_LINKID
{
"posts" : "SELECT post_id, actor_id, message, type FROM stream WHERE type = '80' AND message != '' AND filter_key in (SELECT filter_key FROM stream_filter WHERE uid='588853265' AND type='newsfeed') AND is_hidden = 0 ORDER BY created_time DESC LIMIT 50",
"actors" : "SELECT uid,name FROM user WHERE uid IN (SELECT actor_id FROM #posts)",
"links" : "SELECT owner, url FROM link WHERE link_id IN (SELECT post_id FROM #posts)"
}
我得到的結果如預期的職位和角色而不是鏈接(結果是空的)。我認爲問題在於鏈接表使用的是正常ID,但我'流'中的'帖子'以ID:USERID_LINKID的格式顯示。
我玩過substr()和strlen()以使它無法運行。