Hi, gang. I've set up a text field in my site's user account settings to catch address information from a Facebook login, but it doesn't seem to get passed. (I was able to catch birthday and gender info, though.) Any ideas?
(Possibly related to #1240194: Support for address / location type modules, although I'm simplifying matters by using a simple multiline text field.)
Thanks!
Comments
Comment #1
geokat commentedHi,
Currently, there's no way to obtain a user's address from Facebook other than the home town.
You can check what information is being returned by Facebook using the "Test Sign-In Widget" tool in the rpxnow.com dashboard under "Resources". You should also check the Facebook permissions enabled for your Engage app under Deployment->"Provider configuration".
Hope this helps.
George
Comment #2
geokat commentedComment #3
tgeller commentedGood tip, George! Looking at the info that widget returned, I see that the field is ['profile']['address']['formatted'], which isn't one of the default fields on the Janrain field-mapping page at /admin/config/people/rpx/mapping . Here are instructions to add that field (for others who read this):
Next step: Figuring out if I can get that value into the Location module somehow -- maybe using Rules? I'll report back if successful. :)
--Tom
Comment #4
tgeller commentedFigured it out! In brief:
The devil is in the details, which are a bit tricky. But I tried it, and it works. Good luck!