Related Inchoo Services

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


  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 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*****, how can i change it to as in tutorial it redirect to***,

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

    #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’);



    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()) {


    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 “”, 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.


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

  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, 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="" 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('', 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.

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.