facebook open graph
You can use the Share Dialog to allow your app's Users to share Open Graph Stories from your app.
To implement the Share dialog for Open Graph Stories:
Configure your app in the App Dashboard.
Add Open Graph Markup to the page you want your Users to share.
Add the Share Dialog code to your app's code.
Configuring Your App
Use the App Dashboard to access your app's basic settings and locate the App Domainsfield. Add the domain of the app where you will be implementing the Share Dialog.
Open Graph Markup
Use Open Graph Markup to markup the page that you want your Users to share. Note the URL for this page, because you will need to add it to the Share Dialog code.
Share Dialog Code
The following sample dialog code can share an Open Graph Story to a Users timeline with the "likes" action in the Post.
To implement the Share dialog for Open Graph Stories:
Configure your app in the App Dashboard.
Add Open Graph Markup to the page you want your Users to share.
Add the Share Dialog code to your app's code.
Configuring Your App
Use the App Dashboard to access your app's basic settings and locate the App Domainsfield. Add the domain of the app where you will be implementing the Share Dialog.
Open Graph Markup
Use Open Graph Markup to markup the page that you want your Users to share. Note the URL for this page, because you will need to add it to the Share Dialog code.
Share Dialog Code
The following sample dialog code can share an Open Graph Story to a Users timeline with the "likes" action in the Post.
0 comments:
Post a Comment
Facebook has greatly reduced the distribution of our stories in our readers' newsfeeds and is instead promoting mainstream media sources. When you share to your friends, however, you greatly help distribute our content. Please take a moment and consider sharing this article with your friends and family. Thank you.