Jump to content






* * * * * 1 votes

IP.Board 3.1.0 Dev Update: Facebook API Updates

Posted by Matt, in Beta, 3.1.0, Uncategorized 23 April 2010 · 4,038 views

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
Posted Image

The Facebook 'Connect' Page using the new APIs.
Posted Image

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

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
Posted Image

You can now like any publicly viewable topic
Posted Image

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.




Good work as always Matt Posted Image
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!
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 ?
nice one matt testly :P.
BTW, got some stupid questions. How can I get my facebook application ID?

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
Very cool to see. Now, the question on everyone's mind?

When will IPB 3.1 be released?

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

Very cool to see. Now, the question on everyone's mind?

Posted Image
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 ;)
all excellent news - thanks for the quick update :)
oh my!!!, i cant wait no longer :(
We're wrapping up 3.1 development early next week. Won't be long now guys. :)
Good effort and well done Matt! Im looking forward to IPB 3.1 :thumbsup:
Great :thumbsup:
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.
Amazing that you implemented this so quickly! Great job!

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! Posted Image
Way to go!
This is great news! I'm thoroughly impressed at the turnaround to incorporate this into IPB.
    • likes this
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?
    • likes this
IPS doesn't mess around, they get sh*t done :D
+3.1
    • likes this