Topic-icon Facebook token expiring every day

Active Subscriptions:

None
7 years 2 weeks ago #61424 by vmurphy
Hi,
I believe I have everything configured correctly following the setup documentation. Just trying to display a twitter stream channel and a facebook stream channel on the website (bmrs.ie). I enable the sclogin module, sign into facebook, disable the sclogin module and all works fine for the day. Next day, facebook has disappeared from the stream and I get the following error in the backend channel:
Facebook API Error: Error validating access token: Session has expired on Tuesday, 11-Apr-17 11:00:00 PDT. The current time is Wednesday, 12-Apr-17 07:42:02 PDT.
I enable sclogin, login to facebook, disable sclogin and all is good for another day. Twitter works find and does not seem to have any expiry problems.
How can I avoid this daily ritual of logging into facebook to renew the access token?

Thanks.....Vince
The topic has been locked.
Support Specialist
7 years 2 weeks ago #61430 by alzander
Hrrmmmmm.. that's not an issue we've heard of before. The tokens do expire, but it's usually about every 3-4 months, which isn't nearly the hassle you mention going through above.

Can you tell me if you're setting up the stream for a Facebook Page, Group or personal profile feed? We'll have to do some more investigation because for right now, we're stumped. We haven't heard any similar reports to this either, which doesn't help.. but we'll gladly investigate more.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 2 weeks ago #61435 by vmurphy
Hi,
Thanks for the reply. The Facebook channel is setup as a page. Any suggestions?

Cheers....Vince
The topic has been locked.
Support Specialist
7 years 1 week ago #61507 by alzander
Vince,
Sorry for the delay. Unfortunately, no, I don't have any great suggestions as to why you'd need to refresh every day. The token expires if you change your password and under some other specific circumstances, but otherwise, should generally last at least a few months.

Is this still occurring and are you aware of any special restrictions or security settings you may have enabled on your Facebook account or the Page? I'm not aware of any that would cause what you are describing, but just checking in case you've gone and locked things down in some way I'm unfamiliar with.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 1 week ago #61513 by vmurphy
Hi Alex,
Still having the expiry problem. Maybe it's related to the Facebook setup. This is not my Facebook account, rather a client setup a page in their account and set me up as an admin. I'm only trying to display the Facebook feed on their website, no registration, commenting or anything fancy.
I just made a few adjustments, trying to extend the access token in Facebook and also adding a request for "manage_pages" permission in JFBConnect.
Will need to wait a day to see if any impact. Will report back when I have more info.

Cheers.....Vince
The topic has been locked.
7 years 1 week ago #61517 by jartä
Same problem for me.

File Attachment:
The topic has been locked.
Support Specialist
7 years 1 week ago #61525 by alzander
We're investigating the issue and I think we may have narrowed down the cause. We'll have to do some testing to be sure of the problem, but will keep you posted on what we find.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 3 days ago #61548 by brookracing
Same issue here
File Attachment:
The topic has been locked.
6 years 11 months ago #61638 by jartä
Any news on this matter?
The topic has been locked.
Active Subscriptions:

None
6 years 11 months ago #61640 by vmurphy
I've had some success in resolving my issue with this. Here's what I did (I'm no expert with Facebook apps but this seems to be working for the last week for me).

In the facebook app side of things (developers.facebook.com/apps), in settings/advanced. I changed Native or Desktop to "Native".

At the top of the page I found "Tools & Support" and went there and clicked on "Access Token Tool". Beside "User Token" clicked on "debug", opens a new window and then clicked on "Extend Access Token" button.

I suspect the first piece with the Native/Desktop has nothing to do with this, and perhaps the second piece with the extend is only a temporary fix, but it's been working for me thus far.

Hope this helps somebody.
The topic has been locked.