× Joomla Facebook Connect support forum

Topic-icon HOW DO I TRIGGER AN OPENGRAPH ACTION?

Active Subscriptions:

None
11 years 10 months ago #23735 by Ivan
Hi Alex,

I tried this and it worked. Thanks for helping. Its weird that its called other not sure why...
The topic has been locked.
Support Specialist
11 years 10 months ago #23740 by alzander
Glad to hear that got it going for you. I'm not sure about the 'other' parameter either.... :)

Alex
The topic has been locked.
Active Subscriptions:

None
11 years 10 months ago #23995 by fb_546164587
The open graph actions are posting fine after user's login with their FB. However, after a while Auth_token expires and actions are no longer posted. User, in order to post actions has to log out and log in again. Is there any way to refresh the Auth_token before posting an action?

Thanks in advance.
The topic has been locked.
Support Specialist
11 years 10 months ago #24033 by alzander
Tadas,
The auth_token will expire from Facebook after 24+ hours, normally. JFBConnect should refresh the token anytime the user logs in through Facebook on your site (clicking the button, auto-login, etc). If the user isn't logging in through Facebook, just using the Joomla login, then the token will likely expire.

There is a way to get an extended token for a user, but JFBConnect doesn't currently support that. Those tokens will last "a long time" (likely 1 month plus, but Facebook is intentionally vague about the length).

Finally, all of the above is assuming you're using the PHP methods to push the Open Graph actions. If you're using Javascript, there's other things to consider that we can help with.

Let me know if anything above rings a bell, or if you can explain any more about how the user is logging in in the first place or how long "after a while" is for the token to expire.

Thanks!
Alex
The topic has been locked.