Closed racha closed 10 years ago
Good point! Thanks man, I'll have a look on that. Big new version with massive changes coming up...
Plz make simple a way to get them disable or completely remove. For my use, I d'ont want FB or google looking at every page request.
Yes, this should be an option or a plugin that can be disabled. As Facebook is showing off more and more what you do on your wall, this option is getting less and less popular.
I don't think this is a good idea for the advanced or basic packages, because the idea is that they are quite small and simple. It may be an idea to make another version based from the advanced version with this functionality. If you do ever add it, Google sign in would be good too.
I Agree!! All "external" stuff that relies on "foreign code" should be optional and handled within a special version of the script.
Btw: Facebook-, Google+ and Twitter-Logins should be possible! Tumblr/Pinterest/etc. are interesting too, but have not enough market share afaik...
REQUEST: is there anybody out there who is experienced with building a facebook based login ?
This is for CodeIgniter, but maybe it helps http://www.youtube.com/watch?v=MxSIKGWxztA
Facebook recommends the login via JavaScript, but here's the PHP SDK guideline: https://developers.facebook.com/docs/reference/php/ and the PHP SDK code/demo: https://github.com/facebook/facebook-php-sdk
Good tutorial on how to use the PHP Facebook Login: http://www.youtube.com/watch?v=yfTEcaTJjco Another good tutorial: http://www.youtube.com/watch?v=8383iyKYC1g
Panique, the simplest i have ever tried is Opauth, i'm against mixin a great example of pure login/logout with the wheel reinvent of Social Login, with an external project. But maybe just including Opauth as a reference with an example of use could be of help.
Just check it out, it comes already loaded with more than a dozen connectors: https://github.com/opauth/opauth
That looks really cool @MarcosBL.
Let's put this into Milestone 2 of the project!
The Opauth-technique mentioned by @MarcosBL (that can be integrated into all major PHP framework and works with all major social platforms !!) looks extremely nice, we should try this out (in Milestone2)
Good news! I've implemented the Facebook-login in the upcoming Milestone 2 of the 4-full version! It uses the official facebook SDK (for now, maybe we change to OpAuth or similar) and loads everything via composer. The new version also has a new file structure, lot's of improvments, much cleaner code and and and.
The facebook login works perfectly together with "normal" logins, and the both login possibility check each other. In general I think we have a great new feature here. Switching to OpAuth and/or added other login services should be easy.
Native and FB-users share one users
table, as clean and simple as possible.
I'll push this into the develop branch in a few days.
Sounds very nice :) I'm looking forward to it.
Great, thank you, I planned to work on this for my project this week! Good timing. Will the facebook-login will allow us to fetch friend list too?
@Cog-g The focus here is clearly the login process, so there won't be such features (they don't make sense in the context of a login script). BUT: The login process request an array of user data from Facebook, so it would be easily possible for you to built this on you own. ;)
it will be cool for public & social projects by linking all accounts to facebook , but in the other hand or in a professional project you can't force some users to have facebook to login and register so .. to me it depends on how what for you are going to use the script .. but it's cool to have it as a module for this script :D
@mohamedpsx What do you mean by "linking all accounts to facebook" ? The login via facebook is always just an option, and the created account is nearly the same as when providing username, passwrod and email. Facebook-login just means that users register with their facebook-data and can login with one click (when also logged in on facebook). It's much more simple than you might think. ;)
@panique Yes i know it's simple, but what i wanted to say is from a user side, it's better to have access to a platform or a website via Facebook login (when it happens to have a Facebook account) rather then filling the register form, verifying the mail etc ... , it's fast & simple ... so yes it will really make a good option for your script :D , and by linking i do not mean the technical side of things or how it really works but again as user point of view Facebook login is like the button to rule them all especially when you are always connected to Facebook ( no more filling,no more passwords,no more mail verification ...) it just replaced what browsers and many platforms wanted to do before ...
Done in develop (only in 4-full-framework version, for other version it would be too much)
Is it possible to have Facebook login and register implemented ? I was looking at this my self but not much success ... I'm trying to make some kind of social website this script is simple and good, but i would like to connect it with Facebook. Also uploading/grabbing avatars from Facebook would be nice as well if its possible.