Likes and Facebook Apps - facebook

I have an application in facebook. I want to add one of the pages on my site to facebook user like list, so if he clicked "I like" on my web page. Can I do it programmatically?

I found the Facebook developer pages to be really informative. Check them out!
http://developers.facebook.com/docs/reference/plugins/like/

http://developers.facebook.com/docs/reference/plugins/like/
http://www.webmonkey.com/2010/04/adding-facebook-like-buttons-to-your-site-is-damn-easy/

With your update it sounds like you are trying to make the user like your page against their will. This is not allowed by Facebook and there is no api to force a user to like your page. They must click your like button - you cannot click it for them. Although I have seen some spam sites that have found flaws that allow you to do this. Also other spam sites will do clickjacking - where they overlay other buttons over top of the facebook like buttons and trick users into clicking them. However this is one of the fastest ways to get your apps and accounts banned from Facebook.

Related

Am I allowed to make an app that allows users to like Facebook pages?

I want to create an app that simply allows a user to log in, touch a like button, and then the app logs them out. I am wondering if this type of app would be allowed by Facebook, since the main functionality is all Facebook related. The app would be used by business to help them increase their Facebook page following. Is this allowed?
Yes, you are. Pratically every like button you see in blog posts and product pages in online stores works like that (except for the logout).

How can I display comments from a facebook page on another company's website?

We are partnering with another company that has a page on Facebook, and we are looking for the best way to display the comments from that page on our website (and vice versa). What is the best way to do this since it is not our FB page?
Sounds like you just need a like box http://developers.facebook.com/docs/reference/plugins/like-box/
If you want more than that you basically have to implement a facebook application that can handle the data. Think of this as writing your own facebook client like a version of hootsuite. You will need full control of the target page to install the application.
Also when you say "our website" I assume you don't mean a facebook page.

Find us on facebook - link to a facebook page from a web site

I want to include on my web site a 'Find us on Facebook' graphic and link it to a facebook 'business' page - nothing more sophisticated than that. Do I simply copy the graphic from another random web site and put in my link, or is there a better 'facebook approved' way of doing this? (I've tried it the non-facebook way already and its necessary for users who click the link to log in to facebook. Can anyone also advise of the privacy settings that will avoid this)? Thanks
Have you considerd making use of the Like Box social plugin? See http://developers.facebook.com/docs/reference/plugins/like-box/
The plugin mentioned by nav is definitely the way to go. By using the facebook plugin, users won't have to login (granted they're already logged in to Facebook). This is because the plugin can access the cookie set by Facebook whenever they logged in. Your ad-hoc link cannot do this.
Check out https://www.facebook.com/badges/page.php This is what you're looking for.
You are correct in the fact that you can use a simple image and a link to the page.
However the answer provided by NAV would be the most 'facebook approved' way.

Application vs. page

I have registered an application for a website of mine. This is used for placing a like button, adding posts to visitors' streams, etc.
But this application does not show up anywhere and it does not seem that people can find and 'like' it.
So I created a page for this website/community.
Can I somehow connect these two, so that the existing 'likes', 'fans', etc. are moved to this new page? Or am I supposed to have and maintain both?
Your Website and a Facebook Page about your Website are two separate entities. Their Likes counts will be separated and there is no way to merge them.
A lot of people make the choice to only promote the Facebook Page about your Website as that allows them to share things with fans on facebook and to be visible to facebook visitors.
When making this choice, it's better to display on your website a like button targeting your facebook page instead of a like button targeting your website's url.
I don't think so and I searched it for I while cause I too wanted to connect these but did't find A way for this.
So its better to maintain them both simultaneously.

direct share on facebook

this might seem stupid or irrelevant but problem is:
I want to make aa button, which is going to share the url and title on facebook(and/or twitter) directly. I mean, without visiting the standard share window of facebook.
As another option, I thought about:
when you click on a share button, facebook and/or twitter share windows are opened. I want to include those windows in a single one. however when I use iframes, I face two empty borders. along with those two frames I would like to add a button, when clicked, the url will be shared on both fb and twitter.
are those possible or allowed? if so how may I do this. please help me I'm so stuck
You can't share without the window, unless the user have authorized your site to post to Facebook in his behalf. Check this post on how to do it