Git Product home page Git Product logo

inchoo_socialconnect's Introduction

SocialConnect

SocialConnect is a Magento extension allowing your customers to login or create an account at your store using their Google, Facebook, Twitter or LinkedIn account.

Inchoo is not affiliated with or in any way responsible for this code. Commercial support is available directly from the extension author.

inchoo_socialconnect's People

Contributors

andreisena avatar az-iar avatar danieledr avatar enriquei4 avatar esadtatlipinar avatar joh-klein avatar kingisulgard avatar leonb avatar marko-m avatar mbijnsdorp avatar mpalasis avatar norgeindian avatar ozee31 avatar rob3000 avatar schrank avatar sintesia avatar sprankhub avatar sylvainraye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inchoo_socialconnect's Issues

How to fix "Sorry, could not retrieve your Facebook first name. Please try again." , please?

Hi,

First, many thanks for your free but perfect Social Connect module.

Now we are using Magento 1.9.2.3 and Social Connect 0.3.7. In fact, when I just installed the Social Connect 0.3.7 on Magento 1.9.2.2, it's ok for Facebook account but after updated Magento 1.9.2.3, it show "Sorry, could not retrieve your Facebook first name. Please try again.".

I ever googled the solution and tryed to add "$this->params[‘fields’] = ‘first_name,last_name,email’;" but it still can't work.

I also tried to change "array('fields' => implode(',', $this->params))" to "array('fields' => 'id,name,first_name,last_name,link,birthday,gender,email,picture.type(large)')" and it can't work also.

So could you help us to fix this problem, please? You can check our store by https://www.herawigs.com .

Many thanks in advance.

Notice: Undefined property: stdClass::$email

We are using this extension for our store.
Today when i was checking the system.log, I saw the following error being logged:

Notice: Undefined property: stdClass::$email which refer to the following code:
Inchoo_SocialConnect_FacebookController::_connectCallback()

Mage::helper('inchoo_socialconnect/facebook')->connectByCreatingAccount(
                $userInfo->email,
                $userInfo->first_name,
                $userInfo->last_name,
                $userInfo->id,
                $token
            );

TODO: Facebook, ask customer to input email manually

Under some specific conditions facebook will not return the email amongst the other data in the final redirect to /socialconnect/facebook/connect/

TODO: Apply modifications where needed to ask the customer to enter email address manually if it's missing from the redirect.

Priority low, because it will work the first time as intended, but if the user (see: me) plays with it a bit and adds/removes/disconnects etc, then fb will stop giving the email. Unknown if this will also occur under other scenarios. Tip: FB will not give the email if the app is already accepted/authorized in the FB account, but will silently succeed without asknig for reauthorization of the data the app can see.
Alternate fix: have the module ask for the specific email data on the fly ?

facebook connect problem

I'm having a facebook connect problem,
below is the error that is returned to me by api:

error
message "Unable to load URL: The domain of this URL is not included in the application domains. In order to load this URL, add all domains and subdomains to the Application domains field in the application settings."
type "OAuthException"
code 191
fbtrace_id "B3UVKFThWZU"

Someone would have some solution to solve this

Empty redirect

Hi

When we try to login using facebook login, it redirects to the same page with the following parameters: #=

What am I doing wrong?

Thanks

Error in facebook login

sorry, could not retrieve your Facebook first name. Please try again.

showing this error in facebook login.

copy/paste error?

is line 131 $customersByEmail = Mage::helper('inchoo_socialconnect/facebook') in

app/code/community/Inchoo/SocialConnect/controllers/GoogleController.php

a copy/paste bug?

Used extension in popup

Hello,
I used this extension on popup,its working perfectly but I have issue regarding redirect.
After login, i want to close my all popup and redirect in customer account page.

What can i do?

Thanks.

Error displaying picture to http://example.com/demo/socialconnect/account/facebook/

in customer panel has the link to access the data connection with facebook
http://virtuato.com.br/demo/socialconnect/account/facebook/
following image of the area in question !
https://docs.google.com/file/d/0B6bX6ZYLakaSZklVazJZZFdkV0U/edit?usp=drivesdk

