views:

186

answers:

1

I've got a Connect application on Rails where we request offline access from all of our users, and tie their Facebook account information to their internal user accounts on our site.

When a user is logged in and reaches our Invite Friends page, they see a working fb:multi-friend-selector, wrapped inside fb:request-form, wrapped inside fb:serverfbml (by necessity). Their friends are populated, invites are sent, everything's peachy.

When a user goes and logs out of Facebook while still on our application, the fb:multi-friend-selector appears but doesn't seem to show any of the user's friends. We have offline access, and I'm trying (blunt object --> problem) to set any missing session variables manually, with

session[:offline_access] = @facebook_user.auth_token
session[:fbuid] = @facebook_user.type_id

And it doesn't seem to be solving the problem. How can I give Facebook the (permanent?) auth token we have stored for the user?

A: 

I'm encountering the same problem, due to the same reasons.

I guess the problem is that we cannot pass an access_token to the request-form.

Any one has a solution ?

Houssem BDIOUI

related questions