Facebook auto respond to like button - facebook

I'd like people to receive a message in their inbox when they like my fanpage, and i'm wondering what's the best way to go about this?
I don't know if I can use the SDK to do it because there's no guarantee they will be viewing a canvas when they actually click the like button. They could be clicking the like button from the side bar, from a friend's page, from the official page wall, etc.
Other ideas?

This article describes how to capture a click on the Like button:
http://www.saschakimmel.com/2010/05/how-to-capture-clicks-on-the-facebook-like-button/
However, the only way to get someone's email address is by asking the user to authorize the email permission.

Related

Facebook sharing popup asking for confirmation

Anyone knows the reason why facebook share dialog can ask for confirmation? It started to happen after moving from one domain to another (.com to .eu), but I'm not sure.
After clicking on send inside sharing popup I receive response from https://m.facebook.com/plugins/confirm/share/sentry with
{"payload":{"actions":[{"cmd":"replace","target":"confirm-button","html":"..."}]}
screenshot

Add facebook feedback button to my website

I'm developing my own website and I would like to integrate it with my facebook page.
I would like to have small button or widget in my site that in case user wants to send feedback on my site he's clicking it and write down his message. This message is automatically sent to my facebook private messages (inbox) and I can reply to it.
Let me know if there is option like this? Do I need to develop new FB app for this?
Thank you,
Moshe

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

FQL if friend then else add - Facebook for websites

I am trying to make a add as friend botton on my website. And that I have made without any problem.
Just by doing this:Bliv ven med mig
But it is only opening a new website where I can click add friend.
What I want is it to do, is to check when the user click connect, then check if we are friend, if we are then change the connect botton to a like box, otherwise it will ask the user to become "add friend" and then change to like box.
I know it is posible but not how..
I have seen this work on www.janlundsgaard.dk in the sidebar.
Hopes someone can help me :)
You won't be able to do this without the user's user id - which you won't be able to get unless they grant permission to your app. Once they've done that you can check easily if the user is a friend of yours by checking your/their friends list - but you won't be able to see this without having them authorise your app

Likes and Facebook Apps

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.