這是我的代碼。它不顯示任何錯誤,但只有前兩個朋友被標記!只有兩個朋友被貼上標籤 - Facebook /圖表API
for ($i=0;$i<count($friendsID);$i++)
{
$post_url = "https://graph.facebook.com/".$upload_photo['id']."/tags/".$friendsID[$i]."?access_token=".$token."&x=80&y=".$y."&method=POST";
$response = file_get_contents($post_url);
$post_url = urlencode($post_url);
$response = file_get_contents($post_url);
$y = $y + 53;
}
你有兩個以上的朋友嗎? – 2011-06-10 14:16:40
是的,我已經連環運行n次,但只有2個朋友被標記。 – Sourav 2011-06-11 06:03:24