0
나는이 오류가 무엇입니까 내 응용 프로그램에서 사진을 업로드하는 동안이에 의해페이스 북 응용 프로그램의 사진 태그
Fatal error: Uncaught OAuthException: (#100) Cannot specify user tags without a place tag thrown in
내가 사진 태그 ID의 배열
$friends = $this->facebook->api('/me/friends');
shuffle($friends['data']);
$arr = array();
$i = 0;
foreach($friends['data'] as $friend) {
$arr[''.$i.'']['tag_uid'] = $friend['id'];
$arr[''.$i.'']['x'] = '11';
$arr[''.$i.'']['y'] = '12';
$i++;
if ($i == 25) {
break;
}
}
을 얻고을 그리고 이것은입니다 사진 업로드 중
$photo_details = array(
'message'=> '' . $image_name['image_caption'] . ' for more LoL Images check out - http://lolsharing.com/',
'tags'=> $arr
);
$photo_details['image'] = '@' . realpath('' . FCPATH . 'assets/joke_images/' . $image_name['image_name'] . '');
$upload_photo = $this->facebook->api('/' . $create_album['id'] . '/photos', 'post', $photo_details);
이전에 제대로 작동하고있었습니다. 하지만 왜 지금 작동하지 않는지 모르겠다. 도와주세요.
대단히 감사합니다.
+1 '믿어지지 않는 정도로 어리 석다'. –
그래도 해결 방법을 찾은 것 같아요. 사진을 업로드 한 후에 태그를 추가하면 장소가 필요하지 않습니다. –