Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このコードはランダムな友達を 1 人選びます。
https://graph.facebook.com/fql?q=SELECT uid2 FROM friend WHERE uid1=me() ORDER BY rand() LIMIT 1
どうすればランダムな友達を選ぶことができますか?
性別は、users テーブルの「sex」列として表されます。したがって、次を使用できます。
性別=「女性」
詳細については、これを確認してください:ユーザー