Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a decent PHP Facebook Connect example anywhere online?

I have a very simple php site that I'm wanting to add facebook connect to. I have searched to and fro to find out how to do this. Even the developer docs at facebook are apparently wrong. I see many seasoned programmers replying that the docs are outdated and some of the methods won't work.. how one should create a new solution for this part, etc...

I know that Facebook changed a lot about the way facebook connect just before 2011. Isn't there someone out there who could provide a working example on how it's done? I will give my left leg to someone that could provide an updated and working tutorial.

Thanks.

like image 630
Jeffro Avatar asked Oct 12 '22 12:10

Jeffro


1 Answers

The PHP Example shows you exactly how to do this. Short, redirect to $facebook->getLoginUrl() and then call $facebook->getUser().

like image 174
Douglas Purdy Avatar answered Nov 02 '22 06:11

Douglas Purdy