Facebook Apps: “Session key invalid or no longer valid”

My facebook app worked fine for months, however all of a sudden it broke for some (not all) users. Sometimes, not always.
buru on brails has pointed me to the right direction when trying to solve this issue: obviously the session key parameter returned by the Facebook API (fb_sig_session_key) is not the actual session key for offline access as one would expect. (At least not always… huh)

Retrieving the session key from the cookie “YOUR_APP_KEY” + “_session_key” solved my problems.

Advertisements

Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: