When I manually post a link to my Wall via the Facebook website, I can see three links below to "like", "comment", or "share" the post. However, if I have an app, and post a link via the Javascript FB.ui dialog, I only see options to "like" or "comment" without the ability to "share" the post.
Is there any way to enable the "share" link for wall posts via API?
Hey i know it might be too late to help you but it might be helpful to others who are facing the same issue and come here looking for a solution.
If you use the Graph API to post it will post in the way you require( "like", "comment", or "share")
Related
I'm building my website and what I am trying to do is the following:
I'd like to show the recent post I've made on my facebook's wall on my webpage, but just my own post not everyone else's just mine!
Here's an example of how I would like to do it:
I have done the same with twitter which is very simple: setting---> widget----> create new widget---> and that's it!
But in facebook I have tried with developers tools (comments plugin)in facebook but that's not what I need because it shows everyones post, it looks like this:
What you need to do is very simple as go to here, and in the Facebook page URL, you just have to change that URL for yours, like this:
http://www.facebook.com/FacebookDevelopers
Change it to:
http://www.facebook.com/yourfanpageID
Then just check "show post" and then "get code"and that's it. You will finally show your post in your website page.
I'm trying to implement a Facebook page timeline in a website with the open graph API from Facebook:
https://graph.facebook.com/{PAGEID}/posts?access_token={accessToken}&limit=5
This gives my a nice array of timeline objects. Per post I would like a like button for that specific single post. Does anyone know how to do this with PHP? I can't find any documentation about this 'like functionality' on the facebook developers site.
You can select the post id of the post you need and after that make a post request to 'https://graph.facebook.com/OBJECT_ID/likes'
For further reading you can visit:
https://developers.facebook.com/docs/reference/api/publishing/
And for testing you can visit:
https://developers.facebook.com/tools/explorer?method=POST
I want to display facebook wall post (by id) on my site in facebook style, or redirect user and focus him on current post at facebook. I`m already display it using open graph with my own css, but it should be look another way. In general i am interesting in second variant with ability redirect user on facebook and show him that post.
May be anyone know how to do that?
Thanks, Anton.
I found solution, https://www.facebook.com/permalink.php?story_fbid=$POST_ID&id=$YOUR_ACCOUNT_ID
I am primarly ASP.NET(HTML,Js) programmer and I don't know anything about Fb apps. Recently I stumbled on a problem. I have web application that generates image buttons and generates code as HTML or Iframe for user to post on different websites, however as far as I know: It is not possible for user to embbed Iframe or post image wrapped with link to friends wall?
So before I start researching how to do anything on Facebook and go on wild goose chase, I just wanted to check with fellow programmers that might have experiences with this kind of stuff is it even possible to do this on Facebook?
If it is possible, can you give me some hints how the process goes or point me to some articles?
Any help is appreciated, thanks!
No, it is not possible to post iframes to a user's wall.
To be more specific, to post to a wall, we use Feed dialogs (with FB.ui), You can derive what you can and can't do from the list of parameters that FB.ui gets (scroll to "properties" in the feed dialog doc)
To show the "post to wall" dialog, you need to do something like this:
FB.ui({
method: 'feed',
link: "link",
picture: "picture",
name: "name",
caption: "caption",
description: "description"
}, callback);
We are considering adding Facebook's "Social Comment" boxes to virtually every page of content on our site.
We're willing to allow unmoderated comments via the "Social Comment" plugin, but the "tit-for-tat" that we would ask of commenters is that they will also post their comment to their wall.
Right now the "Social Comment" plugin that Facebook provides allows the user to decide if they will post their comment to their Facebook wall. If they uncheck the "Post to Facebook" box, their comment will appear only on the page they are commenting on, and not on their wall.
We would like any users who choose this option to have their comment set to "limited visibility." Or, better yet, to simply be required to post the comment to their wall in order to post that comment to our site.
Are either of these possible? I haven't been able to figure out a way to do either.
Another option we've explored (and not had any success with) is making all comments default to "Limited Visibility." Then we would programmatically check for comments that were also posted to a user's wall, and make those comments available. But so far, I have not been able to programmatically determine if a particular comment was posted to the author's Facebook wall or not.
Thanks!
-Josh
The answer seems to be "you can't do this." :-(