2

I'm trying to fetch all the images I'm tagged in on Facebook.

It's working almost as it should, I just got one problem.

If I'm tagged in the post, but not tagged on the image, it doesn't show up in the output.

Any ideas why?

Here is my code:

SELECT pid, src_big, link, album_object_id, object_id, place_id, aid, created 
  FROM photo 
 WHERE pid IN (SELECT pid, object_id FROM photo_tag WHERE subject = me());
4

1 回答 1

2

图片上的标签与描述(帖子)中的标签不同。

有三个 FQL 表可以获取标记用户的内容:

您使用了第一个,但您还需要第二个。与您的照片标签请求类似,您将不得不使用该stream表格。

于 2013-07-12T23:00:49.433 回答