嗨,我使用下面的FQL來從Facebook獲取好友列表和它們的細節如何讓Facebook好友work_history和公司ID?
選擇UID,名字,work_history, education_history,從用戶CURRENT_LOCATION 其中uid IN(選擇UID2從朋友 其中UID1 = FACEBOOK_USER );
我得到了下面的結果數組,它是正確的。
現在我的問題是任何有可能得到朋友工作的公司ID。公司的唯一標識符,以便我可以使用例如 http://graph.facebook.com/cocacola(獲取可口可樂公司/粉絲頁詳情的例子)
如GO-AdventureSports中的朋友在數組中也應該有唯一的標識符。
陣列 ( [0] =>數組 ( [UID] => 12312312312 [名稱] =>拉吉辛格 [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] =>
)
任何想法是highl y讚賞...