Yevgeny Simkin
Yevgeny Simkin

Reputation: 28389

How to post to a user's wall at a later date

I'm trying to figure out how, after a user has opted into my Facebook Application, to retain their credentials so as to post to their wall at a later time. I see apps doing this all the time, but I'm unclear where/how they store the user's login (I'm guessing they're not actually holding on to U/P but rather just have some key to post to the user's wall), and then do the post at some later time.

I'm unable to find the documentation for how to do this at the facebook developer site and am hoping someone can point me in the right direction.

TIA

Upvotes: 0

Views: 437

Answers (1)

DMCS
DMCS

Reputation: 31880

Ask for publish_stream permissions then post to that user's wall using your "app" access token if the user access token has expired.

Facebook documentation here: http://developers.facebook.com/docs/reference/api/permissions/

publish_stream

Enables your app to post content, comments, and likes to a user's stream and to the streams of the user's friends. With this permission, you can publish content to a user's feed at any time. However, please note that Facebook recommends a user-initiated sharing model.

Upvotes: 2

Related Questions