github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

facebook / connect-js

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 152
    • 13
  • Source
  • Commits
  • Network (13)
  • Issues (19)
  • Wiki (4)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Facebook's JavaScript client-side implementation of Connect. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Update pkg.sh to include new files 
nshah (author)
Mon Feb 01 13:31:25 -0800 2010
commit  64bf868a0bde2fe0b797ea5bec47bcf90fdc0176
tree    49dd18f8aabdd1948b12f72d416851da16eb8e58
parent  9991acfecc36fe5e6b1b51755f4c666e5e5d3e90
connect-js /
name age
history
message
file .gitignore Sat Oct 24 20:47:08 -0700 2009 back to simpler m.js deployment, added simple s... [nshah]
file changelog.md Fri Dec 18 17:41:13 -0800 2009 Changelog for alpha release of data layer and X... [Luke Shepard]
directory console/ Wed Nov 25 13:17:00 -0800 2009 Change FB.login to take options instead of just... [Luke Shepard]
directory examples/ Wed Nov 04 20:38:40 -0800 2009 Final URL is not /assets.php/, its /connect/ S... [nshah]
file pkg.sh Mon Feb 01 14:45:16 -0800 2010 Update pkg.sh to include new files Summary: Up... [nshah]
file readme.md Fri Nov 20 13:10:19 -0800 2009 Updating cookie format to be quoted to follow t... [nshah]
directory src/ Mon Feb 01 12:21:00 -0800 2010 On render callback and global event for XFBML r... [nshah]
directory tests/ Mon Feb 01 12:21:00 -0800 2010 On render callback and global event for XFBML r... [nshah]
readme.md

Facebook Connect JavaScript SDK

Facebook Connect is a set of APIs that make your application more social. With it you gain access to:

  1. Identity: the user's name, photo and more User.
  2. The Graph: the user's friends and connections Connection.
  3. Distribution: the Stream, and the ability to communicate Publishing.
  4. Integration: publishers, canvas pages, profile tabs.

This repository contains the open source JavaScript SDK that allows you to utilize the above on your website. Except as otherwise noted, the Facebook Connect JavaScript SDK is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html)

Status

This is an alpha release. In order to guide the development of the library and allow you to freely inspect and use the source, we have open sourced the client JavaScript SDK. We do not have all the features we intend to build, but we will be building them incrementally in a transparent manner.

Currently, we have the first iteration of the JavaScript APIs that allow you to:

  • Handle Authentication & Authorization
  • Make API calls
  • Publish to the Stream

Some major aspects that are still missing are:

  • XFBML
  • Widgets
  • Data Access Abstractions

We will be actively iterating on this, and expect to have a beta release shortly. Once we've worked out all the kinks, we will announce the final release. Remember, this is an alpha release!

Usage

The examples are a good place to start. The minimal you'll need to have is:

<div id="fb-root"></div>
<script src="http://static.ak.fbcdn.net/connect/en_US/core.js"></script>
<script>
  FB.init({ apiKey: 'YOUR API KEY' });
</script>

Note: For easier development, we also have a unminifed (raw code with comments) available using this URL:

http://static.ak.fbcdn.net/connect/en_US/core.debug.js

Documentation

We have made API documentation available for the public APIs here. In addition, the code itself contains full documentation for the private APIs if you want to study the internals.

We have a list of FAQs that detail some of the changes and provide information about the new SDK.

We are maintaining a changelog as we update the SDK. Since this is an Alpha SDK, we might need to break compatibility between releases if the need arises.

The repository also contains simple examples showing the use of the SDK with popular JavaScript libraries such as Dojo, jQuery, MooTools, Prototype and YUI.

Feedback

We are relying on the GitHub issues tracker linked from above for feedback. File bugs or other issues here.

Tests

We are working hard to ensure your experience using Connect is stable. In order to keep us nimble and allow us to bring you new functionality, without compromising on stability, we have ensured full test coverage of the new SDK. We are including this in the open source repository to assure you of our commitment to quality, but also with the hopes that you will contribute back to help keep it stable. The easiest way to do so is to file bugs and include a test case.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server