Jump to content

Invision Community Blog


Managing successful online communities

Matt
Sign in to follow this  
 

IP.Board 3.1.0 Dev Update: Facebook API Updates

On Wednesday at the F8 conference, Facebook unveiled their new "Graph" API.

This is brand new set of APIs including a new oAuth based log in system. There is much speculation in the media about the current (now old) APIs like Facebook Connect, which IP.Board currently uses. Some sites are reporting that Facebook will simply kill it off while other more optimistic journalists envision a long grace period to allow developers update and migrate their applications.

We didn't want to hang around and find out, so today I recoded our Facebook integration using the new oAuth 2.0 methods using FQL as much as possible which is more likely resistant to change.

What does that mean for you?
First off, apart from adding your Facebook application ID (this is listed on your "Edit my application page") into your Admin CP after upgrading, you don't have to do much else. Your currently 'connected' members will just have to re-log in once to accept a new token which is saved in the database. All the new permissions 3.1 needs will be asked for in a single page at the first Facebook log in from an IP.Board page.

All of the features we added have been updated for the new API including: logging in, synchronizing profile data, publishing links to your wall and importing/exporting status updates.

An example of a permission request actioned when you log in for the first time


The Facebook 'Connect' Page using the new APIs.


Some test status updates and links published to my test Facebook account.


Any improvements?
Actually yes. The new APIs are much more streamlined which have allowed a lot of the inline JS and mark-up to be removed. Better yet, as we're no longer using Facebook Connect, we are not shackled by Facebook's Connect TOS which mean that now when you log in using Facebook and you don't have a current forum account, you are asked to enter a display name rather than having your real name used automatically.

We've even added a few default hooks (that are disabled by default) to show off some of the new Facebook API features.

Facebook has an activity feed widget which lists all Facebook related activity on your forum


You can now like any publicly viewable topic


Of course we understand that not everyone requires these new Facebook features which is why they are disabled by default.

To re-cap:
- 3.1 now uses Facebook's new oAuth / Graph APIs (and FQL)
- You only need to add your application ID to your Facebook settings in the ACP to use this once you upgrade
- Your current Facebook members will not have to do anything other than log in once via Facebook from the log in form or from the Facebook settings page in their UserCP
- Your members can now set their own display name when they log in with Facebook and they don't have a local account

We felt it pertinent to move quickly on this so that IP.Board 3.1 was released with the very latest APIs possible.

Sign in to follow this  

Comments



Recommended Comments

These type of blogs entries is the EXACT reason I decide to move from vB to IPB.

You guys are always forward thinking and it's a great feeling to know that the software vendor I choose is looking out for not only their business and well being but my community as well!

Thanks guys for everything you do to make running a community all that more fun!!

Jamie

Share this comment


Link to comment
Share on other sites



I think it's a bad move, to let personal feelings, get in the way of giving users what they want. Freedom of choice is always best.

Anyway, guys, I'm literally about to wet myself waiting for this. I'm checking the site about 50 times a day! haha

We actually rewrote our entire site with IPB 3.0 and pretty much ready to launch but now we're thinking of holding off a few days, if 3.1 is so close to release.

Can you give us a date for 3.1 beta release?

I refuse to use facebook API on my forum. Facebook is an enormous spyware.

Share this comment


Link to comment
Share on other sites



That's true yes, if people know the truth and can choose with a complete view.
But how many web user are aware about the true goal of facebook ?

May be a good compromise is to use this API and to add a page to inform about the connection between facebook and the CIA.

I think it's a bad move, to let personal feelings, get in the way of giving users what they want. Freedom of choice is always best.


Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...