Closed (fixed)
Project:
Facebook Connect
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2010 at 19:27 UTC
Updated:
31 Aug 2010 at 22:50 UTC
Is it just me, or is Facebook no longer providing proxied_email anymore without extending permissions? This is causing problems for fast registration.
Perhaps fbconnect should be updated to have a setting to request the email address, so that we can get either the user's real address or proxied address depending on their choice? And if the user doesn't use this setting, we just autogenerate an email somehow?
Comments
Comment #1
JStarcher commentedI am having the exact same issue. Looks like it's due to the Facebook API updates.
Comment #2
CaptShmo commentedI am having this problem as well
Comment #3
JStarcher commentedAfter extensive research and trial & error, there is no solid answer on this issue. We are writing a FBConnect Graph module which includes pretty much the same functionality as this module but uses the new Facebook Graph API. After 6.5 hours of development it works but with a few minor quirks. Working to get these resolved and then we will contrib. This module will also act as an API interface for Faceboob Graph API.
Comment #4
gorgo commentedHi JStarcher ,
Did you manage to get this module to work?
Any chance you can share your module with the community?
Comment #5
Oscar Illada commentedgreat !!!! when you have, if you want share it ;), Thanx Oscar
Comment #6
internetdevels commentedsubs
Comment #7
mohanrv commentedHow can we autogenerate an email in fbconnect module?
Please help me anybody.
Comment #8
mohanrv commentedwhat we can do in fbconnect module to get proxied_email from facebook? and
How can we pass permission variables to facebook in fbconnect module?
In fbconnect module what I can make changes?
Comment #9
JStarcher commentedThat did not work for me either. The module is done, I'll see what I can do to get it released next week.
Comment #10
mcarbone commentedJStarcher, sounds great. Do you think it would be easy to migrate from this module to the new Graph API one (if one copied over the fbuid/uid data with a mysql query?)
Comment #11
mohanrv commentedJStarcher , any clue to work with the current module like permissions or parameters or javascript changes or php script changes , etc......
because i need to rectify this problem urgently.
Comment #13
mcarbone commentedIt's throwing a bunch of errors before any FB cookies are loaded, and I had to add a base_path() call to where fbconnect_graph.js is added to make it work on my system. (You should use drupal_add_js with the footer scope.) But once I had that working, the basic login button worked and seemed to ask for the right permissions, although I was getting errors when trying to log out.
Also, it lacks some of the features fbconnect has in terms allowing a pass through the registration page, and redirecting back to the page the user logged in from. I also don't know about the auto-login being a default feature that can't be changed.
In general, I think it needs a lot of work, but I think the basic concept is something that would be useful for the community. You probably should start a new project for it if you want the community to start helping out with it, although it may need some more work before getting to that point.
Comment #14
mohanrv commentedAfter a long search i have found one simple solution to retrieve user email with their permission from facebook, please see below
you need to put,
1. perms="email" parameter into fb:login tag (fbconnect.pages.inc) like below,
2. add this { permsToRequestOnConnect: 'email' } parameter as third into FB.Facebook.init() (fbconnect.module) in function fbconnect_render_js() call. line no 649.
I have done with these two changes and now fbconnect works well.
Comment #15
dawansv commented#14 has the right info, but the latest dev code is different so changes must be made as below.
In fbconnect.js: you need to add the { permsToRequestOnConnect: 'email' } parameter to appInitSettins
Diff is here:
In fbconnect.module, you need to add 'perms' => 'email' to the login button attribute list:
Diff is here:
Comment #16
Carl Johan commentedWorks great, thanks!
Comment #17
pradeepg_jain commenteddawansv - i applied the patch ..but its not working for me. it still asks for email when i click on
Click here to create a new www.ratingscorner.com account with Facebook
Comment #18
Oscar Illada commentedSame problem as pradeepg_jain
Comment #19
Federico67 commentedSame problem
Comment #20
vectoroc commentedsee http://github.com/vectoroc/fbconnect/commit/095490d8250cc292e47ed74605c3...changes are available in last dev/beta
Comment #21
vectoroc commented