Hello,

I am using the Facbook oAuth module with drupal 7. For some users, there is no issue. The login works perfectly.
For some after they enter their user id and password, they get an error message "An error occured. Please try again later."
They are not redirected to my website. Instead they remain on the Facebook screen which shows them logged into
FAcebook ( They can see their notifications on top) with the error window.

I am running a rule to import profile photos which is not by default part of Facebook oAuth module. This rule allows my
existing drupal users Facebook profile pics to be fetched and stored in database. This is a limited of the oAuth module where
the photos were getting pulled in only for new registrations or first time site user logins.

I am not sure if this code is causing the issue. This code for pic is in #6 http://drupal.org/node/1440346 and it does
work for existing accounts in drupal. I can see the profile pic successfully imported from facebook.

Comments

asheeshjoshi’s picture

Also, the error link is like this on the my address bar

http://MySITE/fboauth/connect?error_code=210&error_msg=User+not+visible#_=_

asheeshjoshi’s picture

Status: Active » Closed (fixed)

I was able to fix this issue. Please close it.

yabusamak’s picture

how did you fixed it because i'm facing the same problem

asheeshjoshi’s picture

For me it did not turn out to be an fboauth issue. The problem was in my App settings in developers.facebook.com. Under advance settings of your App ( Apps->Settings->Advanced), facebook by default sets your Country Restriction to your home country. Hence international users were not able to login to my site. I removed it and it worked for me. I am not sure if this is your issue. All the best.