Question

How can I show website activity on the Facebook timeline?

I integrated Facebook API and Facebook Connect. Now, if any new user uploads a video on the website then I want to display this activity on the Facebook log. What function of Facebook API can I use for this?

Was it helpful?

Solution

You should use Open Graph Actions and Objects. I recommend you create:

  • A video object
  • An "uploaded" action as well as utilising the built-in "watch" action

There is a full and more than helpful tutorial right here. Things to consider:

  • You need to request publish_actions permission from users of your website, if you are already using Facebook Login, then this is a simple matter of adding it to the list of Permissions that you are requesting
  • Publish an uploaded action for every new video uploaded, make sure you get explicit consent from the user to do so, so that you can use the fb:explicitly_shared parameter.
  • Use the watch action for any videos that people watch on your website.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top