Facebook embbeding Iframe on friends wall - facebook

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);

Related

Facebook page under links shared on timelines

if you try to share this link http://www.gamespot.com/articles/call-of-duty-strike-team-hits-android/1100-6415792/ on your timeline, you can see that on the bottom appear something like "do you want to see more posts by GameSpot?"
How is it possible this? Do I have to include something in the meta to link my facebook page to my website?
Thanks
It seems that this "Like suggestion" feature is only available to specific companies right now. Some links about that topic:
How to get the 'Want to see more from' - 'Like Page' button on playing a Flash based post?
http://www.quora.com/Facebook-Sharing-and-Share-Button/How-do-publishers-get-their-links-to-include-a-want-to-see-more-from-with-a-Like-Page-button-when-shared-on-Facebook
http://www.digitaltrends.com/social-media/facebook-is-frequently-testing-in-line-buttons-that-may-boost-engagement/

Sharing a link to Facebook wall posted via FB.ui javascript API

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")

Facebook, Post to Wall customize screen

Im looking for a way to customize the standard "Feed Dialog" screen the Graph API offers.
https://developers.facebook.com/docs/reference/dialogs/feed/
The idea is that the Feed Dialog matches the layout of my application and not the standard Facebook layout.
First thought was creating a seperate Dialog Box, which offers the same functionalities as the original box and passing that to the function which posts everything on the users wall.
But I am unable to find a way to implement the textarea, that gives Users the ability to enter aditional text to post.
Anyone who knows if this is possible and can point me in the right direction?
If you want your own interface for posting to facebook, don't use their dialog. Create your own form however you like, and then submit the information with
FB.api('/me/feed', 'post', { message: myMessage }, function(response) {
});
https://developers.facebook.com/docs/reference/javascript/FB.api/

How to customize the icon displayed on facebook when posting a url onto wall

I'd like to achieve basically the same thing as question:
https://webmasters.stackexchange.com/questions/19454/how-to-customize-icons-used-by-facebook-wall
As it did not get any answer, I'm asking the question here.
We are managing a facebook page and a web site. When we post a link from our website onto facebook an icon is grabbed from the site. Is there a way to tell facebook which icon to use?
You need to add Open Graph meta tags so Facebook knows what title/description/image to use. The quickest way to do this is to use the generator at 'step 2' on https://developers.facebook.com/docs/reference/plugins/like/ - this will produce a set of tags
You should probably read the entire 'Facebook for Websites' document to see what you can do - https://developers.facebook.com/docs/guides/web/

Liking a Specific Facebook Post

I'm trying to embed the Facebook Like button on a web site. The URL of the item I am trying to allow the user to "like" is an individual Facebook post on a Page's wall.
I'm using a simple FBML implementation of the Like button like so:
<fb:like href="http://www.facebook.com/[PAGENAME]?v=wall&story_fbid=[ID OF THE POST]" layout="button_count"></fb:like>
The like button works, but when it is clicked, the user is actually liking the PAGE, not the individual post.
Any help would be much appreciated. I've tried various formats for the URL, but so far have not been able to make it work.
Thanks!
What you are trying to do is not possible. You can only 'like' things that have a unique page to display them. The url you have ?v=wall&story_fbid=[ID OF THE POST] is just a 'helper' url for facebook. It takes you to the http://www.facebook.com/[PAGENAME] url and Facebook will treat this url the same as the page.
It is a bit confusing because you could do something like you are talking about off of facebook, but the like inside of Facebook isn't really the same as what the like button's are doing. The like buttons are using the Open Graph protocol. Content on facebook.com doesn't play by the same rules.
In short, likes for "facebook generated" content inside of facebook can only be liked inside of facebook.
Check out this article for more information on some of the things you can do with the like button inside facebook: http://developers.facebook.com/blog/post/407
Very late answer, but the Graph API might help. You might be able to grab a post and like it - https://developers.facebook.com/docs/reference/api/post/