facebook infinite session key javascript

Looking to run through something very similar to (http://www.emcro.com/blog/2009/01/facebook-infinite-session-keys-no-more/) but using javascript instead. Any ideas on how to accomplish this?

Answers


You need offline_access permission from the user. See this: http://developers.facebook.com/docs/authentication/permissions

You can accomplish this with FBML/JavaScript, using the following code:

<fb:login-button autologoutlink="true" perms="offline_access"></fb:login-button>

Need Your Help

How to write PHP script for proper file download?

php http cross-browser cache-control

I have trouble shooting at file download problem. In Chrome, the download works fine. In Firefox, it generate some HTML headings at the end of file like:

What's the correct way to loop over a list and make a dictionary with dict comprehension in python?

python dictionary

testWords is a list with words. setTestWords is the same list as a set. I want to create a dictionary with Dict Comprehension where I will use the word as key and the count as value. I'm also using...