Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Login with Facebook
notrab
January 2013
Hi guys
I'm not after using a prebuilt package for this as I just want a user to authenticate with Facebook that they can login.
Basically the logic is;
Sign in >
Already registered? > Login
Not already registered? Create new account, associate Facebook User ID with the row and then next time it'll check that person exists.
That part is easy, but hooking into the FB SDK/API to do this check within Fuel, is there a library built I could use for just making requests to FB?
I know there is one for Twitter which I've used before that can be found
here
but I want something similar that does the same with Facebook.
Has anyone done this that is willing to share their knowledge of how to put it together, or linking to a snippet?
Thanks!
WanWizard
January 2013
Accepted Answer
Look for Ninjauth, it should do twitter/facebook/github and a lot of others that use OAuth/OAuth2.
Our depot project is using it too.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,090
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
262
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
WanWizard
January 2013