开发者

Order page after likes by friends

开发者 https://www.devze.com 2023-04-01 09:34 出处:网络
It is easy to get the likes of a page on Facebook and order them by numbers, as found here. But how do you get the number of likes from a user\'s friends?

It is easy to get the likes of a page on Facebook and order them by numbers, as found here.

But how do you get the number of likes from a user's friends?

For example, I want to be able to make a text to show "2 of your friends likes this page exact on www.example.com", preferably without them ha开发者_如何学Goving to accept a Facebook app.

Just like when you click a like button, some of your friends already clicked on. "Friend, Friend and 100 others has liked this page."


You would have to prompt the user for extended permissions to get this information. You won't be able to access any users friends information without authentication with your application. The closest you could do is show a like button for that url by setting the href property of the like button and then styling the button by applying css to hide the actual like button, leaving just the "2 friends like this page" text.

0

精彩评论

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