Facebook Connect
From Facebook Developer Wiki
Welcome to Facebook Connect
Facebook Connect is a powerful set of APIs for developers that lets users bring their identity and connections everywhere. You can incorporate Facebook Connect into your websites, iPhone apps, and desktop and mobile applications.
Facebook Connect handles the user's interaction with the Facebook account, and provides a mechanism for you to connect the user's Facebook login with your existing login scheme. Your application can access the user's profile information and friends list, write on the wall, email the user, and so on. These privileges are under the user's control, which helps build trust in your application.
There's a lot to learn about Facebook Connect. Bookmark this page, which will help you navigate the Facebook Connect information as you learn. For an index of all pages related to Facebook Connect, see the Facebook Connect category.
Where to Go from Here
If you're just starting out:
- Familiarize yourself with the business benefits of Facebook Connect and learn more about some leading examples by visiting the Facebook Connect page on Facebook.
- Become a Fan of our Facebook Connect page to get updates on the best examples.
- If you're ready to dive in, start integrating your site with the Facebook Connect Wizard.
If you need to know more, read about the topics that interest you.
Basic Knowledge
The following pages provide information that will help you get started with Facebook Connect:
- To learn more about the benefits of Facebook Connect, see Introduction to Facebook Connect.
- To learn how Facebook Connect works, see Anatomy of a Facebook Connect Site.
- For a brief tutorial, see Facebook Connect Tutorial.
- To learn how the APIs work, try them in the Test Console.
- To start coding, see
- For best practices, see
Components and APIs
The following pages provide information about the technologies, components and APIs you'll need to use when writing a Facebook Connect app:
- For information about the cross-domain communication channel, see:
- For information about the JavaScript client library, see
- For information about XFBML, see XFBML.
- For information about authorizing users, see:
Keeping Up
Once you get started developing:
- Please follow our Developer blog (or subscribe to the RSS feed) and the Platform Status Feed (or subscribe to its RSS feed). These two feeds will keep you up to date on all important new features and technical updates.
- You may also want to follow the weekly Push Changes articles for a more detailed set of updates.
- For answers to questions you don't find in the following documentation, please read our Facebook Connect FAQ or ask on the Developer Forum.
Start Building
Start learning the basics of Facebook application development and a get technical overview of Facebook Connect. Then visit some sites already using Facebook Connect and see what plugins and social widgets you can easily add to your site.
- Feature Overviews
- Basics of a Facebook Connect Site
- Basics of an iPhone app with Facebook Connect
- Basics of a mobile Web app with Facebook Connect
- Basics of a desktop application with Facebook Connect (Coming Soon)
- Widgets and Plugins
- Technical Overview
- Examples
- Facebook Connect Demo Applications (The RunAround) - with sample code
- Directory of sites with Facebook Connect - list yourself here
- Get Started!
Authorizing Users
Learn the ins and outs of authenticating and connecting your users' accounts on Facebook and your site.
- Facebook Connect Authentication and Authorization
- Detecting whether users are logged in to Facebook and/or your site -- single sign on
- Logging Out And Disconnecting
- Reclaiming Accounts after a user disconnects
Reading Data from Facebook
After you authenticate your users, you can start accessing their profile data, friends, and streams. Read about identity, privacy, and providing social context to your site.
Sending Communications to/through Facebook
Get social distribution from your site through Facebook using requests, notifications, and publishing to users' streams.
- Publishing Feed Stories to Facebook
- Using Facebook Share to post links to Facebook
- Creating Invites and Requests
- Sending user-to-user notifications (Coming Soon)
Building Rich Features with Facebook Connect
Add deep social functionality to your site including integrating social comments into your blog or site, showing recent user activity, and filtering information with social context.
- Integrating social comments into your blog or website
- Sharing Users' Recent Activity with Facebook
- Adding social context and social filtering -- "what your friends like"
Integrating into Facebook
Integrate your site into Facebook with profile boxes, tabs, Publishers, and a Facebook Page.
- Building Profile Boxes for your Facebook Connect site
- Building profile tabs (Coming Soon)
- Building a Publisher
- Integrating with Facebook Pages
Insights and Analytics
Monitor usage and statistics for your site -- see how often your users publish to Facebook, how successful your requests and notifications, and learn about allocations.
- Monitoring usage and statistics of your application (Coming Soon)
- Tracking publishing and clicks-per-share (Coming Soon)
- Tracking success of requests and notifications (Coming Soon)
- Understanding allocations (Coming Soon)
Under the Hood
Learn the details of what's going on behind the scenes with Facebook Connect and how it interacts with your site or application
Special Topics
More advanced topics that you may not need to understand when you get started
- Optimizing performance with Facebook Connect
- Debugging and troubleshooting with Facebook Connect (Coming Soon)
- Automating Functional Tests for Connect Implementations
- Facebook Connect via SSL
- Supporting Subdomains In Facebook Connect
- Translate your Facebook Connect sites, IFrame applications, and FBML applications with Translations for Facebook Connect.
Reference
Come here for tutorials and reference information about Facebook Platform -- the JavaScript client library, the RESTful API, FQL, XFBML.
Technical Reference
- JavaScript SDK Documentation
- Client Libraries for every language
- XFBML reference: the extension to FBML so you can easily bring social context onto your site.
- Facebook Platform RESTful API reference
- FQL reference
- Facebook Connect for iPhone
- FB_RequireFeatures
- Facebook Connect FAQ
Tutorials
- Facebook Connect step-by-step tutorials (just a reference list back to all the guides) Facebook Connect Tutorial1
- Facebook Connect Video Tutorials
- How To Write A Good Connect App
- How To Write A Good Connect Plugin
Policies and Guidelines
- Platform Principles and Policies
- Facebook Connect Login Buttons
- Facebook Connect Branding Guidelines (Coming Soon)
- Facebook Connect Fourth Party Code
