Adding Website content to User's Facebook wall - facebook

I've seen on some websites where users can select a check box to add specific content to their wall. For example, if they add an image or video to a website, the user has the option to "post to Facebook". Chill.com does this.
Also, SPOTIFY.com add to the user's timeline a notice that says they are listening to a specific tune.
If anyone has any info on this, it would be greatly appreciated.

The main method for these auto posts are actions
refer to: https://developers.facebook.com/docs/opengraph/actions/

Related

How can I populate initial content to a Facebook link (if I can)?

On my website, I just added links to discuss posts on Facebook; you can see such a link at http://jonathanscorner.com/steel/ . The link redirects to https://www.facebook.com/pages/CJS-Hayward/9506801167, which lets people post but is initially empty.
I would like, if possible, to create a link that prepopulates the text of the comment to include the title and URL on my site. So someone who clicked on that link would have a posting that is prepopulated, '''I just finished "Within the Steel Orb" at http://JonathansCorner.com/steel/. '''
Is there some URL parameter I can use ('''...?text=I%20just%20finished...''') or other interface to prepopulate a comment in a JavaScript-generated link?
Thanks,
Short answer, you can't. Even with the feed dialog you can't prepopulate the comment area with some pre-defined text. What you can do is, using the feed dialog making people write their comments, and the connection of that feed redirects to your website.
The only problem is that this feed dialog would appear on the users feed an not on your page wall.
Another way, and this is the best option in my opinion, add the comments social plugin to your site, this way people would discuss that article on your page and every time they comment using this social plugin, the comments would appear on their facebook wall making their friends curious about that and maybe visit your site.
You can read more about that here: https://developers.facebook.com/docs/reference/plugins/comments/

Post on the active user's wall

I want my app/website to post on the active user's wall (likely as the status) that should look like the following image:
If I use the "feed dialog", i am not able to post custom header like USER gave a gift on APP
as in this image.
Also, after about an hour ago , i am getting via APP_NAME if I use Feed Dialog
Pls help :)
This isn't possible via feed dialog. You need to use Open Graph actions to accomplish this.
See: http://developers.facebook.com/docs/opengraph/

Like button action not showing on user's walls

I'm using the iFrame Like button on a page. When I click it, it goes to my wall saying I liked a link. This is good. However, when other people try it, it doesn't show up on their wall. Does the timeline layout affect this? I'm not using that layout, but my testers that aren't able to get the like to show on their wall are.
I've found similar problems on here, but nothing that's helped. I have OG meta tags included on the page that aren't being read correctly either.
Thanks in advance for any help.
Maybe some hints:
Have you checked the permissions for the FB-application?
Does it only work with users that are registered as developers/testers for the FB-application?

Like button for Facebook page shows generic Facebook description in News Feed

I want a Like button on my web site that Likes my Facebook profile (rather than my web page), so that when a user clicks it they subscribe to my Facebook posts.
I've created the Like button using the tool at https://developers.facebook.com/docs/reference/plugins/like/
Further down that page there is an FAQ entry:
Can I link the Like button to my Facebook page?
Yes. Simply specify the URL of your Facebook page in the href
parameter of the button.
So, I've edited the href parameter to point to my Facebook page. eg:
https://www.facebook.com/myfacebookid
When a user clicks the Like button it has the desired effect. The user ends up having Liked my Facebook page. This is easily verified by the user going to my Facebook profile and checking that the Like button has changed to Liked.
But. When the user clicks the Like button, and entry appears in their News Feed with a generic Facebook description. ie:
Facebook is a social utility that connects people with friends and
others who work, study and live around them. People use Facebook to
keep up with friends, upload an unlimited number of photos, post links
and videos, and learn more about the people they meet.
I don't want a generic post about Facebook to appear. I want the description to relate to my Facebook account and/or web site.
Normally, I could modify this behavior with the Opengraph og: description tag, but as the page in the href is a Facebook page and not my own, I can't control the Opengraph tags.
I'm pretty sure that this was working okay before I enabled timeline for my account, so maybe this is a timeline bug?
So, how do I add a Like button which a) Likes my Facebook profile rather than one of my own web pages, and b) Posts a description of my Facebook profile rather than give a generic Facbook description?
Are all your fields in the info part of your page filled in, and/or completed? I just tested your theory and it seemed to work as expected, only thing is I know all fields in "info" are filled it. Give that a try.
This may happen if you have filled invalid/incomplete/wrong og tags in past and later changed them. Facebook's cache creates problem sometime.
Try putting all the entries (i.e. all og tags) and then debug them here http://developers.facebook.com/tools/debug. This debugger gives a detailed info about the url with og tags and also clears the cache for you.
This should solve the problem.
You have 3 important fields that used on page opengraph: Name,Description,Profile Image.
They are used when some one post your link on Facebook, or Google or some else web service that handle opengraph.
Actually, the suggested answers currently do not work and there is an open bug / ticket on Facebook for it. Up to now, there's no fix.
The problem is that you can not use simply https://www.facebook.com/myfacebookid. You should copy and paste the exact page URL. If you have a low number of likes it would look something like https://www.facebook.com/pages/[YourPageName]/[Your page Id]/, and this is the URL that you should use at this point.
If it does not work, try also https://www.facebook.com/[YourPageName]/[Your page Id]/.
In short, copy-paste the URL, do not type it manually.

How to open a Facebook post to wall from webpage?

I am writing a website and want a user to be able to click post to Facebook and have it open a window already filled out with a custom post. I do not want to have to authenticate them with my site or anything like that just send them to a Facebook url with the post already filled in.
Twitter has something like this that I am using. For instance click this http://twitter.com/home?status=This%20is%20a%20custom%20post
Is there a way to do this same thing for Facebook? If so does anyone know the URL?
Thanks
I found the solution I was looking for. To post to a Facebook wall without actually managing tokens you must make a call to the url below with the parameters specified below.
"http://www.facebook.com/dialog/feed?app_id=YOU_APP_ID&link=A_LINK_HERE&picture=PATH_TO_A_PICTURE&name=SOME_NAME&caption=SOME_CAPTION&description=SOME_DESCRIPTION&message=MESSAGE_TO_POST_ON_WALL&redirect_uri=REDIRECT_URL_AFTER_POST"
This will redirect back to the url that was specified in redirect parameter after the post. It will have the parameter post_id with the id of the new post or no params if they did not post. You can find documentation here http://developers.facebook.com/docs/reference/dialogs/feed/.
The Like and Send buttons provide this functionality:
http://developers.facebook.com/docs/reference/plugins/like/
You include meta tags on your page and the Like / Send button pick this up for sharing to a user's wall.
You can't prefill story text, it's against FB policies. Twitter is cool with that, but on Facebook it's a no-no.
See: http://developers.facebook.com/docs/guides/policy/examples_and_explanations/stream_stories/
Scroll down a bit to 'Platform Policy IV.2'
You can put suggestions of what to say on the screen, but you can't prefill the comment box.