Facebook integration

A little external engine to register users in Subsonic

Moderator: moderators

Facebook integration

Postby gurutech » Mon Oct 29, 2012 6:42 pm

Hey everyone! Was looking to be able to integrate Subsonic and/or the registration engine with Facebook, and I'm still working on it. I have the "registration" part complete, but I'm running into a couple issues. It's probably just my lack of programming background, and the solution is obvious to anyone who knows more about programming than I do (which means "everyone"...)

Anyway, here are the issues I am running into:
  • Registration with Facebook pulls a person's First and Last name, with a space between them.
  • I figured out how to replace the space with an underscore, since Subsonic doesn't like names with spaces.
  • Cannot get Facebook to allow a "non-standard" field, to allow users to select a "username" instead of this defaulting to their First/Last name
  • The password that is entered into the MySQL database is not MD5 hashed
  • After registering, users cannot reset their own password; I (as the admin) must do it for them through the Subsonic interface
  • Facebook "login" does not work, but I think this is because I can't figure out how to "read" the data sent to Subsonic once a user clicks the FB Login button.

If anyone has done any Facebook login/registration integration, I could really use some help, at least pointing me in the right direction!! Thanks in advance!
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: Facebook integration

Postby SparkyRih » Tue Oct 30, 2012 8:18 pm

Nice work....

But I guess the whole point of a facebook login would be that you don't need a password, just athenticate with your fb account, and you're in...
VMWare ESXi 5.5 > Ubuntu 16.04 > Subsonic 6.0 (Modded with PHP based registration feature)

Image
User avatar
SparkyRih
 
Posts: 216
Joined: Wed May 11, 2011 1:52 pm
Location: The Netherlands


Return to Subsonic Registration Engine

Who is online

Users browsing this forum: No registered users and 6 guests