Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in facebook login #40

Closed
ghost opened this issue Jul 9, 2015 · 9 comments
Closed

Error in facebook login #40

ghost opened this issue Jul 9, 2015 · 9 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2015

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

showing this error in facebook login.

@mostmaz
Copy link

mostmaz commented Jul 9, 2015

i have the very same probleme
could you please guide me for solution if you found it?

@ghost
Copy link
Author

ghost commented Jul 10, 2015

what i was able to find was that this code is working with facebook api v 2.1 .. and if we create a new api now we get api v 2.4 ...

@Marko-M
Copy link
Owner

Marko-M commented Jul 10, 2015

Hello guys,
thanks for reporting. SocialConnect Facebook API client was created over 2 years ago, thus I'm surprised it held for as long as it did. I'll check it out, and if I confirm this, update will be available till the end of July.

Cheers!

@ghost
Copy link
Author

ghost commented Jul 10, 2015

thank you so much marko, your extension has helped us a lot ... would be waiting for your updates ...
if there's any information required on this please let me know ... would be glad to help you :)
thanks once again :)

@mostmaz
Copy link

mostmaz commented Jul 10, 2015

thank you so much would be waiting for your updates

davefreiman pushed a commit to davefreiman/Inchoo_SocialConnect that referenced this issue Jul 20, 2015
Changes:
specify exactly which fields we need when calling /me since facebook wasn't returning enough info otherwise
@davefreiman
Copy link

Note the above patch can be used as a short term solution while @Marko-M works on updating the api client. This is working on my affected sites which was experiencing the above error previously. @mostmaz and @doticonic9 if you want to try my change, feel free and let me know if it works for you!

@ghost
Copy link
Author

ghost commented Jul 21, 2015

@dfry22 thank you your code works !! cheers 👍

@andhiirawan
Copy link

Hi, all, this is what did and work in my Magento 1.9.1.0 :

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)'
                    )
            );

I also comment in Inchoo : http://inchoo.net/magento/social-connect-magento-extension/comment-page-5/#comment-430812

@Marko-M Marko-M closed this as completed in 4e4133c Sep 2, 2015
@nareshphp1
Copy link

I am facing that not fetching profile image when login with facebook. Kindly let me know how it can be..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants