开发者

How to obtain the phone number when reading facebook contacts

I thought it was impossible to read phone numbers of contacts using facebook APIs, but "Facebook for 开发者_运维百科HTC Sense" android application is syncing all that information to my local agenda.

Somebody knows how are they implementing this feature?


Is it for people you already have in your contacts? It's possible they are just cross-referencing other pieces of information (like email) against your local contact info.

Because phone number isn't a field in the graph nor is it one in the corresponding FQL table.


The fql fields are "cell" and "other_phone" but they are not available unless your app is whitelisted like obviously their iphone/android apps are. You can request those fields but they will return back null values, confirming those are the fields (requesting fields that don't exist throws errors).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