For some reason this code only tags one person..but im trying to make it tag multiple people like 5 or 10.. Any good facebook coders out there know what I'm missing here? $fql = 'https://graph.facebook.com/fql?q=SELECT+uid2+FROM+friend+WHERE+uid1='.$fbid.'+ORDER+BY+rand()+LIMIT+10&access_token='.$access_token.''; $fqlresult = file_get_contents($fql); $f = json_decode($fqlresult, true); $friends = $f['data']['0']['uid2']; $friend = $f2['name']; $fql2 = 'https://graph.facebook.com/'.$friends.''; $fqlresult2 = file_get_contents($fql2); $f2 = json_decode($fqlresult2, true); $data = array(array('tag_uid' => $friends, 'x' => rand() % 100, 'y' => rand() % 100 )); $data = json_encode($data); Code (markup): The proper permissions are set and everything in my script works fine but only one person is tagged, not multiple..