Topic-icon long lived user access token

Active Subscriptions:

None
10 years 5 months ago #38635 by marquesmarcio
Hi,

I´m using jfbconnect in my website, and my vistitors make login. The 2 or 3 days after login I need to send a message to facebook user timeline.
I think i need long lived user access token to do this ?
How to do it with JFbconnect?

ps: i know php/js
The topic has been locked.
Support Specialist
10 years 5 months ago #38641 by alzander
JFBConnect automatically fetches a long-lived access token for the user, so that shouldn't be a problem.

The 2 or 3 days after login I need to send a message to facebook user timeline.

This is more complicated. While it's do-able, you need to make sure you follow Facebook's requirements. You can't post to their Timeline with a status update without their explicit permissions to make that post. You also shouldn't be making Open Graph Action posts if the user isn't actually on your site at the time performing that action.

We do have some code to make posts on user's behalf, but it's all intended for the user that's currently logged in. Can you let me know what you're trying to achieve (what type of post, user status update or open graph action) and what approval you're going through for the user, and we can gladly point you in the right direction for the code to use.

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

None
10 years 5 months ago - 10 years 5 months ago #38666 by marquesmarcio
we want to post in user's behalf 1 message about is donation to our charity, the post is processed by cronjob server side when the donation payment is processed.
It´s possible using long lived user access token in login process, after get user long lived token we need to store it by database user table. It´s correct ?
www.webniraj.com/2013/09/17/facebook-api...-lived-access-token/

How to do using jfbconnect ?
Last edit: 10 years 5 months ago by marquesmarcio.
The topic has been locked.
Active Subscriptions:

None
10 years 5 months ago #38731 by marquesmarcio
No clue for J3 version ? The is a post for J2.5 version but not for J3 version.
The topic has been locked.