如何阅读我的朋友被标记的地方?我发现了这样的东西,但是这个例子对我不起作用。
还是我必须逐个检查
SELECT page_id, author_uid FROM location_post WHERE xxfriendIDxx IN tagged_uids ??
{
"my_friends":"SELECT uid, name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me() ORDER BY rand() LIMIT 100)",
"their_locations":"SELECT page_id, author_uid FROM location_post WHERE tagged_uids IN (SELECT uid FROM #my_friends) LIMIT 100",
"those_places": "SELECT page_id, name, location FROM page WHERE page_id IN (SELECT page_id FROM #their_locations)"
}
谢谢帮助!