You made it all the way down here so you must have enjoyed this post! You may also like:

Google Connect Magento extension Marko Martinovic
Marko Martinovic, | 60

Google Connect Magento extension

Simple social sharing buttons in Magento Srdjan Stojiljkovic
Srdjan Stojiljkovic, | 51

Simple social sharing buttons in Magento

Building a “Facebook Like” button extension for Magento in 15 minutes Branko Ajzele
Branko Ajzele, | 9

Building a “Facebook Like” button extension for Magento in 15 minutes

399 comments

  1. 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

    1. 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.

  2. 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

    1. Hi, were you able to find the solution? I am also getting this 403 Forbidden error on same step.

  3. 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/***,

  4. Hello there,

    ‘customer_register_success’ event is not working from this module.can you please suggest edit file?

  5. 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?

  6. hi im using your plugin but i encountered a “Error: redirect_uri_mismatch” can you help with this?

  7. 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?

  8. 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

    1. 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

  9. 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

  10. 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.

  11. 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

  12. 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….

  13. 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:

    $userInfo = $client->api('/me', 'GET', array('fields'=>'id,first_name,last_name,email,...'));<code></pre>
    
    (I added the API version to all URIs in Model/Facebook/Client.php (OAUTH2_SERVICE_URI, OAUTH2_AUTH_URI, OAUTH2_TOKEN_URI). I didn't test if it's necessary functionality-wise by I think it's kinda useful considering future changes.)
    
    <strong>Twitter API</strong>
    Twitter didn't hand out their users' email addresses when this extension was written, now it does - well, with a little convincing at least and as long as the user has confirmed their email address. (<a href="https://dev.twitter.com/rest/reference/get/account/verify_credentials" title="Twitter Docs">read up here</a>).
    In order to get and use the user's email from Twitter I made a small change in TwitterController.php (within <em>_connectCallback()</em> again)  where the $client->api method is called:
    <pre><code>$userInfo = $client->api('/account/verify_credentials.json', 'GET', array('include_email' => 'true', 'skip_status' => 'true'));
    $fallbackEmail = sprintf('%s@twitter-user.com', strtolower($userInfo->screen_name));
    if(!isset($userInfo->email)) $userInfo->email = $fallbackEmail;

    (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.

  14. 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

  15. 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.

  16. 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.

  17. 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?

    1. 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.

  18. Can we call below code twice in a single page?
    $this->getLayout()->createBlock(‘inchoo_socialconnect/google_button’)->setTemplate(“inchoo/socialconnect/google/button.phtml”)->toHtml();

  19. Facebook login works only for the account created few years back.This is not working for new accounts.

  20. 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.

    1. 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’);

  21. 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.

    1. Please its redirecting me back to my website login and i get this url “http://mywebsite.com/customer/account/login/#_=_”

  22. 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?

  23. 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.

  24. 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”

  25. 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

  26. 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”;}

  27. {“error”:{“message”:”Invalid redirect_uri: Given URL is not permitted by the Application configuration”,”type”:”OAuthException”,”code”:191,”fbtrace_id”:”AJ0DnABEH5d”}}

    1. {“error”:{“message”:”Invalid redirect_uri: Given URL is not allowed by the Application configuration”,”type”:”OAuthException”,”code”:191,”fbtrace_id”:”ASKjIZT2CYg”}}

  28. Hi, in custumer account how to put url secure ssl ( socialconnect/account/google/ and socialconnect/account/facebook/ ) how file i need edit?

  29. 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.

    1. 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!

  30. 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.

    1. 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:

      $userInfo = $client->api('/me');

      to

      $userInfo = $client->api('/me?fields=id,name,first_name,email,last_name');
  31. I am getting error: Sorry, could not retrieve your Facebook first name. Please try again in Magento 1.9.2.0

    1. 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:

      $userInfo = $client->api('/me');

      to

      $userInfo = $client->api('/me?fields=id,name,first_name,email,last_name');
    1. I am facing the same issue while running application in local. Did you get a solution?

  32. 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

  33. 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..! ! !

  34. 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

    {
       "error": {
          "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration",
          "type": "OAuthException",
          "code": 191,
          "fbtrace_id": "HeNfEIM6feb"
       }
    }

    for Facebook’s. I used the same information for all 3 apps… anyone have any ideas what could be wrong?

  35. 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

  36. 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.

  37. 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?

  38. 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

    1. 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

  39. Hi,
    It’s showing error after account permission “Unspecified OAuth error occurred” in google login. How can I solve this error.

    1. It’s showing error after account permission “Unspecified OAuth error occurred” in google login. How can I solve this error. any body help

  40. 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

  41. 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

  42. 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

  43. 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

  44. 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!

  45. 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?

  46. 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.

    1. 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?

    2. 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.

  47. 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

  48. 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.

    <input type="hidden" name="success_url" value="getSuccessUrl() ?>" />
                <input type="hidden" name="error_url" value="getErrorUrl() ?>" />
                <input type="hidden" name="form_key" value="getFormKey() ?>" />
    
    
  49. Worked like a charm!

    About Facebook login problem. I just did the fix what Petru said and works fine!

    Please, always update this extension! 🙂

  50. 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.

  51. If a user email is not confirmed then login with facebook gives error. Any one has idea why and how to resolve this?

  52. Is this extension is working with code setup on local machine with some virtual host like magento.abc.local.

  53. 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.

  54. 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.

  55. Error occurring:
    {
    “error”: {
    “message”: “Missing redirect_uri parameter.”,
    “type”: “OAuthException”,
    “code”: 191,
    “fbtrace_id”: “HRSLP1c3Dgp”
    }
    }

  56. 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?

    1. 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+

  57. 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.

    1. 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’);

  58. 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

    $this->params 
    to
    
    
    array (
         'fields' =>
         'id,name,first_name,last_name,link,birthday,gender,email,picture.type(large)'
     )
    
    It will be like this :
    
    
    $response = $this->client->api(
                    '/me',
                    'GET',
                    array(
                            'fields' =>
                            'id,name,first_name,last_name,link,birthday,gender,email,picture.type(large)'
                        )
                );
    
    1. 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.

  59. 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?

  60. 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

  61. 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.

  62. 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.

  63. 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.

  64. Thanks, Its working.
    But in facebook it giving below error
    ” Sorry, could not retrieve your Facebook first name. Please try again. ”
    why?

    1. 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’,

      }
      }

    2. This solution was given by great author, Marko Martinovic
      i am just suggesting you follow his code.

  65. 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

  66. 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

  67. Twiiter application getting http_request error
    Zend/Oauth/Http/RequestToken.php(51): Zend_Oauth_Http->startRequestCycle(Array)

  68. 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

  69. 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.

  70. 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

    1. Thanks sanchi,
      I have resolved my facebook login issued with above solutions.

  71. 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

    1. 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.

  72. The same error – Sorry, could not retrieve your Facebook first name. Please try again.
    What is the reason for that?

  73. 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.

  74. 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?

  75. 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

  76. 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 ?

  77. 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,

  78. 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..

  79. 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.

  80. 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

  81. 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

    1. Did you try flushing your magento cache, logging out and logging in again? That usually works, not for this extension only, but for many.

  82. 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

  83. 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

  84. Getting this msg “This authorization code has been used” when login through FB.
    Could you plz help me to resolve this issue? Thanks

  85. Hiiiiii Dear i want to configuration social login in my one step checkout but not working this so plsease help me.

  86. 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.

  87. 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 ^^

  88. 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

  89. 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

    1. 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

  90. 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.

  91. 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?

  92. 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

  93. 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

  94. 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

    1. 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!

  95. 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.

  96. 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!

  97. 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

    1. 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

  98. 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:

  99. 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

    1. 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

  100. 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?

    1. 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?

  101. 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…

  102. 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?

  103. 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

  104. 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!)

  105. 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?

  106. 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

  107. 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”.

  108. 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 ?

  109. 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??

  110. 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

  111. 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

  112. 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?

  113. Found bug:

    In this module we don’t have redirect fucntion in Helper calss.

    Mage::helper('inchoo_socialconnect')->redirect404()

  114. 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

  115. 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 ??

  116. This plugin will throw an error if you are using PHP version 5.5.

    empty($info->getFristName())  // throws error

    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.

  117. 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!

  118. 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?

  119. 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

  120. Hi Razvan, can you tell me how did you solved these issue “Invalid attribute name: inchoo_socialconnect_fid”

  121. 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

  122. 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.

  123. 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.

  124. 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:

    <?php echo $this->getChildHtml('inchoo_socialconnect_facebook_login_button'); ?>

    in my checkout phtml and updating the xml of my checkout page with:

    <block type="inchoo_socialconnect/facebook_button" name="inchoo_socialconnect_facebook_button" />

    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

  125. 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.

  126. 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!

  127. 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.

  128. 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

  129. 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?

  130. 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.

  131. 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!

  132. 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:

    <?php if($this->_facebookEnabled()): ?>
        <div class="<?php echo $this->_getButtCol(); ?> inchoo-socialconnect-login-lower-facebook">
            <div class="buttons-set">
                <?php echo $this->getChildHtml('inchoo_socialconnect_facebook_login_button'); ?>
            </div>
        </div>
    <?php endif; ?>

    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

  133. 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.

  134. 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

  135. 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.

  136. 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.

  137. I also want to know if this extension works on Mobile devices? And how to move the social login button to homepage?

    Thanks,
    JIe

  138. 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

  139. 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!! 🙂

  140. 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

  141. 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.

  142. 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.

  143. 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?

  144. @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…

  145. 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…

  146. 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

  147. Marko, would u be able to shed some light on the “unsupported image format” issue? This happens on twitter/fb acc without profile pics

  148. @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!

  149. 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.

  150. Thanks for the great and clean plugin! I’m having trouble displaying the buttons. I see it uses a

    echo $this->getChildHtml('inchoo_socialconnect_google_login_button') 

    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.

  151. 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

  152. 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.

  153. 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?

  154. 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

  155. 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

  156. 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”;}

  157. @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.

  158. 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

    1. 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

  159. 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

    1. @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

  160. 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/

    1. @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!

  161. 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

  162. 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!

    1. @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!

  163. @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!

  164. 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 🙂

  165. 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?

  166. 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

  167. 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.

  168. 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?

  169. 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 🙂

  170. @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

  171. 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

  172. 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

    1. 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!

  173. 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

  174. 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.

  175. Hi

    After instalation i’m getting this error Invalid attribute name: inchoo_socialconnect_fid.
    Any suggestions?
    Thx

  176. 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.

  177. 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:

    http://www.example.eu/storecode/socialconnect/facebook/connect/?code=AQBoR7Amt1NFujpWny9oXtOY0L1R-gq0nByHDbhWzw13NfacQPh2V5SXHgfq10ANp0PbCnD7UoUVlHiZ7wINJX-OM_c4FWLrquK5F7XMqQhGNZ-NpkVjrWMAJajpjPLBb1KNmMap2VDMi3muibfgoaoxVVrIG1IdXfAh7hfpWF_GurpVvaZq5293_5-fAE3d_QRrvXNJ6OJQ1uL34zGJZyqHNSHBuMzF01VA-_THU2e7aYOsd28Ylr4i4oxvmTYb_QYLSd6i8r9NgdtAjVhCwxLgaeduM8SAA29-xe5XtitQKKfujyJvJemb66-trRt0KrE&state=180b3597d473eae8337e974b5a1e9d4d#_=_

    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

  178. 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.

  179. 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}

  180. 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”;}

  181. 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.

  182. 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

    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

    1. 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

  183. 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

  184. 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?

  185. 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/

    1. Hello Jugal,
      don’t worry it’s just a styling issue. Inside:

      app/design/frontend/base/default/template/inchoo/socialconnect/google/button.phtml

      <div class="clearer">
          <div class="inchoo-socialconnect-google">
              <div class="inchoo-socialconnect-google-inner">
                  <a href="<?php echo $this->escapeUrl($this->_getButtonUrl()); ?>"><?php echo $this->_getButtonText(); ?></a>
              </div>
              <div class="inchoo-socialconnect-google-right"></div>
          </div>
      </div>

      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:

      <div class="inchoo-socialconnect-google">
          <div class="inchoo-socialconnect-google-inner">
              <a href="<?php echo $this->escapeUrl($this->_getButtonUrl()); ?>"><?php echo $this->_getButtonText(); ?></a>
          </div>
          <div class="inchoo-socialconnect-google-right"></div>
      </div>

      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!

  186. 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!

  187. @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.

  188. 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?

  189. @upt

    Hello, try clearing Configuration cache type for Magento to pickup new system.xml code.

  190. I’ve merged contents of zip package, but I’m can’t find something like “Social Connect” in System -> Configuration -> Customers -> Customers Configuration.

  191. 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.

  192. 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.

  193. 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

    1. @Dean:

      Hi, this shouldn’t happen:

      Something is wrong on your Magento install:

      The problem is in line 39:

      <h3>< ?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>< ?php echo $this->__('Checkout as a Guest or Register') ?>< ?php else: ?>< ?php echo $this->__('Register to Create an Account') ?>< ?php endif; ?></h3>

      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!

  194. 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

    1. @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!

  195. 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??

  196. 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

  197. 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

    1. @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!

    1. @Eduardo:

      Just remove all files from ZIP package of version you have installed.

      Regards

  198. @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!

  199. Hi, where to create the Authorized Redirect URIs and Authorized JavaScript Origins setting in facebook developer page? i can’t find it

  200. 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.

  201. @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.

  202. 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??

  203. 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

  204. 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

    1. @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:

      $ php -f shell/compiler.php -- clear
      Compilation successfully cleared

      Again, good luck!

  205. 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

    1. 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!

  206. 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

    1. 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!

  207. 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,

  208. 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?

    1. @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 and includes/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

  209. 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 🙂

    1. @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

  210. @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:

    <block type="inchoo_socialconnect/google_button" name="inchoo_socialconnect_checkout_google_button" />
    <block type="inchoo_socialconnect/facebook_button" name="inchoo_socialconnect_checkout_facebook_button" />
    <block type="inchoo_socialconnect/twitter_button" name="inchoo_socialconnect_checkout_twitter_button" />

    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!

  211. @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

  212. 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

  213. 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

  214. @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!

  215. 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

    1. @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.

      inchoo-social-connect-test

      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

  216. 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

  217. 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 ?

    1. @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

  218. 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

    1. @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:

      <customer_account_login>
          <reference name="head">
      	<action method="addItem">
      	    <type>skin_css</type>
      	    <name>inchoo_socialconnect/css/styles.css</name>
      	</action>
          </reference>
          <reference name="content">
      	<block type="inchoo_socialconnect/login" name="inchoo_socialconnect_login">
      	    <block type="inchoo_socialconnect/google_button" name="inchoo_socialconnect_google_login_button" />
      	    <block type="inchoo_socialconnect/facebook_button" name="inchoo_socialconnect_facebook_login_button" />
      	    <block type="inchoo_socialconnect/twitter_button" name="inchoo_socialconnect_twitter_login_button" />
      	</block>
          </reference>
      </customer_account_login>

      To do the same thing for create an account page remove following XML node:

      <customer_account_create>        
          <reference name="head">
      	<action method="addItem">
      	    <type>skin_css</type>
      	    <name>inchoo_socialconnect/css/styles.css</name>
      	</action>
          </reference>
          <reference name="customer_form_register">
      	<action method="setTemplate" >
      	    <template>inchoo/socialconnect/customer/form/register.phtml</template>
      	</action>
      	<block type="inchoo_socialconnect/register" name="inchoo_socialconnect_register">
      	    <block type="inchoo_socialconnect/google_button" name="inchoo_socialconnect_checkout_google_button" />
      	    <block type="inchoo_socialconnect/facebook_button" name="inchoo_socialconnect_checkout_facebook_button" />
      	    <block type="inchoo_socialconnect/twitter_button" name="inchoo_socialconnect_checkout_twitter_button" />
      	</block>
          </reference>        
      </customer_account_create>

      Now save your changes and clear Magento cache.

      Enjoy!

  219. 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!

  220. 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.

    1. @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!

  221. 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?

    1. @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 this extension=php_openssl.dll. Then restart Apache and all should be working again.

      Good luck!

  222. @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);
    }

  223. 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

  224. @Adrian:

    No worries, setting gender and birthday will be in the next version currently under development.

    Regards!

  225. 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!

  226. 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.

    1. Hello Alex,
      to remove Inchoo Google Connect files something like following command from root of your Magento installation should do the trick:

      rm -fR modman README.md app/code/community/Inchoo/GoogleConnect app/design/frontend/base/default/layout/inchoo_googleconnect.xml app/design/frontend/base/default/template/inchoo/googleconnect app/etc/modules/Inchoo_GoogleConnect.xml lib/GoogleApiPhpClient skin/frontend/base/default/inchoo_googleconnect

      Cheers!

  227. @John:

    Here’s path to the file from base package default theme that handles login step of checkout page:

    app/design/frontend/base/default/template/checkout/onepage/login.phtml

    You should locate matching template file in your theme and modify it to include call to;

    <?php echo $this->getChildHtml('inchoo_socialconnect_checkout')?>

    to include whole checkout block. You can also include only Connect buttons following steps outlined here.

    Good luck!

  228. 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

  229. @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.

  230. 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.

  231. 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.

  232. 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?

    1. 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:

      <?xml version="1.0" encoding="UTF-8"?>
      <layout>
          <your_handle>
              <reference name="your_block">
                  <block type="inchoo_socialconnect/google_button" name="inchoo_socialconnect_google_button" />
                  <block type="inchoo_socialconnect/facebook_button" name="inchoo_socialconnect_facebook_button" />
              </reference>
          </your_handle>
      </layout>

      If your_block block is of core/text_list type, buttons will be rendered automatically. If this isn’t the case you should modify your_block template with following for Google Connect button:

      <?php echo $this->getChildHtml('inchoo_socialconnect_google_button'); ?>

      or following for Facebook Connect button:

      <?php echo $this->getChildHtml('inchoo_socialconnect_facebook_button'); ?>

      Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <blockquote cite=""> <code> <del datetime=""> <em> <s> <strike> <strong>. You may use following syntax for source code: <pre><code>$current = "Inchoo";</code></pre>.

Tell us about your project

Drop us a line. We'd love to know more about your project.