Jump to content
Matt
 Share


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.

 Share

Comments

Recommended Comments



Q: Is their anyway we can post the RSS feeds directly from forums to Facebook fan page? At present I am using some other service to do that.

Just curious if with new API we can do it directly from forums.

Thanks for adding it so fast!

Link to comment
Share on other sites

Pure magic :-)

One question about the like button. I've seen from other sites that the number which shows how many times it was pressed, appears next to it. I've also noticed that if it's a double digit, there is a bug and it doesn't show the second digit. Is the counter visible in ip.board too ?

Link to comment
Share on other sites

[quote name='Milado' date='23 April 2010 - 04:56 PM']
I've seen from other sites that the number which shows how many times it was pressed.


Link to that site :) I would like to see it since i haven't seen such thing o0

Link to comment
Share on other sites

  • Management

[quote name='Tom Whiting' date='23 April 2010 - 01:43 PM']
Very cool to see. Now, the question on everyone's mind?


Seriously though, thanks. This gives a clear development advantage to IPB!


We thought it worth taking the time to do it right with 3.1 rather than having to release a patch in the future.

IP.Board 3.1 is in the final internal testing phase now so we are very close to a public beta :)

Oh, and Tom, writing updated documentation for 3.1 as we speak ;)

Link to comment
Share on other sites

  • Management

We really did feel that it was best to use the new APIs rather than have to invasively update IP.Board whenever the old API was pulled.

It also means you can make better use of the new widgets Facebook are developing.

Link to comment
Share on other sites

[quote name='Matt' date='23 April 2010 - 09:23 PM'] We really did feel that it was best to use the new APIs rather than have to invasively update IP.Board whenever the old API was pulled.

It also means you can make better use of the new widgets Facebook are developing.

They have a good hand and feel when rapid response is required. Quality before speed is right! ahappy.png

Link to comment
Share on other sites

Awesome!

One question: Would it make sense to change the language? Like in the UserCP where it says "Manage Facebook Connect" have it say "Manage Facebook" since it really isn't using "Facebook Connect" anymore?

Link to comment
Share on other sites

[quote name='Luke' date='23 April 2010 - 04:32 PM']Awesome!

One question: Would it make sense to change the language? Like in the UserCP where it says "Manage Facebook Connect" have it say "Manage Facebook" since it really isn't using "Facebook Connect" anymore?
I'd say it probably would, but whado I know?

Link to comment
Share on other sites

Really exciting and encouraging stuff!! Just made me even more confident about my decision to move to IPB. Can't wait for 3.1 :thumbsup:

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...

×
×
  • Create New...