views:

194

answers:

1

According to the Facebook Platform Policies:

You must not pre-fill the user_message parameter or content sent via an extended permission (such as a status update or note), unless the user generated the content earlier in the workflow.

Does that mean that I can't publish stories to the stream automatically, even if the user agreed to?

I've seen apps (such as PlayStation Network, Foto Diaria) that publish stories automatically.

PlayStation Network publishes stories about actions you did in PS3 games and Foto Diaria publishes a picture from your wall every day. In both cases the attachment is created by the application, and the user message is empty. Could that mean that publishing stories with an empty user message (empty, not absent) is not considered pre-filling?

EDIT: I need to know what is allowed or not by the Facebook Platform Policies, not how to post stories.

+1  A: 

If you ask the user for the publish_stream extended permission then you'll be able to post automatically whilst the user is interacting with the application. You can pre-fill the user message only if it's something that the user has entered earlier in the process e.g. if you've asked them to comment on a piece of content and then publish a story about the comment. If in doubt, leave it blank.

If you want to publish automatically even when the user isn't online then you'll also need them to grant the application the offline_access extended permission. In this case you'll also need to store the session key that Facebook gives you for that user.

Karl B
Kari B, thanks for your answer. I already know how extended permissions and pu blishing stream stories work. My question is about what is allowed according to the policies.
andrerobot

related questions