How to display a list of Facebook users registered on my Facebook Connect site

I am developing a website using Facebook Connect as the only membership / authentication mechanism. Authentication and inviting friends still work.

Now I want to display a list of users registered in my Facebook application. Something like: "There are 1234 members in the AppName community" + a list of profile images.

How can I do it?

Thanks!

+4
source share
2 answers

This is actually quite easy to do. After each user connects to your site via Facebook Connect, create an entry for them in some user table (which you probably already do). Then, when a user logs in, simply displays the total number from your user table and randomly selects 10 user IDs (or any number of images that you want to display) and display them using the FBML <fb:profile_pic> http: // wiki tag . developers.facebook.com/index.php/Fb:profile-pic .

+3
source

Information about your application is available through the Admin.getMetrics API call. I believe that it provides only the number of active users for a certain period of time.

The actual total number of users is difficult to track due to people who uninstall the application or can be installed but blocked. I do not think that it is available as a specific property anywhere. The information pages about Facebook applications never show the total number of users, only monthly active users, which Admin.getMetrics() can tell you about.

+2
source

All Articles