I have a game site, and I want to make POST TO Facebook from my game site.
I've looked around and all i can find is that you can share links.
But I want my button to post something like "I just killed John Smith in Blahblahland".
How can I do this?
Use the Graph API and POST a Post object to the feed connection of the User object.
Or there is stream.publish but heard its gonna be depreciated soon.
This link might Help You. LINK
you nee to look around Open Graph story.
http://developers.facebook.com/docs/bestpractices/creating-actions-objects/
Related
I made an iPhone app that represents my job offer site. I want the user to post him offers in his fb wall. How can I do that?
Not sure if this is exactly what you are looking for, but a good site with various tutorials including one on FB posting http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app
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
I am used Facebook for my application where I have to post comment on wallpaper. But now I have to modify that application. I want page after user login it will give option like
post to wall
retrieve friends
logout
Can we implement this page after login instead of direct opening the page of post wall.
If yes then provide me some code with brief details. Even your previous code help me lot to solve my previous problem
Thanks
I am not sure if I correctly understand your question, but if you are looking for an easy way to post comments and images to a wall or also to retrieve friends etc ... go check out BMSocialShare - currently better use the dev branch though! In case you want to share to many other platforms as well try ShareKit.
Currently on my website - I have a form which users use to post comments on the website. I want to add an extra check box - that says "Post to my facebook" wall.
So if they check that - the comment they post on my website - should also be posted on their website. They should not have to type the comment again.
How do I go about it?
You'll need to use connect as steve mentioned, specifically the FB.Connect.streamPublish method. I think what you really want to do post your link as a shared stream item, and use the user's comment as the user_message field. The attachment's description would probably be something like "I commented on this article".
Facebook Connect, which is largely a javascript-enabled connection between your site and Facebook, is the answer.
http://developers.facebook.com/connect.php
Not terribly difficult to implement, but you need to be savvy with Javascript. And if you've got your own user membership db (as you likely do), you'll need to wire up the links between your users and facebook id's.
I believe what you are looking for is the comments box, coupled with Facebook Connect it should accomplish what you want.
I've really few experience with Facebook development, just made few things...
I'd like to know how to programatically modify a fan page, the particular requirement that I've right now is to control posts from users, I'd like to be notified for a new post and also have the ability to delete posts.
Could you guide me to accomplish this task? What should I use / read to get this done.
Thanks a lot!
As far as I know there is now way to receive an email through facebook when someone adds a new wall post to a Fan Page.
Follow this thread:
http://www.facebook.com/topic.php?uid=6802152230&topic=9913#topic_top
A user did mention "If you're using Firefox, install Update Scanner to your addons"
I'm sure the docs can help you on programmatically deleting a post. Try here:
http://wiki.developers.facebook.com/index.php/Stream.remove