As a novice developer at best, I have been tasked with implementing Facebook connect with my Magento 1.4.1.1 website. I have read extensively online and don't find much help with my problem, and I see many people have the same issue so perhaps everyone can learn.
I inserted the SDK script into my header, set up my channel, and my Facebook app. Everything seems to work nicely right now, however I am lost on converting the Facebook login into an actual Magento login. I understand that my code speaks with Facebook and authorizes my website, But I don't understand how to pull user permissions into my Magento database and store the information. Currently you click the "Login with Facebook" button, it pops up asking for the permissions. I don't know how to save this information to my database and allow the user to connect and login successfully.
I think I may need to add some more code somewhere telling Magento how to store this information?
Any advice or links would be greatly appreciated.
You can use free extension Facebook Connect and Like Free from BelVG company.
Related
I am new to the world of web development. I know how to use PHP and so I can do that just fine, but I am a little behind on "modern practices". Last night I went ahead and used the LightOpenID library with CodeIgniter to create a login section on my website. The user clicks log in which takes them to a login page with a Google "log in" button. That button uses the URL generated by LightOpenID to direct the user to the Google "Account selection" page which asks for permissions/etc. It then redirects the user to my website where I write their details to the database for future use - like a "silent registration feature". I store their first name, last name, email and OpenID. I then create a session for the user and the user can now browse my website. Super simple.
The reason I felt like I should explain that is because I wanted to point out how "little" I want to utilize the users account. I just need them to sign in with Google for authentication. Google's OpenID>oauth2 migration page and all of their migration examples (which are a little beyond me) explain Google+ authentication for the purpose of retrieving a users friend circles and other social junk. I don't need anything this complicated, all I need is authentication.
So I was wondering what method I should be using now instead (Google says use oauth 2, but not "early oauth 2".. I have no idea what the difference is. They also say that I should only use Google+ now) and I am wondering if you guys can help me find a simple library that handles authentication for me
Have a look at HybridAuth, it works with Google, Facebook, Twitter, etc...
For the background:
I'm developing a device application which offers connection to Google Drive. My end-users will need to login to their Google Account and authorize my application to access their Google Drive.
I'm using OAuth 2.0 to do this. But my concern is that I don't want users to navigate away from my application using the links on the Google Login page. Basically, I don't want them to use my application to browse the internet.
Question:
Will I violate any terms of service/usage if I hide or change the href the links using GreaseMonkey or TamperMonkey? The changes will only be on the client side and I won't alter any processing at all.
I already checked https://developers.google.com/terms/ but I found no item related to modifying the pages on client side.
Thanks in advance.
What kind of device? If you’re on Android, check out the Google Drive API and GoogleAuthUtil, you probably don’t need to code your own OAuth 2 support. On iOS we’ve been shipping a bunch of library-ware to help you similarly.
But if you’re doing OAuth 2 via a browser, it would be highly inappropriate to screw around with the Google Login page. Also I suspect that the page will try to resist such attempts, but I don’t know the details.
I need to give someone access to a website I made for a friend but only want them to have access to the addon domain folder. Is this possible (with JustHost)?
Figured it out. In case anyone was wondering, in the control panel on JustHost there is an FTP Accounts section where you can give access to certain addon domains such as public_html/domainname.com with its own login.
We are having some trouble with a website we recently developed for a client of ours. He is a DJ. For his page, we added a tab that contains a calendar where he can post his events.
Using the admin login, I can successfully post events. However, the client (the DJ) cannot. When I tried using his login, I could not enter events either. Even stranger, I gave the client the admin login (which I used successfully) and he still couldn't post events! I even walked him through it, and he followed the same instructions, but no luck.
We can't figure this out. Here is the site in case it helps to review it.
Make the DJ's account a "super user" OR if you are using Joomla 2.5 or 3.0 you can change the permissions to give his user type access to the calendar.
Good luck!
I have had a third-party developer install & custom code a magento site for me. What are things I must take care of to ensure I can run the site independently of him. I understand its important to have my email as the admin user, get the encryption key etc.
What else is important here?
Thanks.
-TM
Access to your hosting account is all you need, as it will give you acces to your files and database.