在iphone-sdk中获得Facebook喜欢的数字 [英] get facebook likes count in iphone-sdk
本文介绍了在iphone-sdk中获得Facebook喜欢的数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不想显示喜欢按钮...我只想得到特定链接的喜欢的数量...只是连接..没有按钮没有对话没有任何
I don't want to show Like button... I just want to get the Number of count that has been liked for particular link... Just Cont.. No like button No dialogue Nothing
推荐答案
只需简单的URL请求到Graph API:
Just do a simple url request to the Graph API:
http://graph.facebook.com/[FULL URL]
Example:
http://graph.facebook.com/http://www.stackoverflow.com
Edit: (an example with "LIKES")
http://graph.facebook.com/http://www.imdb.com/title/tt0117500/
真棒,不是吗?
这篇关于在iphone-sdk中获得Facebook喜欢的数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文