Social Connect Magento extension

In my last article I’ve presented Google Connect Magento extension and your feedback has been nothing but positive. Discussion that followed spawned some new ideas like creating Magento extension that would connect your Magento installation with multiple authentication providers at the same time. Inspired by this idea I wrote another Magento extension named Inchoo Social Connect allowing your customers to login or create an account at your store using their Google, Facebook or Twitter account.
Introduction
After you install and configure Inchoo Social Connect, your Magento installation will have Google, Facebook and Twitter buttons added to your login page as a convenient way for your customers to login or register using their Google or Facebook account. This functionality will also be available at your create an account page, as well as at the first step of your store’s checkout process.
By using one of the Inchoo Social Connect buttons customer will initiate different process depending whether he already connected his user account to one of your store’s accounts or not. For first time customers Social Connect will create a brand new store account using data received from authentication provider, send registration email with store account credentials and then connect that store’s account to authentication provider’s account. If Social Connect discovers that email address given by the authentication provider is already used by existing store customer, customer in question will be logged in and his account will be connected to the authentication provider. Customers who already have their store account connected to an authentication provider’s account will be automatically logged into your store.
To take advantage of Social Connect, existing customers will be able to connect their store accounts with authentication provider of their choice from their account settings page.
There is an exception for first time customers who used Twitter authentication provider to create their store account. Since Twitter doesn’t allow access to user’s email address, these customers will not automatically receive store account credentials. Instead, upon successful registration, affected customers will be instructed to change their email address and store account password, if they wish to use store account credentials to login in the future. Until this action has been taken, like in the case of Google and Facebook, customer will be able to use Twitter button to access his store account.
Please note that this Magento extension has been designed to work with default Magento theme, and if your theme has been heavily modified you might need to tweak Inchoo Social Connect code to use it to it’s full potential. Also note that this extension has been created for Magento Community Edition 1.7.0.2, but I’ll do my best to release promptly updates for future Magento Community Edition versions.
Installation Instructions
First step to having fully functional Social Connect installation is to download latest version of Inchoo Social Connect Magento extension zip package, and merge contents of enclosed directory into your Magento installation root. After adding Social Connect to you Magento installation, you can log into your Magento admin area and go to System -> Configuration -> Customers -> Customers Configuration. If you find tabs named Social Connect Google Options, Social Connect Facebook Options and Social Connect Twitter options there, Inchoo Social Connect has been successfully installed. Before your customers can log into your store using their Google, Facebook or Twitter account, you must provide Inchoo Social Connect with client ID and secret keys for each authentication provider. You can obtain these keys by creating Google Project, Facebook App and Twitter Application using procedure outlined in the following sections.
Creating Google Project
First step to creating Google Project and obtaining Google client ID and secret key is navigating to Google APIs Console. To successfully complete process of creating Google Project you will need following pieces of information:
- Authorized Redirect URIs:
http://www.example.com/socialconnect/google/connect/
- Authorized JavaScript Origins:
http://www.example.com
Don’t forget to replace http://www.example.com
with your store web address. Here’s gallery of screenshots that should securely guide you trough this process:
Creating Facebook App
Creating Facebook App is somewhat similar to creating Google Project. Again, first step is navigating to Facebook Developers page. There you will need following pieces of information:
- Authorized Redirect URIs:
http://www.example.com/socialconnect/facebook/connect/
- Authorized JavaScript Origins:
http://www.example.com
Don’t forget to replace http://www.example.com
with your store web address. Here’s gallery of screenshots to guide you trough this process:
Creating Twitter Application
First step to creating Twitter application is navigating to Twitter Developers page. After clicking at Create a new application button you will be requested to provide following information:
- Callback URL:
http://www.example.com/socialconnect/twitter/connect/
- Website:
http://www.example.com
Don’t forget to replace http://www.example.com
with your store web address. To take advantage of Inchoo Social Connect Twitter related features, you will also need to enable Sign in with Twitter after creating your Twitter Application. Here’s gallery of screenshots to guide you trough this process:
Configuring Social Connect
Client keys and secrets obtained in previous sections are to be placed inside appropriate Social Connect tab input fields accessible at System -> Configuration -> Customers -> Customers Configuration page inside your Magento admin.
Once you click Save Config button Inchoo Social Connect is fully configured and ready to assist your customers with account creation and login process.
Download & Changelog
v0.2.6 (09.12.2013.)
- Translation related fix by Andrei Sena.
- Danish translation CSV by Casper Munk.
- Slovenian translation CSV by Andrej Sluga
v0.2.5 (14.11.2013.)
- Add modman file.
v0.2.4 (30.10.2013.)
- Fix bug where created user was not attached to any web site and confirmation email didn’t have store assigned.
v0.2.3 (15.08.2013.)
- Improve Login, Create an Account and Checkout screens when not all authentication providers are enabled
v0.2.2 (10.08.2013.)
- Fix throwing FacebookOAuthException inside Twitter client
v0.2.1 (02.08.2013.)
- Fix issue where customer is sometimes redirected to wrong location after login
v0.2.0 (29.07.2013.)
- Custom Magento client for Twitter v1.1 API with Twitter OAuth support
- Google, Facebook and Twitter buttons at create an account page
- Brand new design for Google, Facebook and Twitter buttons
- Twitter Connect page at customer account settings
- en_US CSV translation file included
v0.1.0 (04.07.2013.)
- Initial version
- Custom Magento client for Google+ API with Google OAuth2 support
- Custom Magento client for Facebook Graph API with Facebook OAuth2 support
- Google and Facebook buttons at login page
- Google and Facebook buttons at checkout page
- Google Connect and Facebook Connect page at customer account settings
Social Connect Screenshot Gallery
Here’s complete gallery containing screenshots relevant to Inchoo Social Connect functionality:
Where to go next?
Developers amongst you will most probably want to review the code, in this case I recommend visiting Inchoo Social Connect GitHub repository page. On the other hand if you have questions or encounter difficulties while using Inchoo Social Connect extension for Magento, feel free to contact us. We would be happy to help with our Magento Development skills or by checking out your site and creating a detailed, customized report based on our Magento Technical Audit.
399 comments
Hi Marko,
I’m using the Social Connect extension on Magento multisite, when I click on the social google button doesn’t log me and redirects me to the home page.
And when I click on Facebook button that message appears: Error accessing the app. We’re sorry, but the app you’re trying to use doesn’t exist or is disabled.
My credentials are ok in the admin dashboard.
I’m using Magento 1.9 and Social Connect 0.2.6 version. The error could be because of the version?
Can you help me?
Thank you
Hi Lucia,
thank you for your comment. Unfortunately, the extension itself hasn’t been updated for a long, long time. We’ve completely switched to Magento 2 so none of our developers is in charge of continuously updating the extensions. We would suggest against using them at this point.
We are sorry that you’re having troubles though.
Using Magento 1.9.2.4 on php 7.x
Wont install, get this message:
CONNECT ERROR: Package file is invalid
Invalid package name, allowed: [a-zA-Z0-9_-] chars
Invalid version, should be like: x.x.x
Invalid stability
Invalid date, should be YYYY-DD-MM
Invalid channel URL
Empty authors section
Empty package contents section
How to display fb and google plus socail login in popup.
this plugin is not working anymore, getting error in facebook login and google login as well
Have resolve this issue?
I am facing the same issue.
Hi Marko,
getting 404-page issue after a redirect from google can you suggest anything
https://www.fabrento.com/delhi/socialconnect/google/connect/?state=4dbeb8d44c4ffd80bdcc63e2a18be4a7&code=4/ZgDEOvE0i6yHcm1WDuUKsPgEymSnW9XS5MFi5chgxUYPu944F6csSYmageGggknyZc3Znx_NfE8xfB9P6Lje1TE&scope=https://www.googleapis.com/auth/userinfo.profile%20https://www.googleapis.com/auth/userinfo.email
Thanks in advance
Hi, were you able to find the solution? I am also getting this 403 Forbidden error on same step.
hi, the plugin is working fine for me in google login, but the facebook login is giving me an error as it redirect to graph.facebook.com/aurtourize/*****, how can i change it to facebook.com as in tutorial it redirect to facebook.com/dialog/***,
Hello there,
‘customer_register_success’ event is not working from this module.can you please suggest edit file?
hi,
I have installed the plugin and the google login is working fine but the customer registration form is not working properly.when a customer register himself it is submitting the page and again the same page is loaded with creating an account.how to resolve it?
Hi,
I want to implement it in my popup box. does it will work
For Example – FB https://graph.facebook.com/oauth/authorize?client_id=xxxxx&redirect_uri=http%3A%2F%2Fxxxxxxx.com%2Fsocialconnect%2Ffacebook%2Fconnect%2F&state=995a3fb9086599bc469be725d314a2fe&scope=email%2Cuser_birthday
hi im using your plugin but i encountered a “Error: redirect_uri_mismatch” can you help with this?
hii inchoo team,
I added inchoo social login extension in my Magento project. below is URL of my project.
https://www.tecknormous.co.uk/customer/account/login/
when I was login through facebook. the error has come. so please give me guidance regarding this error.
Hi everyone!
We have an issue on Magento 1.9.3.2. After someone successfully created an account, while accessing the Facebook Connect from the customer admin interface (http://www.*developmentdomain*.com/socialconnect/account/facebook/ we get an error:
There has been an error processing your request
No token set, nothing to extend.
Trace:
#0 /home/***developmentdomain***.com/public_html/app/code/community/Inchoo/SocialConnect/Model/Facebook/Oauth2/Client.php(92): Inchoo_SocialConnect_Model_Facebook_Oauth2_Client->extendAccessToken()
#1 /home/***developmentdomain***.com/public_html/app/code/community/Inchoo/SocialConnect/Model/Facebook/Info.php(60): Inchoo_SocialConnect_Model_Facebook_Oauth2_Client->setAccessToken(NULL)
#2 /home/***developmentdomain***.com/public_html/app/code/community/Inchoo/SocialConnect/Model/Facebook/Info/User.php(49): Inchoo_SocialConnect_Model_Facebook_Info->setAccessToken(NULL)
#3 /home/***developmentdomain***.com/public_html/app/code/community/Inchoo/SocialConnect/controllers/AccountController.php(52): Inchoo_SocialConnect_Model_Facebook_Info_User->load()
#4 /home/***developmentdomain***.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Inchoo_SocialConnect_AccountController->facebookAction()
#5 /home/***developmentdomain***.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘facebook’)
#6 /home/***developmentdomain***.com/public_html/app/code/community/ArtsOnIT/OfflineMaintenance/Controller/Router/Standard.php(46): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 /home/***developmentdomain***.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): ArtsOnIT_OfflineMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /home/***developmentdomain***.com/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#9 /home/***developmentdomain***.com/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#10 /home/***developmentdomain***.com/public_html/index.php(85): Mage::run(”, ‘store’)
#11 {main}
Unfortunately I am not a developer, and got stuck here. Any hints or tips?
Thanks for your magento extension information it’s very helpful blog.
Can we get user profile images in the extension? anybody have any idea?
I wasn’t able to login after putting all the API’s
but after debugging code i found that.
in google Controller
$state = $this->getRequest()->getParam(‘state’);
and
Mage::getSingleton(‘core/session’)->getGoogleCsrf();
are different so when it comes to below statement it just return from there without rendering code further from there.
protected function _connectCallback() {
$state = $this->getRequest()->getParam(‘state’);
if(!$state || $state != Mage::getSingleton(‘core/session’)->getGoogleCsrf()) {
return;
}
}
someday ago everything was working perfect but now it’s showing those different values for that..
i don’t want to remove that Or check from there, so is there any way to solve this problem or resetting the google session object
Hi Karan,
I have faced same problem before few day ago, I have researched for this and finally i have got solution, that is due to login page ajax request call many times after login page load successfully like “http://example.com/customer/account/login/null”, you can checked on console, on may case it’s due to lazyload that many time call the login page request by ajax after page load successfully, if you have resolved this error your problem can easily solve.
Thanks,
Kinjal
I have got the same issue, how did you solve it? I am facing it both in google and facebook.
Hi thanks for this plugin, But i m getting error while login through this plugin, please have a look at the stack trace:
: Uncaught TypeError: Argument 1 passed to Mage_Sales_Model_Quote::setCustomer() must be an instance of Mage_Customer_Model_Customer, null given, called in /var/www/html/plantlane/app/code/core/Mage/Checkout/Model/Session.php on line 166 and defined in /var/www/html/plantlane/app/code/core/Mage/Sales/Model/Quote.php:453
Stack trace:
#0 /var/www/html/app/code/core/Mage/Checkout/Model/Session.php(166): Mage_Sales_Model_Quote->setCustomer(NULL)
#1 /var/www/html/app/code/core/Mage/Checkout/Model/Cart.php(119): Mage_Checkout_Model_Session->getQuote()
#2 /var/www/html/app/code/core/Mage/Checkout/Model/Cart.php(546): Mage_Checkout_Model_Cart->getQuote()
#3 /var/www/html/app/code/core/Mage/Checkout/Model/Cart.php(521): Mage_Checkout_Model_Cart->getItemsQty()
#4 /var/www/html/app/code/core/Mage/Checkout/Block/Cart/Minicart.php(47): Mage_Checkout_Model_Cart->getSummaryQty()
#5 /var/www/html/app/design/frontend/accessshop/default/template/checkout/cart/topcart.ph in /var/www/html/plantlane/app/code/core/Mage/Sales/Model/Quote.php on Line 453
This plugin is working, but to login FB social login it’ss asking for birthday??? I suppose it’s sensitive user data and if I would choose on FB (because it requires app review) : Determines whether people are under 18, over 18 or over 21 ; then I must provide to facebook (review staff) the link where we collect this data; But on our store/user profile we don’t collect birthday date and I believe it’s needed to remove it from this extension and to leave only email address collection from facebook.
Hi Marko,
I am using your extension “Social Login” . It works great. But when I trying to customize it to render the login button in modal window and also there will be login default magento page with social login , if customer comes directly to login page after getting welcome email or forgot password.
When I did the customization, I am not able to login. After click the button it redirects to login default magento page. It seems when I call button blocks twice, one in modal window and other in login default magento page, the extension breaks. When I disable any one of the button blocks, it works as it was.
Please help me to resolve this issue.
Thanks,
VMT
Array
(
[type] => 2
[message] => vsprintf(): Too few arguments
[file] => /home/thrilcpi/public_html/app/code/core/Mage/Core/Model/Translate.php
[line] => 416
)
getting this error after installing this extension…wrked fine innitially but now after every new registration…it shows above error….
Hi..I want place these all button below the create account button where i want to change.
Even 3 years old, this extention still helped me greatly to implement my own Social-Connect module.
I started off using Inchoo’s but made so many adjustments in the end (most of them for “style” issues rather than functionality issues), that I decided to write my own from scratch. For everyone who wants to use Inchoo’s extention today, two things I remember that could help making it work more smoothly:
Facebook API
Like Santiago Glez already mentioned, https://graph.facebook.com/(v2.8/)me now expects field parameters. For that reason I changeed the $client->api call in FacebookController.php (within _connectCallback()) to:
(I was saving the $fallbackEmail to check at the function’s end if an address could be retrieved or whether the old standard notification about being unable to the address was necessary.)
I don’t remember encountering any issues with the Google API.
hi
I’m install this extension and it is working but i want use in mobile application through API in which table i can send facebook id an secret key and how to send
Hi there
I am using this plugin and it will working but i create api for mobile application in which table i can insert facebook id and secret key.
Very nice Extension. On Chrome this Extension works fine but doesn’t seem to work on Safari. It shows social authentication page i.e. Facebook or Google or any other. But after giving authorization , it redirects to customer login page (with no login). Isn’t it compatible to Safari Browser (Windows / Mac)? Or what can be the solution for this? I need it badly.
Please can somebody help me?
after the facebook login authorization i still have this url “http://taboutique.ci/customer/account/login/#_=_”
and its not login in, its bringing me back to the login page
Please what can do to solve this?
Hello Bamise,
For a quick fix you may navigate to app/code/community/Inchoo/SocialConnect/controllers/FacebookController.php
Comment the following lines in _connectCallback() method
if(!$state || $state != Mage::getSingleton(‘core/session’)->getFacebookCsrf()) {
return;
}
You may also try the same for Google and Twitter login.
Can we call below code twice in a single page?
$this->getLayout()->createBlock(‘inchoo_socialconnect/google_button’)->setTemplate(“inchoo/socialconnect/google/button.phtml”)->toHtml();
Facebook login works only for the account created few years back.This is not working for new accounts.
Hi,
I have installed this extension but after facebook login i get this error “Sorry, could not retrieve your Facebook first name. Please try again.” please help.
You are getting the error because your app is of a later version (> ver 2.3)
You need to go to app/code/community/Inchoo/SocialConnect/controllers/FacebookController.php.
There go to line 122, and change $userInfo = $client->api(‘/me’); to $userInfo = $client->api(‘/me?fields=id,name,first_name,email,last_name’);
Hello,
Thank you for such a good extension. I have successfully implemented this and working perfectly. But I have question that after logging with Facebook, I am redirecting to My account page with URL http://my_site.com/customer/account/#_=_
Why is this #_=_ gets append to URL? How can I remove this. Please respond me as early as possible.
Thanks in advance,
Dolly Patel.
I am also having the same issue. Did you get a solution ?
Please its redirecting me back to my website login and i get this url “http://mywebsite.com/customer/account/login/#_=_”
I implement this extension on fresh magento 1.9.1 on my local, and got an error after redirect from facebook at this URL: https://inchoo.net/magentosocial/index.php/socialconnect/facebook/connect/?code=AQCFT0PZ06mngj1OmLCR-SU5a13bDWV2Db5iNghnLsBWMhN_5B4BnphGIY9vtDALD90BqsmScYsqiSvhEXLyzNgGCnKfbrp8Z0597EHHm5UqtRYvdAP_cr0s76JocKv9Nem_SC57EeZ665MULaCVNjZ01AksBoqjHTnU792sEDnvzS-ruflrEt5stIQyp4knWe2d_TkfdhV_GC3XjT8yrwhifxJ2cdneKtxM5kkCeKPLcbyejWoLx4DsbmVIolFyehXg1URXO9cVG_QvDIHEUnXWpRHBv9hGxZbtdsynT1ZcT0saBQdhU5PhEp-_d8z5HVk&state=8a9738a11846eceb05a8253bdfbd6958#_=_.
Error is:
Fatal error: Call to a member function getBackend() on a non-object in C:\xampp\htdocs\magentosocial\app\code\core\Mage\Eav\Model\Entity\Abstract.php on line 816
Please suggest me why this error?
how could i add that as a block in ajax login ?
thanks.
HI, Your extension works fine when I try it on localhost , but when I tried on live for facebook, its not working as expected, after clicking on fb login button all the data are successfully fetched from facebook, and also get stored at my location, but then to live site redirects me to login page and shows success message. It’s like buyer got registered then also not able to log in.Please help me out.
About to install for this my client, I’ll post how it goes!
I want to use the FACEBOOK login button in Header?
Hi,
we are receiving this notification from Facebook:
“***** has been making recent API calls to Graph API v2.0, which will reach the end of the 2-year deprecation window on Monday, August 8, 2016. Please migrate all calls to v2.1 or higher in order to avoid potential broken experiences. We recommend using our new Graph API Upgrade Tool to see which of your calls are affected by this change as well as any replacement calls in newer versions. You can also use our changelog to see the full list of changes.”
When I look at the Inchoo_SocialConnect_Model_Facebook_Oauth2_Client – class I noticed that Oauth Urls dont have API version defined at url. And according to Facebook (https://developers.facebook.com/docs/apps/versions#howlong) if we do not define version at request url :
“We refer to this as an unversioned call. An unversioned call will default to the oldest available version of the API”
Is it also possible to put Facebook login into the top links (header), aside from its layout on the customer login page? Thanks in advance
It shows this error for twitter.How can I solve this??
I am using ce1.9.0.1
a:5:{i:0;s:21:”Error in HTTP request”;i:1;s:1220:”#0 D:\wamp\www\magento\lib\Zend\Oauth\Http\RequestToken.php(51): Zend_Oauth_Http->startRequestCycle(Array)
#1 D:\wamp\www\magento\lib\Zend\Oauth\Consumer.php(115): Zend_Oauth_Http_RequestToken->execute()
#2 D:\wamp\www\magento\app\code\community\Inchoo\SocialConnect\Model\Twitter\Client.php(119): Zend_Oauth_Consumer->getRequestToken()
#3 D:\wamp\www\magento\app\code\community\Inchoo\SocialConnect\controllers\TwitterController.php(14): Inchoo_SocialConnect_Model_Twitter_Client->fetchRequestToken()
#4 D:\wamp\www\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(418): Inchoo_SocialConnect_TwitterController->requestAction()
#5 D:\wamp\www\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(‘request’)
#6 D:\wamp\www\magento\app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 D:\wamp\www\magento\app\code\core\Mage\Core\Model\App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#8 D:\wamp\www\magento\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#9 D:\wamp\www\magento\index.php(87): Mage::run(”, ‘store’)
#10 {main}”;s:3:”url”;s:49:”/magento/index.php/socialconnect/twitter/request/”;s:11:”script_name”;s:18:”/magento/index.php”;s:4:”skin”;s:7:”default”;}
Can we have popup functionality in this ?
{“error”:{“message”:”Invalid redirect_uri: Given URL is not permitted by the Application configuration”,”type”:”OAuthException”,”code”:191,”fbtrace_id”:”AJ0DnABEH5d”}}
do we still need to go through the fb app quick start if we installed this extension?
{“error”:{“message”:”Invalid redirect_uri: Given URL is not allowed by the Application configuration”,”type”:”OAuthException”,”code”:191,”fbtrace_id”:”ASKjIZT2CYg”}}
Hello Ivan, you need to specify your url in the developers admin on facebook and add this http://www.example.com/socialconnect/facebook/connect/ to the uri replacing example with your store name. Also enable your app for it to be used by the public
Hi, in custumer account how to put url secure ssl ( socialconnect/account/google/ and socialconnect/account/facebook/ ) how file i need edit?
I’m on Magento 1.9.2.4 and have a problem with Google.
Error: invalid_client
The OAuth client was not found.
I’ve got the domain verified, Google Plus API Enabled, the URI’s look good, keys are in place. This is version 0.3.7 of Social Connect.
Facebook is not problem, but no joy on Google.
Does anyone know if something has changed recently?
Thanks.
Total and complete error on my part. Just pasted the key in improperly. Had a space at the beginning of the key and it put “+” into the code. (thought it was weird because it worked a couple of months ago on 1.9.2.2)
Facebook and Google both work on CE 1.9.2.4 absolutely.
Love this extension!
I am using in Magento 1.9.2.0 version .I placed this code also <input type="hidden" name="form_key" value="” />.But i am getting same error like
I am getting error: Sorry, could not retrieve your Facebook first name. Please try again .How resolve this issue.
Since Facebook Api version 2.4, fields must be explicity requested in order to have a better performance. To fix this in Magento, just go to FacebookController.php and in line 122, change from:
to
I am getting error: Sorry, could not retrieve your Facebook first name. Please try again in Magento 1.9.2.0
If the Api version of your created app is higher than 2.3, you will have that problem. Since Facebook Api version 2.4, fields must be explicity requested in order to have a better performance. To fix this in Magento, just go to FacebookController.php and in line 122, change from:
to
hi there,
I have installed this extension and the facebook login is working superb. But google login have some problem. It is saying The redirect URI in the request: http://shop.domain.in/socialconnect/google/connect/ did not match a registered redirect URI. Why is it so?
I am facing the same issue while running application in local. Did you get a solution?
Hi,
I recently upgraded to 0.3.7 and found that Facebook social login is problematic.
On first try it comes back to the login page with a line at the top saying:
Your Facebook account is now connected to your new user account at our store. Now you can login using our Facebook Login button.
On second try I am redirected to the account dashboard but there is no contact details, where as I can see that details have been populated in the database. If I click on any of the links I can see that I am not actually logged in because there is no logout link.
On third try, I am redirected to a error page having the contents below:
Fatal error: Call to a member function getId() on a non-object in /var/www/html/app/code/core/Mage/Sales/Model/Quote.php on line 456
Facebook Connect is working great when already logged in either manually or with twitter or google login. Kindly help.
You can check it out at materialspace.in
I am using “Youama Ajax Login and Register” extension/module.
How to display facebook button on youama login/reg or any other page??
plz guide me..! ! !
I was able to get the Twitter app working with no problem but I keep getting Error: redirect_uri_mismatch for Google’s app and
for Facebook’s. I used the same information for all 3 apps… anyone have any ideas what could be wrong?
r u working on localhost?
I have “Sorry, could not retrieve your Facebook first name. Please try again.”
Hello,
Great extension, I am using the latest version 0.3.7. Just one problem – once I log in successfully via Facebook and go to My Account in my Magento store, there’s a “Facebook Connect” button linking to http://……/socialconnect/account/facebook/. Clicking it leads to an error, and the system.log shows the following:
2016-01-20T06:04:43+00:00 ERR (3): Notice: unserialize(): Error at offset 0 of 263 bytes in /app/code/community/Inchoo/SocialConnect/Model/Facebook/Info/User.php on line 69
What am I doing wrong? Please advise.
Thank you for your expertise.
Best regards,
Emiliyan
Twitter is working well but Facebook and Google+ are not. The url on the button is not the redirect_uri I have specified. I don’t know why it is picking its own redirect_uri.
Hi ,
Its a great plugin you have developed. I would like to know if the profile images taken from facebook can be stored in the system?
Hi,
Thanks for great extension. Actually my facbook, google+, and twitter button working fine. Redirect to all application (fb, gplus, twitter) and after login redirect to my website but when i try to log in using facebook credential, it redirect to my website but customer not logged into my website. Google+ and twitter working fine.
Don’t understand, why this is happen ?
Thanks
Hi, Did you find any solution? Same thing happening to my site. Please let me know the solution as soon as possible. Thanks in advance
Hi,
It’s showing error after account permission “Unspecified OAuth error occurred” in google login. How can I solve this error.
It’s showing error after account permission “Unspecified OAuth error occurred” in google login. How can I solve this error. any body help
After putting I’m having
Fatal error: Class ‘Inchoo_SocialConnect_Model_Resource_Setup’ not found in C:\xampp\htdocs\ap\includes\src\Mage_Core_Model_Resource_Setup.php on line 234
Dear Sir,
I got the error while using the login via social connect. When I tried to login with google plus it gives me error as
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.inchoo_socialconnect_gid' in 'where clause'
Please let me know how can I resolve it as early as possible.
Waiting for your reply.
Thanking You
Ashik
Please update your app/design/frontend/base/default/template/inchoo/socialconnect/customer/form/register.phtml file
add <input type="hidden" name="form_key" value="getFormKey() ?>” /> without this the customer is not able to create an account
Thanks you so so so much for this help ! Very use full comment by you guy…
Hi!
When I try to do the Facebook login it give me this message: “Customer email is required”, what should I do? Can someone help me with this?
Regards,
Install plugin but get error like
Could not retrieve a valid Token response from Token URL:
This client application’s callback url has been locked
/oauth/request_token?oauth_consumer_key=vnYZV77iMYBeEel0YoGpLZ4JC&oauth_nonce=a892a7c34f9fb7cc4822ae3317f47c8a&oauth_timestamp=1448611792&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_callback=http%3A%2F%2F192.168.1.10%2Fshoper%2Findex.php%2Fsocialconnect%2Ftwitter%2Fconnect%2F&oauth_signature=Agxv8tn2UcbwzmxYcO39w8ZVCdI%3D
Your guys are too amazing. Social connect is very useful so customer don’t have to remember so many password and hope you could have Magento2 Social connect soon. Thanks again!
Hi, how are you? very good extension. It worked out of the box! Now i do want to change email template used as it seems to use defaults. Can you help me out and tell me where i can change it?
How to call google login button in popup in magento site?
After to delete my Test user, the Facebook Connect page worked fine. I think it was a database problem (versions conflict?).. i dont’t know.
Thank you.
Hello everyone,
version 0.3.7 bringing many bug fixes including fix for Facebook login issue is out:
https://github.com/Marko-M/Inchoo_SocialConnect/archive/0.3.7.zip
This is purely community contributed release, so thanks guys, keep the pull requests rolling 😉
Thanks for the update.
I think everything is working fine, excep for the Menu Clientes -> Facebook Connect page… i got this error:
There has been an error processing your request
No token set, nothing to extend.
I didn’t get this error on the older version.
Can you help?
Hi Marko, there seems to be some issues with 0.3.7 – I am now reverting my upgrade.
The major one seems to be a 500 when logging in via Google.
Actually, please ignore my error report about 0.3.7 – after deleting my customer account, it seems fine.
Hi,
When I am trying to Login with facebook I am getting error: Sorry, could not retrieve your Facebook first name. Please try again. But google and twitter is working fine.
How to resolve this.
Thanks
Find a bug of 2.0.6
./frontend/base/default/template/inchoo/socialconnect/customer/form/register.phtml
missing form_key of 1.9.2 this will cause normal registration failure.
fix:
add form_key back.
Worked like a charm!
About Facebook login problem. I just did the fix what Petru said and works fine!
Please, always update this extension! 🙂
Hi
The extension looks really nice. Does the version 0.2.6 work with Magento 1.9.1.1?
I’m using the 0.3.6 version. When I’m login with facebook it gives a error
Fatal error: Call to a member function getId() on a non-object in app\code\core\Mage\Sales\Model\Quote.php on line 456.
If a user email is not confirmed then login with facebook gives error. Any one has idea why and how to resolve this?
Is this extension is working with code setup on local machine with some virtual host like magento.abc.local.
Hi Marko,
In my website google plus account is working fine. But when clicking FB login its returning below error. why?
Sorry, could not retrieve your Facebook first name. Please try again. Please advise me.
open Inchoo_SocialConnect_Model_Facebook_Client
protected $scope = array(‘public_profile’);
this extension will works with above scope
Hi,
how can I get country from Faceboook and Google on user registration social connect extension? I wanna modify this module and take more informations.
Error occurring:
{
“error”: {
“message”: “Missing redirect_uri parameter.”,
“type”: “OAuthException”,
“code”: 191,
“fbtrace_id”: “HRSLP1c3Dgp”
}
}
How about event triggering? I have in standard magento event (standard magento observer for magento event) after user create wich makse some action. Will my observer work on this social registration?
Hi Mark,
no standard Magento events are triggered with current code base, but this is a great idea for future enhancement. I just created related issue ticket, this will probably be added in the next version. You can track progress here:
https://github.com/Marko-M/Inchoo_SocialConnect/issues/45
Thanks for the idea 😉
Marko
Thanks Marko,
that is what I need to my project now. May can you suggest me where will be good place in your module to add my after register code? I need to have access to user social account data name, lastname etc for FB and G+
What about register WHEN customer is on CHECKOUT ??????? it will save path on redirect?
In this version https://github.com/dfry22/Inchoo_SocialConnect/commit/b4f06807081a09502395f30bcb12245403e5db10
Facebook is working fine, but same error in google
Google error: Error: redirect_uri_mismatch
The redirect URI in the request: http:// -website- / -magento- / -store- /socialconnect/google/connect/ did not match a registered redirect URI.
hey version 0.3.6 is not working.
Facebook error: Sorry, could not retrieve your Facebook first name. Please try again.
Google error: Error: redirect_uri_mismatch
The redirect URI in the request: http:// [website] / [magento] / [store] /socialconnect/google/connect/ did not match a registered redirect URI.
When you create the project in https://console.developers.google.com – go to “APIs & auth” menu -> APIs -> Google+ API -> enable (this is necessary because this API may not be enabled by default) and make sure that this API is enabled
For Facebook error: “Sorry, could not retrieve your Facebook first name. Please try again.”
In app\code\community\Inchoo\SocialConnect\controllers\FacebookController.php, function _connectCallback()
replace line
$userInfo = $client->api(‘/me’);
with
$userInfo = $client->api(‘/me?fields=id,name,email,first_name,last_name’);
Petrus comment works for me thanks
Hi everyone,
thanks to many contributions from community, Inchoo SocialConnect version 0.3.6 fixing Facebook login as well as many other issues has been released:
https://github.com/Marko-M/Inchoo_SocialConnect/archive/0.3.6.zip
Besides fixing bugs this version also adds Composer install support and couple of new translations. Any issues, you know what to do, if not just enjoy the new version 😉
Cheers!
Hai Pranjali, is not working in new version. I’m using 0.3.5 version from Marko Inchoo SocialConnect Github: https://github.com/Marko-M/Inchoo_SocialConnect.
Then, this is what I did:
edit your file : app\code\community\Inchoo\SocialConnect\Model\Facebook\Info.php
line 97
change
It Works . I have downloaded version – v0.1.0 (04.07.2013.) and facing error – “Sorry, could not retrieve your Facebook first name. Please try again.”
So Go to app/code/community/Inchoo/SocialConnect/controllers/FacebookController.php and in function –
_connectCallback() -> on line no. 121 replace $userInfo = $client->api(‘/me’); with
$userInfo = $client->api(‘/me’, ‘GET’, array(‘fields’ => “id,name,first_name,last_name,link,birthday,gender,email”));
And it wikk work for you.
Thanks.
This is the best social login extension I have ever seen. Well done Marko.
I installed the extension and after login or register via fb i get error “Sorry, could not retrieve your Facebook first name. Please try again.”? Can you help me?
i tried that way, it’s fine with me.
https://github.com/dfry22/Inchoo_SocialConnect/commit/b4f06807081a09502395f30bcb12245403e5db10
extension ” Sorry, could not retrieve your Facebook first name. Please try again. ”
please ..
Hi
thanks for this extension,
I used this extension in my magento site and twitter is working but facebook and google are not working
in facebook after successful login my url is http://mysite.com/index.php/onepage/index/index/#_=_
and in google it gives Error: redirect_uri_mismatch
I configured all setings in facebook abd google.
I am using custom login page in magento 1.9
I’m also having same issue. Can anyone sort this out ?
Thanks for the extension,
Perfectly worked for me.
I want to know how to post a status on users wall while logging via facebook?
Any idea any help it will be great appreciated.
Hey hi..! great extension and that too free.. i am very glad that people like you do this..!
anyways i installed inchoo latest plugin.
where i got two main problems that
1) facebook login is says Sorry, could not retrieve your Facebook first name. Please try again. ” i tried all the solutions like facebook controller file and info.php file but all the tweaks give me errors so i kept it as it is. please suggest me the solution.
2) google login connects to google but when i login it remains on login page but when i refresh or press login button user gets logged in.. i dont know where i am stucked..
please help cause i am in need because working on NGO’s site and the need it as soon as possible.
If you get “Sorry could not retrieve Firstname” error, this is because of the latest update of Facebook API version to 2.4. Facebook by default does not return the Firstname. You have to explicitly call for it.
Use an app with older API version if you have to get rid of this. If you don’t have, get a developer to fix this or wait for an update from Inchoo.
Or contact me, I can do it.
Hashid Could you help me out with that i wasnt sure which code to change.
Thanks, Its working.
But in facebook it giving below error
” Sorry, could not retrieve your Facebook first name. Please try again. ”
why?
open your file:
app/code/community/Inchoo/SocialConnect/Model/Facebook/Info.php
then modify your load function with this :
protected function _load()
{
$this->params[‘fields’] = ‘first_name,last_name,email’; /* need to add in your function */
try{
$response = $this->client->api(
‘/me’,
}
}
This solution was given by great author, Marko Martinovic
i am just suggesting you follow his code.
Thanks for the extension. Login with facebook is working fine but login with gmail is not working . I am getting Error: redirect_uri_mismatch.I am using https to my website how to fix this issue
Thanks for the extension. Login with facebook is working fine but login with gmail is not working . I am getting Error: redirect_uri_mismatch.I am using https to my website how to fix this issue
Twiiter application getting http_request error
Zend/Oauth/Http/RequestToken.php(51): Zend_Oauth_Http->startRequestCycle(Array)
Thanks for the nice extension.
Hello,
I am using this extention .
Can any one please help me to resolve this error .
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘e.inchoo_socialconnect_fid’ in ‘where clause’
I am getting this error after connect to facebook signin .
Please help me i am new in Magento and can’t able to find this error .
Thanks
Harish
got the latest version from Git Hub.
Everything is fine. Just the problem with css might be. The buttons not appearing in the same section where it should be. Its coming under the a new line. So not looking good in mobile devices.
Extension is good!!
Fb login issue solved using “Mohd Alam ” solutions.
just update this line in facebookcontroller.php line no 122
$userInfo = $client->api(‘/me?fields=id,name,email,first_name,last_name’);
But still i am facing issue with twitter token ??
Consumer Key (API Key) & Consumer Secret (API Secret ) i have gievn but still its gives token not match ??
Please help me !
Thanks ,
Sanchi
Thanks sanchi,
I have resolved my facebook login issued with above solutions.
hello
when i have installed this extension then working fine but suddenly when i have put these three icons on my login popup box this it’s giving the error..
Fatal error: Call to protected method Mage_Core_Controller_Varien_Action::_forward() from context ‘Inchoo_SocialConnect_Helper_Data’ in /home/netscap2/public_html/demo/bbmp/app/code/community/Inchoo/SocialConnect/Helper/Data.php on line 45
How about multi website magento instance with multi domain??? Is it working?
Multi website did not worked for me. There are no way to define multi URL for each site. If admin page works on example.com then only example.com/customer/account/login/ site will work.
The same error – Sorry, could not retrieve your Facebook first name. Please try again.
What is the reason for that?
Hi everyone,
as you probably noticed, Facebook integration is broken in current version due to changes in Facebook API. Official update will be released, but until this happens you can take a look at following pull request and modify your Social Connect copy accordingly:
https://github.com/dfry22/Inchoo_SocialConnect/commit/b4f06807081a09502395f30bcb12245403e5db10
Regards,
Marko
Google login is working perfectly thank you! but on fb login i am getting this error
“Sorry, could not retrieve your Facebook first name. Please try again” and also i am not able locate the facebookcontrollerr.php file which @mohd. alam suggested.
Hi,
First, thanks for this great extension!
Second, why it’s possible to connect multiple ways? I expect that if the user connects with facebook he can’t to connect with google too…
Third, when user logout, so it’s log him out from the social network only! but he still login in magento. it’s should be like that?
Hello marko,
Does this module support magento enterprise edition 1.12
Hi,Friends, Facebook Login ,Signup issue can be resolved by
just update this line in facebookcontroller.php line no 122
$userInfo = $client->api(‘/me?fields=id,name,email,first_name,last_name’);
you will get all the results of facebook profile
Great solution! Thanks! It`s working perfect!
I have the same issue as Vishesh, on a new installation. Any help, please?
extension works like a charm, just 1 small thing its started showing an error now …
“Sorry, could not retrieve your Facebook first name. Please try again.”
could you please help us out with this ?
Good day people,
I urgently need help from you guys.
My client request to use this plugin and i manage to get it work.
However, they expect me to change the plugin function after login with facebook.
How do i redirect url after login to homepage instead of account page?
I manage to do it for normal login, but not for facebook login.
I tried to study the codes, but dont really understand the function.
Appreciate any help,
I have install the extension Inchoo_SocialConnect but not showing on the front end. I have check the Inchoo_SocialConnect_Block_Login Block this file is executing the not loading the view file, So please suggest me what problem there..
hi,
i am tarun
i have your extenstion but google loging not working in http://www.briomart.com/
please help me
regards
tarun
Great Post !!!
Hi, I wants to know that how to I can call the social login file in my other template file. Please help .
Hi, the extension works great. But when i tried to implement it in the popup login, it doesnt work. Instead, it reloads the login page. What is the issue? Can you please help me out.
Thanks.
Hi i am install successfully options display in admin but when i put login/registration button for login and registration with rel=”facebook-connect” it is not working please .
thanks
While i installed all files on site,but nothing showing on system>configuration>customer on admin panel of magento script.These all inchoo scripts are waste of time.i waste my days by trying all these scripts
Did you try flushing your magento cache, logging out and logging in again? That usually works, not for this extension only, but for many.
Hi,
i installed this social links extension but when i clicked on twitter button it give an error like
Call to undefined method Inchoo_SocialConnect_TwitterController::_sessionCleanup() in C:\xampp\htdocs\raary\app\code\community\Inchoo\SocialConnect\controllers\TwitterController.php on line 22.
can you plz give me the solution?
Thanks,
Rama Sampathi
Nothing is happening after i login using google or facebook. Im being redirected to customer login page again
A new study has inspected the importance of reviews in building business trust. The study for instance stated “Trust plays a key role in business-to-consumer (B2C) and business-to-business (B2B) online transactions, which affects the success of business for Web vendors. Consumers are more willing to adopt E-Commerce and to make a transaction with unknown or unseen vendors if they trust the vendors and consider it safe to disclose private information with them.”
The study could be found here: http://www.ibimapublishing.com/journals/JIEBS/2015/886172/886172.html
Getting this msg “This authorization code has been used” when login through FB.
Could you plz help me to resolve this issue? Thanks
this is good magento social login extention. but i want social button to specific location on home page
thank you in advance
Hiiiiii Dear i want to configuration social login in my one step checkout but not working this so plsease help me.
hallo
I have installed the plugin, social connect
but the button does not exit?
Thanks for the extenstion.
Can you please tell me Where API generating Random password for the customers? Need File name. Need to make some changes in that.
Thanks to share… Worthy Extension……
http://prntscr.com/6hwc3c
I Receive these kind of errors when login via gmail or ,twitter
anyone have the solution to solve this problem ?
Hi thx for the nice extension. I would like to ask about the facebook login, i already do all the setting but it come out like this : {
“error”: {
“message”: “Invalid redirect_uri: URL yang diberikan tidak diizinkan oleh konfigurasi Aplikasi.”,
“type”: “OAuthException”,
“code”: 191
}
}
The twitter login is fine by the way. Could you please tell me how to fix this?
Thx so much ^^
thank you….very very helpful extension….work very well
Thanks Marko. Easy and works great.
I finally have the time to send you a pull request in order to put the spanish translations
I hope it helps. Thanks 😀
Hello, is it possibile to use this modulo if server is behind a proxy?
Thank you
Hey Marko,
Done a great job dude… I am having a bug when I install it… It collapses my theme and I am not getting any pictures or anything as people mentioning here
Hi,
In the download link inside the description, you have linked 0.2.3 version.
Is that what recommended ? Or should i download more recent from change log links ?
Also please update the Facebook snapshots, (they are of old developer dashboard ) 🙂
I could not find where to add redirect url in facebook .
Nice Extension.. Thanks
Hi Ashutosh,
article is unfortunately a little outdated due to lack of time required to fully maintain it, but the repository is maintained and relatively fresh therefore you can freely install latest stable version at GitHub (0.3.5 at this time):
https://github.com/Marko-M/Inchoo_SocialConnect/releases
Additionally, there are couple of bug fixes in the develop branch as well as ones not still implemented, haven’t found the time to make the release, but I’m getting there. Also, I’m planning to update this article as well as screenshots as soon as I catch some time.
Enjoy
Hello,
The extension is working great … Also compatible with 1.9.1.0 Helped a lot …
Just 1 small thing if there could be a feature to add it on any cms page or something, using some html code or a cms block code. That would be great for all the developers so that they can add it in their site’s header.
Hello,
I have installed your extension Inchoo Social Connect on Magento CE 1.9.1.0.
It works well but there is a small interface problem in the checkout page which I
don’t know how to fix. It is visible in all browsers. Here is a screenshot:
http://goo.gl/gjhVb3
On the left is how the web page looks with your extension installed. On the right is
a screenshot without the extension installed. This is the standard RWD theme.
I had a look at your CSS files and also at file:
/app/design/frontend/base/default/template/inchoo/socialconnect/checkout/onepage/login.phtml
Unfortunately I can’t understand why the “Remember me” section disappears. Also as
you see the input fields for email and password don’t fit in a narrow browser view
after installing the extension although the RWD theme has responsive design.
The login page is ok. The problem is only on the checkout page.
Can you help?
hi marko
I am getting the following error while login through facebook.
Fatal error: Call to a member function getId() on a non-object in /home/lineades/public_html/app/code/core/Mage/Sales/Model/Quote.php on line 447
Hi,
I configured the social connect to my magneto site exactly same as you described above, but i am getting this error when i tried logging in using google-
Error: redirect_uri_mismatch
Application: Project Default Service Account
You can email the developer of this application at:
myemailid@gmail.com
The redirect URI in the request: http://healthmangemore.com/index.php/socialconnect/google/connect/ did not match a registered redirect URI.
It was working fine earlier, but now its giving me above error. I re-installed whole extension using above steps again. I went through so many forums which were giving me almost same answer, but unfortunately its not working in my case. Please take a look and help me getting this error resolved.
Thanks
Getting error on installation CE 1.9
Fatal error: Class ‘Inchoo_SocialConnect_Model_Resource_Setup’ not found in /home/global/www/magento/includes/src/Mage_Core_Model_Resource_Setup.php on line 234
Can some one help me how to fix this issue. Inchoo_SocialConnect_Model_Resource_Setup class is defined in setup.php file.
Thanks in advance
Hello,
you have Magento compilation enabled. Disable it and Magento will be able to find setup resouce class. Rule of thumb, disable compilation before installing new extensions.
Cheers!
Hey — Does anyone have insight into (what I assume is new) Facebook’s new process to approving apps? It seems they need to test it and verify it, but it needs to be live? How can I have a live non-working fb connect login while they wait 7 days to verify it.
Hi,
Really nice module! It works very good.
One thing I want to achieve and I can not.
I want to add the facebook login button inside the toplinks. But It only redirects me to the login page or cart page.
I tried creating a block with the type “type=”inchoo_socialconnect/toplinks”” just for use inside the top links but no success.
Can you please give me some advice?
Thanks!
Been trying to install this for hours but I am getting this error
CONNECT ERROR: Package file is invalid
Invalid package name, allowed: [a-zA-Z0-9_-] chars
Invalid version, should be like: x.x.x
Invalid stability
Invalid date, should be YYYY-DD-MM
Invalid channel URL
Empty authors section
Empty package contents section
Hello Dipika,
Social Connect isn’t packaged in a way it can be installed using Magento Connect. This is because it’s not possible to create such functionality in a way that can guarantee plug and play operation out the box, and having it in Magento Connect package would imply just that. What you need to do is download the zip package, unpack it and copy over the root directory of your Magento installation. Again, you’ll probably need basic developer skills to nicely integrate Social Connect into your Magento theme.
Regards,
Marko
installed application successfully Thanks
This is nice extension.
Thanks Marko for share this extension with user.
Thanks
“merge contents of enclosed directory into your Magento installation root”…how do you do that? Mine doesn’t seem to work.
Hi Marko, Thanks for ur extension
facebook is working fine
This is such an excellent extension – thank you very much for the useful resource. Got it installed up & running in record time on 1.7.0.2 and really enjoying the functionality.
One request I do have, is there any way that I can make the OATH call page pop up instead of redirecting the user to the respective pages? Reason being is that I’ve read that redirecting on a checkout page can potentially cause a loss of conversion.
Most websites I’ve seen using this option use a pop-up screen requesting authorization, similarly to this:
Hi Marko, Thanks for ur extension..I need ur help getting this error….
Fatal error: Call to a member function getBackend() on a non-object in /home3/videosav/public_html/demo.kiranaclick.com/app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 816
This is my login page http://demo.kiranaclick.com/index.php/customer/account/login/
Hi ther.
i managed to install this extension. It works great in mz test environment but then i migrated it to prod environement, no change in file. But when i click on the facebook connect button (error happens for all buttons) i got not redirect back to my site. instead i got this:
http://termostore.it/socialconnect/twitter/connect/?oauth_token=2Oz6nWYBMWfKPWRDNhynLjgZVTDW1hdT&oauth_verifier=FUiGwx4fCF6b6HaOmFw58cK5kUiquXDc
Could you please help me? maybe a magento setting. not sure but in test environemtn everithing works perfeclz…in Prod it does not 🙁 Please desperately need help.
ps: i prepared italian translation which i want to share
Hi Marko i tried everithing to make this extension work in my PROD envronment but no chance.
I always get an error 500 in my production environment.
Would you be able to give us help to fix it? Can you contact me in private so we can discuss how to receiev some support from you?
Thanks a lot,
Claudio
Extension works perefctly. I have aonly an issue when connecting with Linkedin. Extension says it is not able to retrieve last name.
I have posted once but commented on the wrong thread. My problem is in the Social Connect extension. I am having an issue with the installation process and I am using a customized template. I copied the files that would typically go into the default community edition folders into the new theme folders, but the extension tabs do not appear in the system settings. Everything else went into the corresponding default folder that comes with the community edition of Magento. What am I doing wrong?
Hi I was just checking back in to say that the works fine. I forgot to clear my store cache after the installation. I am having an issue similar to others with Twitter. After selecting sign in with Twitter I am taken to a blank page. When you refresh the home page it displays an OAUTH error at the top of the page. Is there a solution to this?
hi, i installed the extension and it is working absolutely fine.
but now when i am installing another extension, that extension is not working with social connect extension, with social connect installed on it, its working fine.
i just want to know how to uninstall this social connect extension from magento ??
it wont show in the existing magento extensions…
please help…
I configured the extension and it is working perfectly. Now please can you guide me so that I can put a link of facebook ,twiitter login beside my normal link button at the top?
Good Morning, Thanks for the extension. I have a problem.. I see the extension in a login page but I can’t see it on ckeckout page.Could do you help me? version 1.8
Any thoughts on adding the ability to pull address / birthday / phone from the social site(s) into Magento? The ability to login is great, but the real value would seem to be to auto-populate these fields so that the customer doesn’t have to enter (especially on mobile!)
Unfortunately Twitter does not provide email addresses using it’s OAuth. Is there a way to direct back to a page that asks for their email address if Twitter is not connected to a profile?
Hi Marko ,
We have been trying social connect in magento 1.9 theme but every time we try running it , we get error 400 : redirect_url (error )
How to overcome this hurdle . Please let us know .
Regards,
Jogn
Hi, I am getting an outh error for twitter login “Unspecified OAuth error occurred.
Sorry, could not retrieve your Twitter last name. Please try again”.
I installed the plugin and configured the facebook, but nothing is appearing. When i change the theme to default, the plugin is working fine.
How can i solve this problem ?
Hi, I installed this plugin on magento 1.7 and when I tried using facebook to login it loads very slow then gives me a blank page after.
But when I use it on our dev site it works fine.
Can you help me on this one please??
After installing this extension.
Css won’t work and my twitter and facebook login thows an error again and again.
Please assist me on this issue.
Thanks,
Dinesh Saxena
Current, if the user declined the permission, let say “email”. The app show error said “user email is required.”, which is awesome. But the code does not rerequest the permission? Is it possible if you can update your code to do this? Thank you Marko
Hi, Marko Martinovic. I am looking at your code, and it seems that you are making request to https://graph.facebook.com/oauth/authorize to login. And I am having trouble get my app accept my facebook. Facebook is rolling out with the new login v2.1 https://developers.facebook.com/docs/facebook-login/login-flow-for-web/v2.1. I am resubmitting my app again, but do you know if this login method of making request to https://graph.facebook.com/oauth/authorize still valid?
Sorry, I just got facebook accept the app. Facebook wants to see where I use https://graph.facebook.com/oauth/authorize to login. Thank you for this.
Found bug:
In this module we don’t have redirect fucntion in Helper calss.
Mage::helper('inchoo_socialconnect')->redirect404()
Hello Arun,
fixed and 0.3.5 version released:
https://github.com/Marko-M/Inchoo_SocialConnect/commit/84f7c7a51e291cf51b7fadd7989a3d3a28415247
Thank you for your report,
Marko
Your code use your own style for facebook login button. Why dont you use facebook js sdk, look better and you wont have to worry about style anymore? Please see
https://developers.facebook.com/docs/plugins/login-button
Hi everyone,
as many of you pointed out, Inchoo Social Connect v0.3.3 source code was using syntax not supported on PHP versions older than 5.4. I just tagged version 0.3.4 where troublesome code was refactored:
https://github.com/Marko-M/Inchoo_SocialConnect/archive/0.3.4.zip
Big thanks to Todd Zmijewski for his pull request providing some of the fixes.
Enjoy,
Marko
in /socialconnect/account/facebook/ a fatal error: Can’t use method return value in write context in /home/backbone007/public_html/shoppersbd.com/app/code/community/Inchoo/SocialConnect/Block/Facebook/Account.php on line 106
in face book app using: user_birthday… but the permissions have not been approved for use and are not being shown to people on facebook policy… how can i remove user_birthday ? and how can user chane password ??
This plugin will throw an error if you are using PHP version 5.5.
Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error.
Ref : http://us3.php.net/empty
Fix: Get the value in a variable and then check empty of this variable.
How to change password of new user created from twitter , facebook or google?
I can’t change password since there is no current password from the created new account.
I always get “current password is required” and if I enter a current password I always get “Invalid current password”
I tried this upon creation of new account from twitter and trying to disconnect all social accounts and create a password from these accounts.
Thanks!
Found the bug and fixed it:
changed all codes similar to
if(empty($info->getFirstName()))
and changed it to:
if($info->getFirstName()==””)
And it fixed my problem. How could the old code doesn’t work on my site? Thoughts?
Been trying to install this for hours. But i can’t make it work. Set-up all api setup in google, facebook and twitter as instructed but still i failed to make it work.
I always get this error on all methods.
Fatal error: Can’t use method return value in write context in /home/stitch/public_html/app/code/community/Inchoo/SocialConnect/controllers/GoogleController.php on line 152
Very nice post indeed. I have similar extension let me how do you rate this one?
http://www.fmeaddons.com/magento/social-facebook-twitter-login-extension.html
Does it work on version 1.9.0 – 1.9.1? Please reply
Tested in 1.9.0 & 1.9.1 and works fine
Hi Razvan, can you tell me how did you solved these issue “Invalid attribute name: inchoo_socialconnect_fid”
Please help me! can you update sociallogin new viersion for magento 1.9.0.1 ? I meet error when login :Unable to Connect to ssl://graph.facebook.com:443. Error #110: Connection timed out
Hello Kien,
Had you got a solution for your error?
Thank you
Gianni
I configured magento connect exactly as shown in the manual but when trying to access with facebook get the following error:
{
“error”: {
“message”: “Invalid redirect_uri: The URL entered n \ u00e3o \ u00e9 permitted by configure \ u00e7 \ u00e3o application.”
“type”: “OAuthException”
“code”: 191
}
}
I put the address field as http://www.wersate.com.br
and as a website URL: http://www.wersate.com.br/loja2/socialconnect/facebook/connect/
Can someone help me I do not know where I am going wrong.
I go this up and running on our development server, but the button isn’t really in a good spot (bottom of the login page). Is there a way to move the button placement and get it right up next to our other login button?
Thanks again for the extension. It looks promising and will save us a bunch of time.
Hi Marko,
I had used your plugin a year ago and using it now for another website of mine. Great to see so much developments.
I am using a one-page-checkout tool which opens a Login Box in a lightbox modal. I want to know how do I call these social login buttons inside that template?
I tried adding:
in my checkout phtml and updating the xml of my checkout page with:
But nothing shows up. Is there a particular block that I should this in? Or is there a simpler way to call these buttons anywhere on the template file?
Thanks,
Jugal
This module is working fine but my concern is that how can i identify user is login by which account? if email address are same for Google and Facebook account. its return me in login customer session Facebook id and and Google id both.
I need to determine this information just because when user enter there comments in product detail page[product comment is my custom module]. I’ll display there Avatar picture from Google/Facebook account.
Any one please help.
facebook working good
google and twitter not working
i am instant module then have error Unable to Connect to ssl://accounts.google.com:443. Error #110 when login width google,please help meeeeeeeeeee!
Is there any chance that you can update the instructions and/or screenshots so that they’re current with Facebook’s developers site?
Right now I’m not finding the trick to being able to set it up although Google and Twitter are just fine.
Thanks Marko and thanks for the translation fix Andrei Sena. The extension work very smooth!
After i login and return my session data is getting disappeared , is it possible to show the onclick the facebook button we can show facebook login in pop up ,once login pop up window should close reload that page
Hi i’m using this extension on a dev site web and evreything working fine exept for the google plus information, for some odd reason i don’t get the birthday info from google ( google + setting are set to public ) any clue why it’s not working proprely?
poz.
Da li ovo radi na CE 1.8?
Is it working with 1.8.1? i’m getting the redirect back to the login page when someone tries to do the standard login on the onepage chechout.
I’ve tried the suggested patches online but it hasn’t seemed to make a difference there.
in magento 1.8, I’m having to return the token already been used, or has expired. I do not know what I’m setting wrong in the app-facebook
Can you help me?
the site is http://kabnames.nextmp.net/
Hi Marko,
I translated your Extension to German. You can download the csv file here:
Cheers and still hope for some help on my question (20-02-2014)…
http://develop.app-arena.com/projects/sbuckpesch/inchoo/de_DE/Inchoo_SocialConnect.csv
Thanks.
Sebastian
Hi Marko,
I was following the tutorial but I saw a problem, the Facebook Developer portal has changed so it should be good that you update the screenshots.
Anyway thanks for this!
Hi Marko,
really nice your extensions. Works like a charm in Magento 1.8.1.
Only one styling question. In my login page your login.phtml template is rendered on the bottom of my Login/Register page.
Is it possible to render it in another position of my login page?I tried to call:
But then my page did not render again. How do I have to change my xml-files to make it work? Or do you have any other proposals to render your template files within my template file?
Thanks a lot,
Sebastian
To: Jie
I have configure redirect as per instruction given in following after that still it is not working:
https://inchoo.net/ecommerce/magento/social-connect-magento-extension/
To mat:
It seems you didn’t set the correct redirect url in your facebook and google app.
I have installed this social login plugin on magento 1.7. FB and Google login are not working. Google giving error of Invalid redirect url and FB giving error Invalid redirect_uri: Given URL is not permitted by the application configuration”
Please help me what should I do?
I have configure API as per your instruction. for more reference please open my website link:
http://jobnshop.pk/store/customer/account/login/
Regards.
i want these login button on my topmenu.phtml.please send me the code how i can i extend it to use this login functionality on topmenu
Seconding Jonathan’s comment. We’ve had some issues with our current facebook login extension redirecting users back to dashboard. I’d like to set buttons on homepage, in signup and in onepage checkout without replacing their current templates. Also – displaying the avatar in custom locations would be helpful as well.
I have installed inchoo social connect on my magento website and it is working fine. I am just getting user’s name as information. My query is how to fetch user basic profile information (address, phone no). Can you please help me to retrieve these information.
this extention seems to drop an error when $userInfo->email is not set(facebookController.php:170)
I also want to know if this extension works on Mobile devices? And how to move the social login button to homepage?
Thanks,
JIe
Hello,
Could you please let me know why this extension doesn’t work on Mobile devices? iphone, ipad, android.
When I log-in successfully, it redirects me back to /customer/account/_2x.none#_=_
Thanks,
Alex
Hello,
First off, excellent extension, it is very well put together and has incredible options.
I was wondering if you could assist with this problem I have:
— I am using a custom theme, is there a any code snippet that I can use to paste the login buttons in custom locations? The theme we use features an ajax log in pane and I am able to paste in the button from the old inchoo facebook connect, however I am unable to find a solution to display the multiple social account logins via this extension with just a simple code line..
Please let me know if this is possible, or where in the source files I can find the lines that are possible to copy and paste in to a custom location.
Thank you!! 🙂
this plugin is not working in onepagecheckout. the plugin is not showing in the checkout page. pls help
I have installed this plugin in my store and now my store is down. this is the error which i am getting when i access any page of my store
Fatal error: Class ‘Inchoo_SocialConnect_Model_Resource_Setup’ not found in /home/content/57/11596657/html/includes/src/Mage_Core_Model_Resource_Setup.php on line 234
Immediate help is required in this regard.
Thanks
Hello, it’s me again.
For my first question before this, i figured that plugin cannot upload profile photos to media directory. when i upload my facebook profile photo manually it worked. But i dont know why plugin itself cant upload.
And my new question is, can i Show users facebook avatars on other places. Like in header.phtml file?
Can you guys give me an example ?
BTW, this plugin is great. With couple extra plugins, we can make our homepage like facebook Wall. well specified for our users.
Hi,
I’m trying to install this on our store. ( Magento 1.8 )
Users can login but when they try to go their /socialconnect/account/facebook/ page. i am getting this error
”
There has been an error processing your request
Could not open temp file
”
Can you guys help me ?
PS : i believe ,i gived all folder permissions.
hi guys,
really need help on this. How do i ignore the error of “Unsupported image format”. This will pop up if the social account doesn’t have a profile picture. Which part of the code can i ignore this and just proceed with the registration?
@Marko Thanks I tried your suggestion and re-read all the comment pages and found the clear div tag was causing the issue! Thanks for the great module
@Lio No its free – comment spmmer…
Hi Marko,
I am this extension for my website and its working fine. However, I am facing few problems and please find them below,
1. If I am login to site via twitter, then the automatic email has been generated based on the twitter username(aaaa@twitter-user.com) and I am not able to change the email address if the email has been registered already through the normal registration form.
2. If I am using the email verification on registration and register via twitter then no email has been received to confirm the registration. We think the confirmation email has been sent to the auto generated email address.
Please let me know if any configuration or steps missing from my side and help me to fix the problem. Thanks for your help in advance…
Hi,
Would i need pay for it???
Hi, i get this error after adding the installation folders to the root of my website. Pls help
Fatal error: Class ‘Inchoo_SocialConnect_Model_Resource_Setup’ not found in /home/****/public_html/includes/src/Mage_Core_Model_Resource_Setup.php on line 234
Marko, would u be able to shed some light on the “unsupported image format” issue? This happens on twitter/fb acc without profile pics
@Paul
First of all I’m glad to hear you find Social Connect clean, this means a lot. Secondly, it is near to impossible to remotely diagnose what happens on your Magento installation. What I can tell you for sure is that call to getChildHtml will only work if block that renders the template hosting this call has named child you are trying to display using getChildHtml.
By default this assignments are done inside
https://github.com/Marko-M/Inchoo_SocialConnect/blob/master/app/design/frontend/base/default/layout/inchoo_socialconnect.xml
My advice is for you to enable template path hints with block names on your Magento installation and compare it to default Magento installation with default theme because buttons are displayed there (this is something I test before every release). Also prerequisite for displaying buttons is that respective admin section has required secret and key data entered.
Good luck!
I see a number of people have the same issue with the buttons not displaying. If anyone could explain how to fix this as some commenters had issues and resolved them themselves.
Thanks for the great and clean plugin! I’m having trouble displaying the buttons. I see it uses a
call but this doesn’t display anything. I can’t understand why, I thought maybe the xml file was misplaced and wasn;t being readbut i tried copying it and that didn’t work either.
I thought it was my template but changing backto the default one, it still doesn’t display any buttons.
@Shen is it on this page https://inchoo.net/wp-content/uploads/2013/07/socialconnect-admin-3.png Have you tried logging out and logging in again, sometimes the admin cache isn’t updated until you do this.
Hi Marko,
I have merged the files via filezilla however I didn’t see the tabs named Social Connect Google Options, Social Connect Facebook Options and Social Connect Twitter in Customers Configuration page.
Where should I look into to make this extension to work.
Magento version 1.7.02.
Thanks.
Shen
Hi there,
The ext works fine. One problem though with the twitter account.
This is how i got the error.
1. Login via twitter.
2. unlink twitter account via my account page
3. goback to the the main page -> login -> login via twitter
4. “There has been an error processing your request
Unsupported image format.” Error will pop up.
I’m not sure why this occurred. Maybe it’s because my twitter account is using the default image (the egg)
Please help.
Hi everyone,
Inchoo Social Connect version 0.2.6 with translation related improvements, Danish and Slovenian translation CSVs is out.
https://github.com/Marko-M/Inchoo_SocialConnect/archive/0.2.6.zip
Big thanks to everyone who contributed.
Enjoy!
Hi Marko,
Firstly just to reiterate what so many have said, and that is thank you for this and for making it freely available.
Secondly, I Followed the tutorial but cannot get the login buttons to show on the frontend, Any Ideas?
Hi MArko
Need to update in the /base directory also. All issues resolved. Thanks once again
Twitter issue resolved. Just looking on how to show the login buttons.
Hi Marko
Thanks for the great extension.
A few issues.
Cannot get to show the login buttons on my site http://www.myglitzjewels.com
Twitter login does not work and i get a message saying
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 478122034100
Any help would be appreciated
hi Marko Martinovic.
in twitterController. i thinks you get data by code:
$userInfo = (object) array_merge(
(array) ($userInfo = $client->api(‘/account/verify_credentials.json’, ‘GET’, array(‘skip_status’ => true))),
array(’email’ => sprintf(‘%s@twitter-user.com’, strtolower($userInfo->screen_name)))
);
but i need get: email (email register, not twitter email), gender, Country, Phone, Location, Website
…
please help me.
Thanks
Hi Marko,
i have a little problem with your extension, can’t get facebook picture, and error and var/report says
a:5:{i:0;s:25:”Could not open temp file “;i:1;s:4175:”#0 /var/www/clients/client16/web40/web/lib/Zend/Http/Client.php(977): Zend_Http_Client->_openTempStream()
#1 /var/www/clients/client16/web40/web/app/code/community/Inchoo/SocialConnect/Helper/Facebook.php(195): Zend_Http_Client->request(‘GET’)
#2 /var/www/clients/client16/web40/web/app/code/community/Inchoo/SocialConnect/Block/Facebook/Account.php(84): Inchoo_SocialConnect_Helper_Facebook->getProperDimensionsPictureUrl(‘100000969477569’, ‘https://fbcdn-p…’)
#3 /var/www/clients/client16/web40/web/app/design/frontend/base/default/template/inchoo/socialconnect/facebook/account.phtml(46): Inchoo_SocialConnect_Block_Facebook_Account->_getPicture()
#4 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Template.php(241): include(‘/var/www/client…’)
#5 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(‘frontend/base/d…’)
#6 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#7 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Abstract.php(886): Mage_Core_Block_Template->_toHtml()
#8 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Abstract.php(605): Mage_Core_Block_Abstract->toHtml()
#9 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Abstract.php(545): Mage_Core_Block_Abstract->_getChildHtml(‘inchoo_socialco…’, true)
#10 /var/www/clients/client16/web40/web/app/code/core/Mage/Page/Block/Html/Wrapper.php(52): Mage_Core_Block_Abstract->getChildHtml(”, true, true)
#11 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Abstract.php(886): Mage_Page_Block_Html_Wrapper->_toHtml()
#12 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Abstract.php(886): Mage_Core_Block_Text_List->_toHtml()
#14 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Abstract.php(605): Mage_Core_Block_Abstract->toHtml()
#15 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Abstract.php(549): Mage_Core_Block_Abstract->_getChildHtml(‘content’, true)
#16 /var/www/clients/client16/web40/web/app/design/frontend/default/edream/template/page/2columns-left.phtml(53): Mage_Core_Block_Abstract->getChildHtml(‘content’)
#17 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Template.php(241): include(‘/var/www/client…’)
#18 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(‘frontend/defaul…’)
#19 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#20 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Block/Abstract.php(886): Mage_Core_Block_Template->_toHtml()
#21 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#22 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#23 /var/www/clients/client16/web40/web/app/code/community/Inchoo/SocialConnect/controllers/AccountController.php(69): Mage_Core_Controller_Varien_Action->renderLayout()
#24 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Inchoo_SocialConnect_AccountController->facebookAction()
#25 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(‘facebook’)
#26 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#27 /var/www/clients/client16/web40/web/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#28 /var/www/clients/client16/web40/web/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#29 /var/www/clients/client16/web40/web/index.php(87): Mage::run(”, ‘store’)
#30 {main}”;s:3:”url”;s:32:”/socialconnect/account/facebook/”;s:11:”script_name”;s:10:”/index.php”;s:4:”skin”;s:7:”english”;}
@Marko Martinovic
It is fixed and working fine, i am glad this module work for me.
but i need you help.
i want to implement facebook auto share , post on you behalf in it, if user buy any item or download any free item on my website, it i will post on user’s timeline and when he/she login through facebook and twitter login, invite sent to their friends.
i dont know how to do , i will be glad and helpfull to you.
hi, i have a problem with twitter connect when i try to register. it says:
Could not retrieve a valid Token response from Token URL:
Failed to validate oauth signature and token
Hi aivz,
if everything is in order with Social Connect settings please double check the server clock because offset can cause these kind of issues.
Regards
I implemented this extension for a client, it works great. Thanks.
I translated the csv-file to Danish for the client. If you are interested it can be downloaded here: http://pastebin.com/v8ucnjR2
Hello Casper,
I’ve added Danish CSV file to develop branch of Inchoo Social Connect GitHub repository and it will be available inside master on the next release.
I really appreciate your contribution.
I am just getting error in authorization on fb and twitter Invalid attribute name: inchoo_socialconnect_tid. twitter
Invalid attribute name: inchoo_socialconnect_fid. facebook.
Please advice
@Qazi Atif:
For some reason setup installer script has either failed or didn’t get triggered in the first place. You can trigger the installer script once again by removing inchoo_social_connect_setup entry from core_resource table. Since editing database directly can lead to loss of data, you should contact someone familiar with the way Magento works to do it.
Regards
Hey @Marko I first want to thank you soo much for making this free. You put a lot of hard work into it and it doesn’t go unappreciated. But I’ve come across a problem that I thought you might be able to help me with when I click on the FB/Google log in link I get this error.
[{
“error”: {
“message”: “Invalid redirect_uri: Given URL is not allowed by the Application configuration.”,
“type”: “OAuthException”,
“code”: 191
}
}]
The Google issue gives a bit more detail so I will link you to my site to check it out… thanks in advance!
http://fashion-jewelry.co/index.php/customer/account/login/
@Isaac C:
It appears your store isn’t configured to take advantage of mod_rewrite to remove index.php from your URLs. You can either enable mod_rewrite support in Magento (beware cause this will remove index.php from all store URLs) or adjust Facebook and Google apps allowed redirect URLS to take index.php into an account (see older comment of mine).
And thanks for your kind words, I’m glad you find Inchoo Social Connect useful!
Thanks for this great plugin.
@arun:
You’re welcome, enjoy it!
Hi Marko,
I am excited to find this plugin. Just tried installing but the options do not appear in the admin. When trying to log out of the admin area I now see an error: Fatal error: Class ‘Inchoo_SocialConnect_Model_Resource_Setup’ not found in …/app/code/core/Mage/Core/Model/Resource/Setup.php on line 234
Would you have any idea on what may be causing this?
Thanks.
Yasmin
@Yasmin:
Hello,
first thing I would check is whether compilation feature is enabled. You should checkout following comment of mine:
https://inchoo.net/ecommerce/magento/social-connect-magento-extension/comment-page-1/#comment-53929
Enjoy!
Great plugin, works as charm.
Marko i created the translation to spanish, how can I send you?
Thank you very much.
@Roberto Castillo:
Is it possible for you to fork Inchoo Social Conenct on GitHub and submit pull request?
https://github.com/Marko-M/Inchoo_SocialConnect
https://help.github.com/articles/using-pull-requests
https://help.github.com/articles/creating-a-pull-request
I am able to login using both google and facebook, so the extension and relevant apps are setup and working as expected.
The one piece I don’t have working right are the front-end account pages, Google Connect and Facebook Connect.
Clicking those menu items returns a blank page. Note, the page full loads and is not broken, it is just that nothing is displayed in the middle where your screenshots show content relevant to Google of Facebook.
Any ideas whats wrong please?
I really want to get this working.
Cheers!
@Rob:
Hello Rob,
it’s hard to tell what is actually happening, but I would start with enabling template path hints to obtain more info.
Good luck!
@Aurelien:
Release 0.2.4 fixing this issue has been tagged at GitHub a few minutes ago. Thanks again for the effort.
Cheers!
Oups I didn’t see this comment, this fix work for my store.
Again thanks for your job !
@Aurelien:
I’m glad you find the code useful and thanks for contributing code, appreciate it.
This specific issue has been pointed out by Abraham earlier. I had the same code in my local branch for a while now, but never got around to test it. Now that you’ve confirmed the fix works I’ll commit changes and make the release, hopefully today.
Cheers!
Hello,
You have a little bug with multi-store. With social registration, mail is send with the latest store langage. To fix this, you have to correct Facebook/Google Helper :
l85
$customer->setEmail($email)
->setFirstname($firstName)
->setLastname($lastName)
->setInchooSocialconnectFid($facebookId)
->setInchooSocialconnectFtoken($token)
->setPassword($customer->generatePassword(10))
->save();
$customer->setConfirmation(null);
$customer->save();
$customer->sendNewAccountEmail();
->
$customer->setWebsiteId(Mage::app()->getWebsite()->getId())
->setEmail($email)
->setFirstname($firstName)
->setLastname($lastName)
->setInchooSocialconnectFid($facebookId)
->setInchooSocialconnectFtoken($token)
->setPassword($customer->generatePassword(10))
->save();
$customer->setConfirmation(null);
$customer->save();
$customer->sendNewAccountEmail(‘confirmed’, ”, Mage::app()->getStore()->getId());
Thanks for this great extension 🙂
Sorry just seen the fix on the first comment page once again thank you for the module
Hi first of all i like to say thank you for providing this module for FREE.at the moment I’m having problems getting the social log-in buttons to display in a custom block i have created which is a mini-side log-in pull/slide out
Any idea what might be the problem?
Hi Marko,
I installed the plugin properly and tested it with facebook, twitter and Google.
However, I just realized it works only on the OPC during the checkout. Tried registering via “Make an account” page, facebook redirects me back to the sign up form without doing anything.
You can check the bug here: http://www.bombaytrooper.com/customer/account/login/
Any idea what might be the problem?
And thanks again for this wonderful plugin!
Cheers,
Jugal
I am happy to report that my issue is finally resolved. I referred the undefined error I was receiving back to my template developers. They added an IF statement around my camera wrap code in my themes js folder file:scripts.js and some additional meta tags to my head.phtml theme file.
All is working great. The undefined string is out of my URL. Thanks again Marko for helping me debug.
Hello, if i would like to disconnect the account from magento account (in the customer account) i receive a security warning from magento and the cancelation will not going on! Can anyone help me to resolve this issue?
Okay, i created a translation csv. But how can i move the buttons to the left side?
Hi, great App!! But how can i move the buttons to the right side and how can i rename or change the button description? Its now in german, that looks not really good 🙂
Hi, how to move blocks on custom area?
@Abraham:
Haven’t tested, but the issue is probably that my code doesn’t specify store id when sending new account email. I’ll debug further when I find some time and probably release an update. Thanks for reporting!
Regards,
Marko
works perfectly, very good extension.
I have a website with 4 views one for each language and the only problem I see is that in the welcome email once you have logged in with the extension, default load the images of the template in English, the text if you load each view, but no pictures.
Thanks
Best regards
Hi Marko,
I revisited this extension today to see if I can figure out what’s causing the undefined error in my URL. I temporarily removed /skin/frontend/default/theme411/js/jquery-1.7.min.js from my theme. Any everything works. It seems like there is some type of conflict with jquery. It seems that either the social connect extension is bringing the error to light or it’s conflicting with my theme.
I tried adding jQuery.noConflict(); to my JS file as well as to the two phtml files under /template/inchoo/socialconnect/facebook/button.phtml & /template/inchoo/socialconnect/facebook/account.phtml
Neither of those worked. Any ideas?
Thanks!
Joe
Hi Joe,
this is kind of weired, especially because Social Connect doesn’t use Javascript or jQuery for any of it’s functionality. I suggest you to inspect which code brings jQuery in the first place, because if your conclusion is true than this code is the one responsible for your problems.
Good luck!
Hi,
Works Great.
Small question, I want to put the social login on top of the page and not at the bottom. How do I change it.
Thanks
Hi Mark, I think most of the people want to know that how to add these links in header or some other place in the website. I am using 0step checkout (FI_checkout) on my website and I want to add these social connect links on checkout page. Pls advice how to add these links.
Hi
After instalation i’m getting this error Invalid attribute name: inchoo_socialconnect_fid.
Any suggestions?
Thx
Hi Marko,
The “Register with Facebook” doesn’t work for me for some reason, when redirected to Facebook, I click “Sign up” button, it creates an account OK, then runs me through 4 additional steps and when finished, I’m not redirected back to my site, but stay on facebook. Is there anything I’m missing ? My button url for registration looks like this:
https://graph.facebook.com/oauth/authorize?client_id=XXXXXXX&redirect_uri=mysite.com/socialconnect/facebook/connect/&state=YYYYYY&scope=email%2Cuser_birthday
Thanks.
Hi Marko,
Thank you for the great extension. It was working well in the beginning, but as the site development is going on your module stopped working. (magento 1.7.0.2).
I really cant find what can affect the behaviour of your module, but I feel I’m having a redirect loop.
I log in through facebook, normally it redirects to a link like this:
What I can see, is that this URL instead of taking to the accounts page for example, it redirects back to facebook, which in return redirects back to my website and so on. At every redirect the code parameter changes in the url. (state I don’t know). And it continues until I stop the procedure manually.
Do you have any clue where I should try to debug it what to search for? Thank you!
All the best,
Gergely
Hi,
Thanks for this great project.
I want to extend this to support more social network. I make a replica of Twitter and just change the name of it. Then I found that the image cannot reach (404). And when I try to checkout and create new user, it shows nothing. In the log it shows “2013-09-30T10:52:53+00:00 ERR (3): Warning: include(): Filename cannot be empty in /Applications/MAMP/htdocs/magento/app/code/core/Mage/Core/Block/Template.php on line 241”. Then I undo my change, nothing make effect. Only way to fix it is to reinstall the whole plugin agin.
Hi,
Could you help me check what’s the problem?
http://www.aromay.com/socialconnect/twitter/request/
Could not retrieve a valid Token response from Token URL:
Failed to validate oauth signature and token
Trace:
#0 /home/wwwroot/aromay/lib/Zend/Oauth/Http.php(190): Zend_Oauth_Http->_assessRequestAttempt(Object(Zend_Http_Response))
#1 /home/wwwroot/aromay/lib/Zend/Oauth/Http.php(191): Zend_Oauth_Http->startRequestCycle(Array)
#2 /home/wwwroot/aromay/lib/Zend/Oauth/Http.php(191): Zend_Oauth_Http->startRequestCycle(Array)
#3 /home/wwwroot/aromay/lib/Zend/Oauth/Http/RequestToken.php(51): Zend_Oauth_Http->startRequestCycle(Array)
#4 /home/wwwroot/aromay/lib/Zend/Oauth/Consumer.php(115): Zend_Oauth_Http_RequestToken->execute()
#5 /home/wwwroot/aromay/app/code/community/Inchoo/SocialConnect/Model/Twitter/Client.php(119): Zend_Oauth_Consumer->getRequestToken()
#6 /home/wwwroot/aromay/app/code/community/Inchoo/SocialConnect/controllers/TwitterController.php(14): Inchoo_SocialConnect_Model_Twitter_Client->fetchRequestToken()
#7 /home/wwwroot/aromay/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Inchoo_SocialConnect_TwitterController->requestAction()
#8 /home/wwwroot/aromay/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(‘request’)
#9 /home/wwwroot/aromay/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /home/wwwroot/aromay/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#11 /home/wwwroot/aromay/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#12 /home/wwwroot/aromay/index.php(87): Mage::run(”, ‘store’)
#13 {main}
Hi,
I install the moulde, facebook and google login is OK,but Twitter login has error. Could you help me?
This is my site button address http://www.aromay.com/socialconnect/twitter/request/
It display “There has been an error processing your request”,I checked the error report file.
a:5:{i:0;s:102:”Could not retrieve a valid Token response from Token URL:
Failed to validate oauth signature and token”;i:1;s:1546:”#0 /home/wwwroot/aromay/lib/Zend/Oauth/Http.php(190): Zend_Oauth_Http->_assessRequestAttempt(Object(Zend_Http_Response))
#1 /home/wwwroot/aromay/lib/Zend/Oauth/Http.php(191): Zend_Oauth_Http->startRequestCycle(Array)
#2 /home/wwwroot/aromay/lib/Zend/Oauth/Http.php(191): Zend_Oauth_Http->startRequestCycle(Array)
#3 /home/wwwroot/aromay/lib/Zend/Oauth/Http/RequestToken.php(51): Zend_Oauth_Http->startRequestCycle(Array)
#4 /home/wwwroot/aromay/lib/Zend/Oauth/Consumer.php(115): Zend_Oauth_Http_RequestToken->execute()
#5 /home/wwwroot/aromay/app/code/community/Inchoo/SocialConnect/Model/Twitter/Client.php(119): Zend_Oauth_Consumer->getRequestToken()
#6 /home/wwwroot/aromay/app/code/community/Inchoo/SocialConnect/controllers/TwitterController.php(14): Inchoo_SocialConnect_Model_Twitter_Client->fetchRequestToken()
#7 /home/wwwroot/aromay/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Inchoo_SocialConnect_TwitterController->requestAction()
#8 /home/wwwroot/aromay/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(‘request’)
#9 /home/wwwroot/aromay/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /home/wwwroot/aromay/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#11 /home/wwwroot/aromay/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#12 /home/wwwroot/aromay/index.php(87): Mage::run(”, ‘store’)
#13 {main}”;s:3:”url”;s:31:”/socialconnect/twitter/request/”;s:11:”script_name”;s:10:”/index.php”;s:4:”skin”;s:7:”default”;}
Thanks Marko. the SQL error happens mostly with facebook logins – and seems to happen only if the user already exists, as if the user’s being updated but failing to over-write something? – It would be better then to ask the user for a valid email, if magento sends invoices / delivery notifications to that dummy twitter email the wheels are going to fall off. I’ll leave them disabled for now.
I also get things like this when I log in and the user already exists:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1
@Steven:
Regarding Twitter email this is due to limitation in Twitter API. Dummy email address is used because email is required to create Magento user and Twitter doesn’t share email address trough API. After you’ve connected with Twitter, notice should have informed you of this. Concerning SQL error, Social Connect doesn’t use direct SQL queries so this probably isn’t a bug on it’s part. But thanks for reporting, I’ll check just in case.
Regards,
Marko
Hi,
When I try use the twitter login it makes my email address myusername@twitter-user.com – not my real address.
Its working perfectly.. But I want to post on user wall when login with fb.. how can i implement that code?
Hi Shiva,
I had this use case in mind while I was coding Social Connect (FB client created for Social Connect is full featured one), but code for this exact action isn’t present. Since we’re not talking about a few lines of code I can’t provide you with solution, but after studying Social Connect FB client library and FB API this should be straightforward for you to implement.
Regards,
Marko
Any ideas on my question above?
https://inchoo.net/ecommerce/magento/social-connect-magento-extension/comment-page-2/#comment-54693
Cheers!
Hi Marko,
Sorry to trouble you, the issue is resolved.
I have a launchrock page as my index.html which is preferred over index.php. This was blocking the base path. Disabled the index.html and it works.
Thanks again for this amazing work 🙂
Jugal
Thanks Marko, I spent 20 minutes trying to modify the clearer class – never thought of deleting it.
Just did and it works now.
However, for Google and Facebook, it takes me to the “Allow Access” page and when I click OK, it just redirects me to the login box again.
I assume it’s supposed to log in automatically and take you to My Account page by default? That’s what it does with Twitter, so I guess Twitter is working just fine.
I cross checked my API keys, everything looks OK.
Any idea what’s wrong?
Hi Marko,
Thanks so much for this wonderful plugin.
It works exactly the way I wanted it to.
However, something weird is happening on my login page. The entire login-lower div isn’t appearing on the page at all. It’s there in the source code and the links works too (that’s how I tried it) but it’s completely invisible on the page.
There is no 404 for the stylesheet or the login images, the page is loading them properly. It just shows the tag as 0px x 0px.
Can you please check what’s wrong? The url I am referring to is here: http://www.bombaytrooper.com/customer/account/login/
Hello Jugal,
don’t worry it’s just a styling issue. Inside:
app/design/frontend/base/default/template/inchoo/socialconnect/google/button.phtml
The div with class clearer is problematic for your theme so just remove it, here’s an example for modified button.phtml for Google Connect button:
Do the same thing for Facebook and Twitter button.phtml files and you’re good to go.
app/design/frontend/base/default/template/inchoo/socialconnect/facebook/button.phtml
app/design/frontend/base/default/template/inchoo/socialconnect/twitter/button.phtml
Good luck!
I have installed and configured exactly as per the instructions, including creating the apps on google, facebook and twitter. All config is setup correctly.
The social connect options appear on the account login page as expected (not tried using them yet, but they are there).
My problem is that when I log in to my normal account as usual, then access the google connect menu option on my account (in order to link my accounts together, I imagine?) no form or account data is displayed on the page. The template displays everything fine (nothing is broken) including the left menu and the right sidebar and the footer. All fine. Just nothing in the middle where I would expect to see a form of some sort for me to fill in my google account details?
I have checked file and folder permissions, cleaned cache, logged out and in, everything I can think to do I have done, and nothing gets displayed on those account pages?
Can you help me figure out why?
Cheers!
Marko,
Just to follow up. I fixed the CSS of my theme so everything shows correctly.
Thanks so much!
@Joe,
As you mentioned here (The extension works OK during the checkout process for both new and existing users.
initial url: https://www.site.com/checkout/onepage/
success url: https://www.site.com/checkout/onepage/index/#_=_ )
I have faced the same problem and issue got resolved. The thing worked for me is, In facebook, Previously My App is under sandbox mode. If we enable the sandbox mode, only users registered as developers in facebook can login through the faceboo button. then it will not allow general users to login with. So we need to disable the sandbox mode and try to login with general user facebook ID.
Hey Marko,
Great work and I truely appreciate it. I have a minor issue though. I don’t use the basic theme and I don’t seem to get the Google, Facebook and twitter login images on the create account page and the CSS seems kinda screwed. This is due to this theme of course. Any idea how I could fix this?
Everything began to work(after cleaning the cache). Thanks for quick help.
@upt:
No problem upt, I’m glad to be of assistance.
@upt
Hello, try clearing Configuration cache type for Magento to pickup new system.xml code.
I’ve merged contents of zip package, but I’m can’t find something like “Social Connect” in System -> Configuration -> Customers -> Customers Configuration.
Great work. We are watching this article Also in relation to this article: http://www.magentocommerce.com/media/webinars/conversion-engineering-tiny-tweaks-huge-reward
We follow up customers. But numero uno now is to capture the email as soon as possible.
Some ideas:
1) If a customer does not want to social login. Can he/she enter the email somewhere as a first step in the same screen?
2) Would it be possible to hide the whole login box on the right side (and to display it when a link is clicked). This way one could focus solely on capturing the email address using option 1) above or the social login.
Marko,
this extension is awesome! Works like a charm.
Thank you for make available in Open Source format.
I will share it!
Hi there, great extension! I was wondering however, is there a way to send out a different account confirmation email? Currently the customer gets an email that tells them they have a magento account with a different password from their facebook or google account. This differentiation of local account versus social login might be a bit confusing for them.
Hi Marko,
i get an error when install this module . please help .
Fatal error: Call to a member function isAllowedGuestCheckout() on a non-object in D:\home\newmagento\app\design\frontend\base\default\template\inchoo\socialconnect\login.phtml on line 39
@Dean:
Hi, this shouldn’t happen:
Something is wrong on your Magento install:
The problem is in line 39:
where $this should be a reference to Mage_Checkout_Block_Onepage_Login that extends Mage_Checkout_Block_Onepage_Abstract and that class has public function getQuote() that ultimately returns Mage::getSingleton(‘checkout/session’)->getQuote(). Obviously something is wrong and $this->getQuote() doesn’t return quote object as it should. As as a workaround you can replace all instances of $this->getQuote() inside D:\home\newmagento\app\design\frontend\base\default\template\inchoo\socialconnect\login.phtml with Mage::getSingleton(‘checkout/session’)->getQuote() and this will probably work, but the real problem lies somewhere else.
Cheers!
Hello Marko
I got the below error after agreeing (Google, Facebook, twitter) to access my account. The page display this error message and 404 error. What should I do
Fatal error: Cannot override final method Mage_Core_Model_Abstract::clearInstance() in /opt/www/app/code/local/Mage/Catalog/Model/Product.php on line 38
@Mai
Inchoo Social Connect doesn’t alter Mage_Core_Model_Abstract class in any way, so even though this error might be triggered by it, Inchoo Social Connect doesn’t cause it. My guess is that some other extension on your Magento installation is the cause for this error, most probably the one that places code at app/code/local/Mage (poor Magento programming practice).
Good luck!
Mark, I am new to magento. As I have requirement with social login, I have installed this extension. But I am having a problem with facebook , that in checkout page, If I click fb button, it is going to fb login page and redirecting to same checkout page, i.e, it is not collecting data from the fb. If I open fb.com in another tab, my fb home page is loading. Do you know what is the solution for this??
Hello Marko,
Your extension is awesome. Thanks for it. I am not much familiar with code and etc. I am newbie in magento. Can you explain how can I add these buttons in header block next to Login at home page so that it becomes Login or Login with facebook etc? Thanks in advance
Great job ! Thank You installed and no issues at all. i’d wish to see Instagram connect, actually i started to implement it based on your code, got authorization token, but I dont have enough knowledge to integrate with db and create customer account. i also found that instagram api doesnt allow to pull user’s email. will give it few more tries
@aleksandra
Thanks. Twitter is the same, it doesn’t allow access to user email and this has a few drawbacks for our use case. I recommend you to check out the Twitter code from Social Connect if you intend to work on adding Instagram support, I’ve handled this as best as possible.
Cheers!
making complete removal of the module?
@Eduardo:
Just remove all files from ZIP package of version you have installed.
Regards
@Joe
Hello,
Facebook does add the #_=_ upon successful login (bug if you ask me cause it shouldn’t be there if redirect_uri is present in authorize URL) but the undefined query variable should not be present in redirect URL. Social Connect saves previous (or target) URL to Magento core session for use after login process for redirect and obviously some code on your login/register page interferes. That’s the best I can explain it. And no,
http://www.example.com/socialconnect/facebook/connect/
should not respond when you access it directly (should give 404). Sorry but without access to your environment I couldn’t be much of a help.
Good luck!
Hi, where to create the Authorized Redirect URIs and Authorized JavaScript Origins setting in facebook developer page? i can’t find it
Brilliant! This is one of the best social login implementations I have seen. Kudos for publishing this freely. It is MUCH MUCH appreciated by our co-op.
@Mai
I’ve tried on several Magento installations and I really cannot reproduce your issue. It’s probably due to conflict with some other extension that does something on user account handle, but I cannot tell for sure. If you have your site on another testing environment, If I were you I would go and deactivate extensions one by one until this problem is resolved. I hope this helps.
Thanks for your extension.. My requirement like, I need to display the google login button next to the site login button. can u suggest me upon this??
Hi Marko,
Thanks for your continued support. I am still running into issue. Here is what I have done:
1) Disabled Compiler using SSH command you provided. Compiler status in Admin shows Uncompiled and Disabled.
2) Reindexed
3) Revoked
4) Reset FB Seceret Key
5) Removed and Rebuilt Secret in Admin
6) Cache is Disabled. Also cleared it manually.
The extension works OK during the checkout process for both new and existing users.
initial url: https://www.site.com/checkout/onepage/
success url: https://www.site.com/checkout/onepage/index/#_=_
The extension is not working for me on my create account page or my logon page for both new users and existing users.
initial url: https://www.site.com/customer/account/create/
fail url: https://www.site.com/customer/account/create/undefined?1376833739813#_=_
I am not sure what the undefined means.
initial url: https://www.site.com/customer/account/
fail url: https://www.site.com/customer/account/login/#_=_
I also tried setting the Facebook site URL to https to see if that would make a difference.
Is this page supposed to react if you go to it?
http://www.site.com/socialconnect/facebook/connect/
Any help is greatly appreciated.
I entered the “real” site URL in your webform. Thanks.
Joe
Hi Marko
After clicking Accept button on the “request for permission” page, I was directed to the page below and got the 404 error message. http://www.tuyetnhunggolf.com.vn/socialconnect/google/connect/?state=5b0c18b4afe3e2757691242dc7401fff&code=4/sQVB46H2248Pa_3aXiNpXZiEZRLR.ovNqk-uMXx4eXE-sT2ZLcbRX_9gdgQI . What should I do
Marko,
Thanks for the quick response. My site is not running compilation process. I tried running it and retesting – but that did not work either. Same error. So I disabled it again.
Can I PM you my URL info?
Thanks,
Joe
@Joe
Your problem is definitely compiler since Magento is searching for class that doesn’t exist at includes/src. You should log into your server account using SSH and fully disable compiler using following command from Magento root:
Again, good luck!
Hi Great extension – thank you. I am using a custom theme.
When I click Create or Login from My account or Create Page — using Facebook — it just redirects me back to the My Acocunt page and does nothing. (I’ve deleted myself as customer in the backend admin to test)
It works fine in the checkout page. Any ideas?
Best regards,
Joe
Hi Joe,
you’re welcome. Since both checkout and login buttons use exact same code this is kind of weird. You should do the usual clean all cache / reindex / start compilation process and then go to your Facebook account to revoke token issued for your site so you could get a clean start with Facebook authentication provider. Hope this helps.
Cheers!
when i copy the files i get this error Fatal error: Class ‘Inchoo_SocialConnect_Model_Resource_Setup’ not found in /home/wikitecn/public_html/includes/src/Mage_Core_Model_Resource_Setup.php on line 234
Hello,
your site is most probably using Magento compilation. Because of that you must run compilation process after adding new extensions. Just go to System -> Tools -> Compilation and click “Run Compilation Process”.
Good luck!
Hi Marko,
Thanks for prompt response! I think I work it out. It is my fault, I should click “run compilation process” firstly after installation. I re-installed the plugin and re-compiler. It works perfect now.Thanks for great plugin.Best wishes,
I disabled the compilation and installed plugin. I set up the google plus,twitter and facebook login, the plugin works perfect. But I re-enable the compilation, the website get 500 error. Both front and back end can not open.
Only after I remove the fold “inchoo” under “community”, the website is back to normal. I am wondering what the problem is,could you help?
@kevin
Hello Kevin, I’ve tested Inchoo Social Connect with compilation enabled before release (although briefly) and if I remember correctly I encountered no errors. What I can recommend from top of my head is for you to check file system permissions and ownership on both
app/code/community/Inchoo
andincludes/src
because not being able to access/modify these locations could trigger error 500. But many other things trigger the same error so this might not be the exact reason, but this would be the first thing I would check.Regards,
Marko
Thanks for your reply. The issue I have is that when Icopy across all your folders into my file structure, your extension automatically inserts itself into my registration page/login, etc. Is there a way to stop this happening, so I have control over where the functionality appears?
Should I be copying your extension folders into my theme folder, rather than base?
Appreciate that this goes beyond the call of duty Mark, and I understand if you don’t have time to answer 🙂
@Ben Dobson
Since Inchoo Social Connect keeps it’s frontend code inside base/default, you should copy layout update XML file
app/design/frontend/base/default/layout/inchoo_socialconnect.xml
and required template files from
app/design/frontend/base/default/template/inchoo/socialconnect/
to you’re theme’s directory. Then you can make changes where necessary and let Magento fallback system handle the rest of template files.
Alternatively you could also use you’re theme’s local.xml to modify Social Connect layout update XML to your liking but first approach is probably easier to get started with.
Regards,
Marko
@Ben Dobson
Integrating into custom theme shouldn’t be that difficult since every Social Connect button is in it’s own independent and self sustained Magento block.
This way you can use Magento layout to add one or more Social Connect buttons anywhere inside your theme. Here’s block XML for Google, Facebook and Twitter buttons:
Just find your layout handle and block name to reference and you’ll have it up and running in no time. As starting point you can use code from my earlier post.
Good luck!
Thanks Marko, the only painful thing is trying to integrate it into a custom theme 🙂
@Ben Dobson
Hello Ben,
I’m glad Inchoo Social Connect works well for you.
Regarding bug fixes and improvements, for now this post is the place where I’ll publish future release notifications and changelogs. I’m aware this isn’t a perfect solution and I’ll see what can be done regarding more automated distribution channel for Inchoo Social Connect.
Thanks for your interest and stay tuned for future updates.
Regards,
Marko
This is a great extension and works really well. Is there any way to keep up with any updated or progress with this in terms of bug fixes and improvements?
Thanks
Hello
now works all Social connect and Google connect in one magento site. After test No bugs and all works good. Google redirect problem is www,exmpale,com and ecample.com
@Jav:
The error:
Fatal error: Class ‘FacebookOAuthException’ not found in /home/hot/public_html/magento/app/code/community/Inchoo/SocialConnect/Model/Twitter/Client.php on line 226
was caused by bug in the code fixed inside version 0.2.2 published a few minutes ago. Even with new version if code is at line 226 this means something inside Twitter Developers page isn’t configured correctly for your site URL.
Enjoy!
Hello When logon usaing twetter anc click MyAccount > Twitter connect have a error
Fatal error: Class ‘FacebookOAuthException’ not found in /home/hot/public_html/magento/app/code/community/Inchoo/SocialConnect/Model/Twitter/Client.php on line 226 Magento is 1.7.0.2 theme is default
This is eror
redirect_uri_mismatch
The redirect URI in the request: http://hot.org/magento/index.php/socialconnect/google/connect/ did not match a registered redirect URI
Facebook works tweeter works google 1+ not works
When connect using only Google connect wztension works
You just need to update redirect URI on Google APIs Console to:
http://hot.org/magento/index.php/socialconnect/google/connect/
This is because it appears your Magento installation has URL rewrites disabled or somehow URL rewrites aren’t functioning properly, hence the index.php in the URL. After you give Google proper URL, Google+ should also start working.
Regards!
Hello
For google 1+ connect do you fix bug when have subdomain ( http://example.com/magento.) In extension google connect (only) you fix this problem In new extension problem is the same
@hotmonitor:
Hello,
I’ve tried to reproduce issue with Magento being installed inside subdirectory. I’ve tested at
http://community.com/magento/
with latest Inchoo Social Connect version without success.Bug fix from Google Connect is included with Social Connect so this shouldn’t be and issue. What’s the exact error you’re getting?
Regards
@naveen:
Always happy to help 🙂
@Marko Martinovic:
Thankyou it is working fine now, Thankyou for your Greate support.
Thanks for this wonderful share. Have you done any checkout page customizations. I need to show the cart details with an inline quantity update link and total order prize in the section of shipping method tab in checkout page. it would be of great favour if you can share or give some guidelines to achieve this. I am a bigginer in magento
I have did this changes, but when i did normal store login from checkout page, it is redirecting to “myaccount” page, how can i redirect it to billing section ?
@naveen:
Hello, this was an issue in Social Connect code and I’ve fixed it inside version 0.2.1 published a few minutes ago. If you apply your modifications to this new version and clear your browser history everything should work as expected.
Regards
I have integrated this custom plugin it is awesome, now how can i disable the social buttons except from checkout page, i want Social login buttons only in check out page(if not already logged in), how can i achieve this?
Thanks in advance
@Naveen
Hi, I’m glad you found Inchoo Social Connect useful. By default buttons are added to login, create an account and checkout page. To do these changes just open your favorite text editor and navigate to:
app/design/frontend/base/default/layout/inchoo_socialconnect.xml
To remove buttons from login page remove following XML node:
To do the same thing for create an account page remove following XML node:
Now save your changes and clear Magento cache.
Enjoy!
Besides using Google and Facebook, Inchoo Social Connect v0.2.0 allows your customers to login or create an account using their Twitter credentials.
Enjoy!
Thanks Marco. There is one more thing after successfully logging in from facebook i am redirected to dashboard. At dashboard, there is a change password option. Now how can a customer change a password when he never provided one. How this works.
@Farooq
You’re welcome Farooq, I’m glad to be of assistance. If new Magento customer account has been created during Facebook connect process, customer will receive his “regular” username and password by email. This way he can login using “regular” or Facebook credentials at any time.
Regards!
facebook plugin takes me to facebook where after login i see following error and hence i am not able get it work.
Unable to Connect to ssl://graph.facebook.com:443. Error #1937303515: Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?
help anyone?
@Farooq
This error is thrown by fsockopen related PHP functions because your PHP has Open SSL support disabled and Facebook Graph API is using HTTP secure. Most Linux distos have PHP Open SSL support enabled so I guess you’re using Windows. If this is the case, just open your php.ini, find
;extension=php_openssl.dll
line and uncomment it like thisextension=php_openssl.dll
. Then restart Apache and all should be working again.Good luck!
@Marko – Great news!, i’m launching on monday and would like not to miss birthdays. The old facebook connect works great for me. It sets the gender and from the looks of the code, it should set the birthday. Can it be a problem of different formats?
if(isset($standardInfo[‘birthday’]) && count(explode(‘/’,$standardInfo[‘birthday’]))==3){
$dob = $standardInfo[‘birthday’];
if(method_exists($this,’_filterDates’)){
$filtered = $this->_filterDates(array(‘dob’=>$dob), array(‘dob’));
$dob = current($filtered);
}
$customer->setDob($dob);
}
Hello i am just a week using MAGENTO . very newbie . after download Inchoo Social Connect Magento extension zip package,how to install .i use magento connect and Direct package file upload but got error.
CONNECT ERROR: Package file is invalid
anybody help please.thx
@Adrian:
No worries, setting gender and birthday will be in the next version currently under development.
Regards!
Hi Marko!
The gender and birthday is not getting set in the magento db. How can i update to push this to the normal user profile that i see in magento backend?
Thank you!
Hi Marko!
Great extensions, but I was install your Google connect extension before one week. Now I want to install these Social Connect extension and i have one question. How to remove easy Google connect before I install Social Connect.
Hello Alex,
to remove Inchoo Google Connect files something like following command from root of your Magento installation should do the trick:
Cheers!
@John:
Here’s path to the file from base package default theme that handles login step of checkout page:
You should locate matching template file in your theme and modify it to include call to;
to include whole checkout block. You can also include only Connect buttons following steps outlined here.
Good luck!
Thanks Marko, works like a charm.
Now As i have another template as the default one, I can not see the button at the checkout page.
Which file do I need to change?
Thank you so much
@John:
If you don’t have URL rewrites enabled, your site URLs contain index.php and you must take this into an account when creating Google project or Facebook application. So correct “Authorized Redirect URIs” in your case would be:
http://www.example.com/index.php/socialconnect/google/connect/
not
http://www.example.com/socialconnect/google/connect/
Good luck!
@sudheer:
Unfortunately navigating Magento layout files can be tricky and there is no one solution that fits for all Magento themes. I recommend you find someone with some Magento knowledge to assist with this task.
Thank yo so much. Great Tool.
I still have an issue. Followed the procedure, but i get this error :
The redirect URI in the request: http://www.xxxxxxx.com/index.php/socialconnect/google/connect/ did not match a registered redirect URI
Please also tell, where exactly the XML file is located which is to be edited to get login social icons on it.
Most probably the XML file is some where in APP folder.
Hello Marko, awesome work again.
I need to ask in my store dev.10kya.com , i want to put these two login button on Home page itself. How should i proceed with. I am not pro in magento but i am familiar with basic HTML CSS.
If you can tell in detail, i am sure i can make it work.
As always, I like your article very much, Marko. Great tutorial.
Great free extension Marko / Inchoo and congratulations again on becoming a Gold Solution Partner.
I have added this to my Magento based price comparison site (see author link) but wondering if it would be useful to also add these social login buttons to the default Sign Up page as if you have this link in your header etc people will miss this if they go direct to the Create an Account page?
Hi Andy, thanks.
Yes, you’re right, adding buttons to Create an Account page is a great idea, and It’ll definitely go into the next release. Until this happens, if you have some Magento experience, you can add Google or Facebook Connect button to any Magento page (as identified by
your_handle
) by modifying layout xml with:If
your_block
block is of core/text_list type, buttons will be rendered automatically. If this isn’t the case you should modifyyour_block
template with following for Google Connect button:or following for Facebook Connect button:
Cheers!
This article information was very useful. Your team guys Good thinking for the visible screenshots and steps.
Thanks Anže,
I hope you’ll find this code useful.
Marko, you are awesome!!