I am working on Facebook app and wanted to add Share functionality so how I can do share functionality using Facebook graph API?
By the poor way, you can use the Like Button to the desired URL, but with the label "Recomend".
The better way is to develop the application with some Authorization to post inside the user's feed. By this way, you can use the Graph API to post inside user's feed.
If both ways are too time-expensive for you, try to use ShareThis.
Related
I am currently working under a facebook javascript sdk.
but i am limit => Fixed frame (shape, position)
Javascript sdk, as html or other method I want to create a facebook feed system.
Thank you tell us how or related links.
for example
Except facebook api that provides access to feeds from Facebook and the Facebook system Is there a way to raise the feed in the form of message I want?
Here is a link on Facebook Controlling What You See in News Feed providing information about that how to change feed. Follow the link and design customize feed.
Built to the conclusion that there is no way except the Facebook api.
I would like to share a link on Facebook and make it show up on the Timelime as a map.
I have seen some apps like Runtastic are able to publish links as maps, by definining the map coordinates inside the html source of the link.
Ideally I would like to share such links using the simple Share Dialog, without implementing the full Facebook Login systems inside my Android and iOS apps.
But I found this written on the documentation:
To publish Open Graph stories with the Share dialog, you do not need
to implement Facebook Login or ask for additional permissions. For
more information, see Share Dialog.
If you create a custom sharing UI to publishing Open Graph stories,
you need to implement Facebook Login and request the publish_actions
permission from people using your app. This also means you need to
submit your app for review, see Login Review.
Does it mean that if you want to share custom Open Graph stories, you always need to implement Facebook Login on your mobile apps?
As far as i know, and as i understand it, it depends whether you want to share it from inside your app or not.
If you want to share it from inside your app, then yes, you'll need a login.
If you are ok with just giving the link over to the facebook app, then giving permissions is al you need, and then make the final post inside facebook, as you usually are logged in aready.
How to create the Open Graph Object is described in Facebooks API:
https://developers.facebook.com/docs/sharing/opengraph/custom
And also is there another answer which could help you:
Using Facebook Open Graph Story with map attachment (GeoPoint)
I hope this helps you
I am trying to add CUSTOM share buttons to my website for Twitter and Facebook. Is using sharer.php for Facebook appropriate still? How would I pass the Open Graph data? As for Twitter, how would I pass the Twitter Card data? I typically use Addthis.com plugin but it is not appropriate for this project.
I was able to accomplish implementing sharing functionality by using the following:
Facebook https://developers.facebook.com/docs/sharing/reference/share-dialog
Twitter https://dev.twitter.com/web/tweet-button
The facebook share dialog automatically pulled the Open Graph data from the page.
Note: dont think it as repeat of any other similar questions.
We have options to display the 'Invite Friends' dialog using Legacy FBML and javascript (it also uses FBML) and they are working fine.
As facebook states that these FBML are going to be deprecated, is there any other better to way to Invite/ send requests to friends to join an application ..
I'm in the initial phase of my db app development and dont want to use the to be deprecated stuffs.. Is there any option using GRAPH Api?
Edit: I'm using PHP SDK for this app development and is there any function we could use from that?
The requests dialog is currently the only non-deprecated method of inviting your friends to a Facebook application. I doubt there will be a graph api method to create them as it would seem to be too easy to abuse, but getting, clearing and deleting them are available with the graph api.
I want to integrate a friends website (photographer) with Facebook. I've been trying to find the answer in the Facebook Developers guide, but it doesn't seem clear to me.
What would I need if:
I want to have a like button per photo album he has
I want to publish his news that he enters in my cms to his facebook wall
Do I need an application? Or can I accomplish this with plugins?
Thanks in advance.
the like button can just be added by inserting a code snipped
facebook will take care of the rest.
if you however want to do more with your liked pages like send updates and have statistics, you need to register an app and supply the app id as meta tag in your website. the open graph notation is used.
to publish news post you can obtain a permament token and publish using the graph api, but there are also alternative and probably easier methods
You should keep it simple and be able to accomplish these with just plugins... FB's documentation is quite rich:
In here it explains how to add the like button:
http://developers.facebook.com/docs/guides/web
http://developers.facebook.com/docs/reference/plugins/like
And this to post to his wall:
http://developers.facebook.com/docs/reference/plugins/live-stream