I have setup a test FB app that I use for local dev, default settings when the app is created. I use drupal for FB to connect to my app and the Permission Dialog shows up correctly, asking for "Access my basic information" AND "Send me email".

I also have a live FB app, that was previously created in Nov 2010, and using drupal for FB to connect the Permission Dialog ONLY shows "Access my basic information". This causes registration to not get a users email and creates a user w/ username "_1".

I've checked my settings on both FB side and my side (drupal for FB settings) and they match my dev settings. Also, from research on the net and in source, it seems that the Permissions Dialog url is built w/in the module based on FB settings. I diff'd the url called from my local dev site and live site and notice that the

perms=email

is missing from the live site url.

Is there a specific setting on the FB app side or Drupal for FB side I'm missing?

Comments

mikeejt’s picture

Status: Active » Closed (duplicate)

After debugging and doing more research, I've narrowed it down to a conflict w/ SSL, specifically Secure Pages. Please see issue #845606: Using FBconnect on a site with ssl - ubercart eshop and issue #1050582: SSL guide with ubercart and drupal for facebook.

To explain my findings, I realized I installed my live FB app prior to installing secure pages. I tested on local dev, and my live app works fine. But yet, on the staging site, it didn't work. I then tested by disabling secure pages, resyncing my fb app (no longer w/ https) and FB connect works.