may notice this as there not showing the image of the User , as I commented that part because I was giving the following error :
a: 5 : { i : 0 ; s : 93 : "Unable to Connect to ssl :/ / fbcdn -profile- a.akamaihd.net : 443 Error # 110 : Connection timed out . " ; i : 1 , s : 3845 : " # 0 / home / virtuato / www / demo / lib / Zend / Http / Client.php ( 973 ) : Zend_Http_Client_Adapter_Socket - > connect (' fbcdn -profile- a ...' , 443 , true)

I tried to trace the method that pulls that URL and came to the following method in this class Inchoo_SocialConnect_Block_Facebook_Account :
protected function _getPicture ( )
    {
        if ( ! empty ($ this-> userInfo - > picture ) ) {
            return Mage :: helper (' inchoo_socialconnect / facebook ' )
                    - > getProperDimensionsPictureUrl ( $ this - > userInfo - > id ,
                            $ this - > userInfo - > picture - > data-> url ) ;
        }

        return null;
    }

I was unable to track down and where does this URL requested by the following:
$ this - > userInfo - > picture - > data-> url

could you give me a light ?
congratulations on taking advantage of extension , it is very good ....

License?

Can you please tell me what the license is?

setInchooSocialconnect*token

If I understand it correctly, the token is only stored when I create a new account or connect with a social account for the first time. I am asking, because when I load the token setInchooSocialconnect*token later on, token->created is not set to the last time the token was created and isAccessTokenExpired is always true. Shouldn't the token be also stored e.g. in getCustomersByGoogleId?

Problem with Cookie Domain

In some cirunstances you have to set .example.com as domain in Magento

magento

The extension creates the cookie .www.example.com (frontend cookie) and gives problem with login, at least with Facebook. We can't login either with FB or Magento after first try. Until we clear the cookies.

The problem is related that the extension creates a cookie with no domain, instead of use the correct domain based on settings.

Facebook Login and Register Error

For the last couple of days, Facebook registration and login is giving an error of Email is required.

How can we resolve this issue?

Thanks

google timezone error!

Hi!
when I log in for the first time using goolge, it creates the user with 3 hours of advance, I already checked the timezone of the server and the timezone of the magento itself and both are in the same timezone.

Anyone know what might be causing this?

Gender on Facebook

When I test the component all the accounts that are created as "male". When I check the controller code Facebook I see this IF

             $ gender = $ info-> getGender ();
             if (empty ($ gender)) {
                 $ gender = null;
             } Else if ($ gender = 'male') {
                 $ gender = 1;
             } Else if ($ gender = 'female') {
                 $ gender = 2;
             }

From what I could test $ info-> getGender () returns female / male, but always its saved like male.
I guess when compared with = and not == error occurs.

Notice: Undefined property

Hi I am currently working on my Woo-commerce shop and keep seeing this on my product pages.
Notice: Undefined property: stdClass::$post_name in /home/ennifeu1/public_html/wp-includes/template.php on line 317
It appears just above the product and just below as well, on all the product pages.

I am also trying to figure out how to change the heading on the product pages so it doesn't say "Product Category" just the actual name of the category like "A
screenshot 2015-07-20 11 25 29
screenshot 2015-07-20 11 25 19

ccessories".

This is all very new to me and I have been teaching myself wordpress your help would be greatly appreciated.

Jennifer

Login with facebook not working

Hi,

i have install this extension but when i use login with facebook then i got this error at redirection time.

Fatal error: Call to a member function getId() on a non-object in /home/fpadmin/public_html/testingportal/app/code/core/Mage/Sales/Block/Order/Recent.php on line 68

another google and twitter are working fine. can you plz help me regarding this issue.

Thanks

template update

apologies, but I cannot figure out how to make a pull request without it also giving you the parent changes I have on my branches (I tried rebasing /develop/ but that either didn't do it or I'm missing something) headscratching

Update form/register.phtml template to match the template in Magento 1.9.3.8 release files
changes:

  • uses $this->getMessagesBlock()->toHtml()
    instead of $this->getMessagesBlock()->getGroupedHtml()
  • adds quoteEscape for title attributes
    ie. title="<?php echo Mage::helper('core')->quoteEscape($this->__('Company')) ?>"

Compatibility: I do not know how far back quoteEscape goes, but it's present in the 1.8 codebase

mpalasis@8aca26e

P.S. If you can give me a hint on what to do to make it offer that file only in a pull request or something to make a valid pull request for just this change, I'm all ears :)

Can not login with Facebbok account

Hi,
with the 0.3.7 version we have a problem with Facebook connector on Customer Account Login page.
We have back "Customer email request" error.
What we have to change?
Thanks

Any reason you have not included DOB and Gender for FB login?

I've added these fields and I didn't notice any problems, they get imported perfectly. The parameters are included in the data provided by FB anyway, so why not include it when creating an account?

I can send a PR but I'm wondering if perhaps you have left this out intentionally as there is some issue there that I'm not seeing...

Can not login with google account

Hi,

I am trying to login with google account but in the end of process, it's show error "Unspecified OAuth error occurred". How can I solve this isssue.

Wrong collection filter in Helper/Facebook.php method getCustomersByFacebookId() ?

I'm trying to use getCustomersByFacebookId() in Helper/Facebook.php in my local code.

If I understood this method, it tries to retrieve a collection of all Facebook<->Customer accounts that are already connected. The issue is that $collection always return empty for me, because the last added filter is like this:

if(Mage::getSingleton('customer/session')->isLoggedIn()) {
            $collection->addFieldToFilter(
                'entity_id',
                array('neq' => Mage::getSingleton('customer/session')->getCustomerId())
            );
        }

Shouldn't it be array('eq' => Mage::getSingleton('customer/session')->getCustomerId()) ?

What is this method really trying to do?

Bug with Facebook with confirmation enabled

Hi,

just found a problem with confirmation enabled: the user is succesfully logged in but automatically logged out because the confirmation hash is still set in the database.

Fix:
Inchoo_SocialConnect_Helper_Facebook:103
you shall save the customer before setting confirmation to null, I guess because of a listener that sets the confirmation hash.

        $customer->save();
        $customer->setConfirmation(null);
        $customer->save();

Magento version 1.9.2.2
Module version 0.3.7

Michele

Hello Inchoo

Great Extension !!!

Can you tell me how to change position of those social button on login , register page on magento .
I want to move those buttons just bottom of register button .

Styling Problem

Hi Marko,
Really nice your extensions. Works like a charm.
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 echo $this->getChildHtml('inchoo_socialconnect_facebook_login_button'); ?>

But it did't work. Do you have any other proposals to render your template files within my template file?
Thanks

Onepage checkout template mess

problem:
<template>inchoo/socialconnect/checkout/onepage/login.phtml</template>
doesn't follow persistence/show remember me

I tried figuring out where / how to make a toggle for it but persistence does not appear to follow the regular layout add/remove methods and instead goes via a core module ...
So, now I have to break 'upgradeability' by bodging something together sigh

(even bigger problem:
Magento's persistence template at template/persistent/checkout/onepage/login.phtml is quite different to plain ol' template/checkout/onepage/login.phtml
rolls eyes why has it been broken like this for so long? I have no idea.)

Logging of access tokens and personal data

It would be best not to have personal data and access tokens hanging around in Magento logs. At least make the level debug for these.

It happens in the following places:

  • ./SocialConnect/Model/Google/Client.php: Mage::log($response->getStatus().' - '. $response->getBody());
  • ./SocialConnect/Model/Facebook/Client.php: Mage::log($response->getStatus().' - '. $response->getBody());
  • ./SocialConnect/Model/Twitter/Client.php: Mage::log($response->getStatus().' - '. $response->getBody());

The user is getting redirected to cart page from login and register page

HI, Thanks for making such an awesome plugin. I have this issue where the user is getting redirected to cart page even from the login and register pages. The redirection to cart page is fine if it's from checkout page but the user is getting redirected to cart page from register and login page. Can we change it somehow?

Use on checkout

on the checkout page, if you add the login form, the social logins redirect to account page after login, how can we keep it on checkout page?

Problem with Facebook Login

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

Error: redirect_uri_mismatch

hi i am getting this error below wen i try to log in with google earlier it works fine now it showing this error can you help me to fix this please.

  1. That’s an error.
    Error: redirect_uri_mismatch
    The redirect URI in the request, http://www.parentdigm.com/index.php/socialconnect/google/connect/, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credentials/oauthclient/905359012776-f04d7v0kogqdgouv9ncg1k18d2hhqskh.apps.googleusercontent.com?project=905359012776 to update the authorized redirect URIs.
    dfvaed

Customer Attributes

Can't get the setup sql to run. Tabs show up in admin panel and I can make changes to enable different options. Connecting seems to work but does not save token or id because the columns were not created in the DB. The core_resource table does not have an entry for inchoo socialconnect setup.

Facebook login after create account through FB 500 error.

Hi I am using magento 1.9.2.4 with this plugin.
I created a new user with facebook using this extension.
After this i am trying to login to the account with the facebook login button. It will redirect to "My account" but when clicking on anything it will log out immediatly.. trying to relogin will give an 500 error. The log says:
2016-07-14T14:07:49+00:00 ERR (3): Recoverable Error: Argument 1 passed to Mage_Sales_Model_Quote::setCustomer() must be an instance of Mage_Customer_Model_Customer, null given, called in /export/www/www.brickfever.nl/app/code/core/Mage/Checkout/Model/Session.php on line 166 and defined in /export/www/www.brickfever.nl/app/code/core/Mage/Sales/Model/Quote.php on line 453

You can test this on: www.brickfever.nl

Social Login Issue

Hi All,
I am using this extension on my magento store https://ninobambino.in. When I click on connect to google plus or facebook button then after fetching details , it redirects me to login page. Customer is not logged in with social account

1.7.0.2 does not work

Hello, I have installed the plugin via FTP, wen back to admin and activated the plugin this shows the description in the login page.

Then went to facebook and added the appid and appsecret, it work, the button appears, then I activate login with facebook and add the custom callback url like you say in the tutorial. http://www.example.com/socialconnect/facebook/connect/
This makes the button appear, it detects my app, asks for permissions correctly, but then when is redirect it send me to homepage.

Exactly the same happens to the google+ does not make sense... any ideias?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.