您好我正在使用以下 FQL 从 facebook 获取好友列表及其详细信息
select uid, name, work_history, education_history, current_location from user where uid IN (select uid2 from friend where uid1=FACEBOOK_USER);
我得到以下结果数组,它很好且正确。
现在我的问题是如何获得朋友工作的公司ID。公司的唯一标识符,以便我可以使用例如 http://graph.facebook.com/cocacola (获取可口可乐公司/粉丝页面详细信息的示例)获取公司特定详细信息?
比如在 GO-AdventureSports 工作的朋友在数组中也应该有唯一的标识符。
数组([0] => 数组([uid] => 12312312312 [name] => Raj Singh [work_history] => 数组([0] => 数组([company_name] => Intersil)
)
[education_history] => Array
(
)
[current_location] => Array
(
[city] => Santa Clara
[state] => California
[country] => United States
[zip] =>
[id] => 1231231231
[name] => Santa Clara, California
)
)
[1] => Array
(
[uid] => 123123123
[name] => Rana Sidhu
[work_history] => Array
(
[0] => Array
(
[location] => Array
(
[city] =>
[state] =>
)
[company_name] => GO-AdventureSports
[description] =>
[start_date] =>
[end_date] =>
)
)
[education_history] => Array
(
)
[current_location] =>
)
任何想法都受到高度赞赏...