Is there any way to add a "Become a Fan" button to my page or an application? I know there is no FBML code for it, but is there any URL for it?
You can find more info on adding Facebook widgets to your page at http://www.facebook.com/facebook-widgets/index.php. With regard to the Fan Box, you can find more detailed information at http://wiki.developers.facebook.com/index.php/Fan_Box.
Related
I've had this like button/box setup for this specific page for some time. But now it;s stopped working:
Using code generated (for iframe) on this page:
http://developers.facebook.com/docs/reference/plugins/like/
to display this fb page:
http://www.facebook.com/JohnPurkiss
does not display/work. If I amend the like button url in the iframe to another fb page, it does work. I'm not tryinig to use a button/plugin that requires an app. Just a plain 'ol simple button. But it appears to me there is an issue with this specific fb page (johnpurkiss one above)
Any advice/help greatly appreciated.
The problem here is that the "page" you linked to is in actual fact a personal user.
You can not "like" a user in the same way that
you can not add a page as a friend...
or "poke" an event...
or subscribe to a photo...
You'll gave to provide an actual page to be liked.
As you can see from the screenshot below taken from the link you provided, there is no like button to be found.
Only an "Add Friend" and "Subscribe" button. I'm not sure if converting your profile into a page is the way you want to go, but it is possible. You can learn how at this link.
I am building a tab for a Facebook page, and this tab contains the deprecated share button, outlined here - http://developers.facebook.com/docs/share/
By my understanding, the default functionality of this button is to share the URL of the page it currently lives on. But I don't want to share the url of the iFrame contents, but rather, the Facebook page, with whatever the user is currently viewing within that iFrame.
Currently, I have it hard coded to share the URL of the FB page itself but have been told by my boss that this is not what they want. The active page within the tab must also be shared along with it.
Hopefully I've made this clear enough. Thanks in advance for any help or consideration with this issue.
Cheers!
Since the various states of your app/tab are not affected by the parent document's URL, this isn't possible.
Every post on here seems to be directed to Advanced Users, I just want to know simply how to place a "Like Button" on my Facebook page? Where do I put the HTML code thats generated for me?
Use lint, place your link there and at the bottom you'll have iFrame code. You'll place it to your website (anywhere) and you're done
I just start on creating fan page on facebook. Left hand side of the fan page, there is a "Share" button which is sharing the current fan page.
I saw that it's url is: http://www.facebook.com/ajax/share_dialog.php?params
When i try to use this, it's failed. Is there any method can use this or simulate this function, allowing me to share the fan page?
Thanks to all in advance.
I know this thread is basically dead, but it still comes up in Google, so I figured I'd answer it. This is possible using Jquery and the FB Javascript API.
http://fbmhell.com/2011/07/facebook-share-popup-iframe-tabs-jquery/
Check out http://developers.facebook.com/docs/reference/plugins/like-box/
You can use the method I describe here : How to make custom share buttons
It works in page tabs.
I'm trying to figure out how to add a Fan button to a Facebook page right next to the company name. I've seen this done on a few pages, as shown in the following screenshot.
I've added the FBML application though I can't find a great deal of information on the code required for the actual button and then how to place the button on the page. Can anyone point me in the right direction?
Many thanks.
For pages, that button is automatically handled by Facebook. If you are already a Fan of the page, the button won't appear. You should be able to "unfan" the page in your account settings.
The FBML application lets you add arbitrary FBML to the "box" that represents that application. It has nothing to do with the Fan button.
Visit the url that lets you edit your page information, on the right had side you should see something along the lines of "Promote with a fan box" -- that should be what you're looking for.
If you want to do it by hand you can use the fb:fan tag (http://wiki.developers.facebook.com/index.php/Fb:fan)
Thanks guys. Yep I delved into the hacks for this using FBML though eventually logged out and logged in with a different account and lo and behold! Facebook add this Fan Button by default now.