I have a rails application which lets you create a new account using FB connect, the issue that I' having (and many others) is how to get a hold of the infinite session key after the user has granted 'offline access'
The user flow:
- Click "Connect" to authorize my application
- I get a temporary session key (as expected)
- I prompt the user for 'offline access'
- The session I have is still the temporary one, I can't seem get a hold of the new infinite session key (to store it in the DB for use later)
I have seen tons of posts on this issue (specifically with Rails using the Facebooker gem) both on StackOverflow and otherwise. I'm hoping there is a definitive solution out there, as it seems like a common workflow.