Facebook Connect & phpBB

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Anti-Spam Guide
Woody_tng
Registered User
Posts: 5
Joined: Tue Dec 09, 2008 10:05 am

Re: Facebook Connect & phpBB

Post by Woody_tng » Wed Apr 08, 2009 1:04 am

Basically, it allows your site to access profile information from facebook. It also allows you to sign in Via facebook with your facebook ID.

There are probably other features, but those are the ones I am interested in.

p0wn
Registered User
Posts: 230
Joined: Sat Jul 01, 2006 1:55 pm

Re: Facebook Connect & phpBB

Post by p0wn » Wed Apr 08, 2009 8:42 pm

I would absolutely love for a Facebook Connect MOD for phpBB. :mrgreen:

fogjuice
Registered User
Posts: 2
Joined: Wed Apr 15, 2009 5:28 am

Re: Facebook Connect & phpBB

Post by fogjuice » Wed Apr 15, 2009 5:32 am

has any more progress been on a mod that can do this? I'm starting to see it pop up all over vbulletin boards and other areas of the web.

mathedit
Registered User
Posts: 9
Joined: Thu Mar 06, 2008 12:10 pm
Location: France

Re: Facebook Connect & phpBB

Post by mathedit » Tue Apr 21, 2009 8:41 pm

Hi all !
Have a look to this: http://mathedit.free.fr/phpBB3/viewtopic.php?f=23&t=130

Work in progress, but it works.

mathedit
Registered User
Posts: 9
Joined: Thu Mar 06, 2008 12:10 pm
Location: France

Re: Facebook Connect & phpBB

Post by mathedit » Wed Apr 22, 2009 10:02 pm


User avatar
fatprofit
Registered User
Posts: 14
Joined: Tue Mar 24, 2009 2:45 pm

Re: Facebook Connect & phpBB

Post by fatprofit » Thu Apr 23, 2009 8:24 am

This would be great

alexh3791
Registered User
Posts: 6
Joined: Tue Dec 23, 2008 7:54 pm

Re: Facebook Connect & phpBB

Post by alexh3791 » Tue Jun 23, 2009 5:11 am

Has anyone gotten this to successfully work? I'm doing the best I can with a Babelfish translation of the website...

mathedit
Registered User
Posts: 9
Joined: Thu Mar 06, 2008 12:10 pm
Location: France

Re: Facebook Connect & phpBB

Post by mathedit » Tue Jun 23, 2009 9:35 am

Some issues have been posted here : http://forum.developers.facebook.com/vi ... p?id=30935
In fact, if you just want to play with the code, just download the code, copy all files to your forum (no file will replace any of your existing files, it just adds files)

Next, add the field `facebook_id` to your users table:

ALTER TABLE `phpbb_users` ADD `facebook_id` BIGINT( 20 ) ;
ALTER TABLE `phpbb_users` ADD UNIQUE (
`facebook_id`
);
To make your application, you have to go on http://www.facebook.com/developers/createapp.php
The most important things when you create the app are :
  • Choose a correct canvas callback URL (in Canvas settings)
  • Choose iframe render mode (in Canvas settings)
  • Choose "Web" for the type of application (in Advanced settings)

Here are the file descriptions :
* facebook_linking.php
To link the phpbb and the facebook accounts.

* facebook_unlinking.php
To break the link the phpbb and the facebook accounts.

* facebook_login.php
To login via facebook.

* facebook_logout.php
To clean-logout from facebook.

* /includes/auth/auth_facebook.php
To implement facebook authentication in phpBB

* /includes/facebook/config.php
Here are API key and application secret
You have to put your API key and application secret in the /includes/facebook/config.php file, you did it ?

Well, it really need an english version.
The comments in code are in english (except my own reminders).

EDIT : Before everybody began to cry, please notice that the facebook member need to be registered on the forum before linking his account. I am thinking about an automatic registration, but if someone wants to do it, i would appreciate the patch.

EDIT2 : I have just made a mock english translation. Hope it helps.

User avatar
DeViAnThans3
Registered User
Posts: 877
Joined: Sat Oct 08, 2005 10:39 pm
Location: Belgium

Re: Facebook Connect & phpBB

Post by DeViAnThans3 » Mon Jul 27, 2009 4:52 pm

For those who are still interested, I am currently working on this kind of MOD (follow the progress here).

@Mathedit: When I started my MOD, I was unaware of your current work, so I did my own implementations, however, I may consider writing a small conversion script for those who have installed your MOD. This would enable automatic registrations, by example ;)
I only provide support via the appropriate topics! Please no PM or mails! :)
My MODs :: [BETA] Facebook Connect

mathedit
Registered User
Posts: 9
Joined: Thu Mar 06, 2008 12:10 pm
Location: France

Re: Facebook Connect & phpBB

Post by mathedit » Mon Jul 27, 2009 7:24 pm

It looks great, I will look at your implementations if i have some time :)

User avatar
imkingdavid
Former Team Member
Posts: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: Facebook Connect & phpBB

Post by imkingdavid » Tue Jul 28, 2009 3:09 am

Just for the record, there is a Facebook Connect mod in the MOD Development Forum here. It's in Alpha stages, but it has a lot of features so far: automatically import avatar, import friends as your phpBB friends (only if they're already registered on the forum), import other info about you. Pretty handy, i must say. :)
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

jasinlee
Registered User
Posts: 10
Joined: Fri Aug 28, 2009 6:43 pm

Re: Facebook Connect & phpBB

Post by jasinlee » Sat Sep 05, 2009 4:32 am

Rebump, the backend installer got this working on my site couple days ago if anyone wants to see it in action. linkavich.com havent had any problems with it yet, and it imports the profile pic in place of the avatar, also gives them a set of interests :)

alarmallama
Registered User
Posts: 1
Joined: Mon Sep 07, 2009 8:11 pm

Re: Facebook Connect & phpBB

Post by alarmallama » Mon Sep 07, 2009 8:18 pm

I defected to SMF for a few years but they're dragging their heels on FB Connect. I can see this dragging me back into the fold ;)

jasinlee
Registered User
Posts: 10
Joined: Fri Aug 28, 2009 6:43 pm

Re: Facebook Connect & phpBB

Post by jasinlee » Tue Sep 08, 2009 2:57 am

I think it also drives people to register since it seems like everyone already has a facebook they like tying it in. People on the site so far seem to like it.

kickball365
Registered User
Posts: 101
Joined: Thu Jul 13, 2006 2:48 am
Contact:

Re: Facebook Connect & phpBB

Post by kickball365 » Wed Nov 25, 2009 6:01 pm

Anyone had a chance to test this with 3.0.6?

Locked

Return to “[3.0.x] MOD Requests”