Quantcast
Viewing all articles
Browse latest Browse all 8068

Facebook module: How to request a new token

Hi,

I'm using Titanium facebook module (tit 3.1) and I can't request a new Token. The problem is that with this code:

fb = require('facebook');
fb.appid = 'xxxxxxxxx';
fb.permissions = ['publish_stream'];
 
fb.getAccessToken();
is returning the same token.

Also, if I get fb.getExpirationDate() shows this "Fri Oct 04 2013 18:03:45 GMT+0100 (WEST)" but the token after a fresh login use to expire in 2 hours...

Anyone?

Regards joao


Viewing all articles
Browse latest Browse all 8068

Trending Articles