Facebook like button - facebook

Can anyone tell how can remove unlike functionality from facebook like button?

Modification of the "Like" button is not allowed...
http://developers.facebook.com/docs/reference/plugins/like/
"By using the Like Button, you agree to the general guidelines and terms found here. You also agree that you will not modify the Like Button in any way beyond the customization options provided on this page."

I thought unlike was added by 3rd party apps anyway. The only way I can think of doing it is using jquery to find the unlike elements on the page after everything has loaded and then remove them.

Related

Facebook like generated button saying share instead

I'm developing an app and I noticed that on Chrome, their like button code generates a button that says share. If I choose the other option (recommend) it does indeed say recommend. On Firefox oddly it still says like and recommend. Personally, I'd like it to say like which is why I'm posting. Is there perhaps there is an undocumented change/method to get it to say like now.
Are you trying to make it say "like" instead of "share"? If so, you just need to find and replace the word "share" with the word "like".

Add-to-timeline deprecation on Facebook. How to replace it?

According to the docs, the "Add to Timeline" button will be deprecated as of August 2012. Unfortunately, there is no guidance on how to achieve the same functionality. Perplexingly, the Open Graph tutorial uses the button (which seems unwise given that it will be broken in a couple months). Since I'm writing a new implementation of actions/timeline right now, I'm not going to include something that I'll have to delete in a couple months. Everything works fine with AJAX and the PHP-SDK and only two issues remain unresolved (which I imagine the button would handle):
No way to tell if an action is posted already. I have "unique" enabled already but I have no way to hide the "Add to timeline" option if it's already posted.
No nice visual. I could render the current (soon to be deprecated) button and steal the image but I'd prefer to use something that will look the same as other sites and make users comfortable that they know what will happen when they click.
Does Facebook have a replacement for this button? Or are all timeline posts supposed to be taking place silently after an initial permission grant? I thought Facebook encouraged more user approval for Timeline actions--where is that control supposed to go? To third party UI elements? Doesn't that undermine some of the power of the Facebook ecosystem--the fact that it's the same buttons with the same behavior everywhere on the web? It's kind of frustrating the way it's presented now--pushing you in one direction in the tutorial only to tell you that the feature will be deprecated within months. I've mostly given up hope for problem #1 but is there an official non-deprecated button that will give me a nice comforting visual?
Also, are there other features that this button does that are being/have been transitioned to other plugins?
EDIT: Does it make sense to link the "Like" button to a timeline event? It seems like semantically that would make sense but there doesn't seem to be any built-in way to do it.

change text button of the dialog request component

Considering the component (http://developers.facebook.com/docs/reference/dialogs/requests/), I would like know how to change the text of your button. I would like replace the "SEND REQUEST" to just "SEND".
Thanks.
Just a note: http://developers.facebook.com/policy/ states:
IV. Application Integration Points
4 Platform integrations, including social plugins:
d. You must not obscure or cover elements of our social plugins,
such as the Like button or Like box plugin.
Which I think applies to that button as well. There is a discussion over the like button here:
http://forum.developers.facebook.net/viewtopic.php?id=81844
that probably applies to this question. Other than that, with fbml and fbjs, there was a way to change it, but facebook is deprecating them soon, so it won't even be worth trying using that. I think the only way to go would be to try and get a hold of facebook and make a request to change it, but seeing as how they are always changing things, not sure how that's going to work. If you have an argument as to why, they might listen.
http://developers.facebook.com/docs/reference/fbml/
http://developers.facebook.com/docs/fbjs/

What is the current proper way of creating Facebook Tab's with interaction?

I need to create an interactive Facebook Tab for a client, similar to this:
http://www.facebook.com/#!/knnktr.
The application has a number of slides, which are basically images that will scroll left/right as the visitor clicks on two arrows on either side of the displayed image.
I could do this in Flash, but I could also attempt doing this with JavaScript.
Now, I understand that Facebook's APIs often change, and iframe's are currently not an option.
What is the best/correct way to achieve this. Should I stick with the Static FBML? If we have an option to use JavaScript, we'll prefer that above Flash. The question is, does the Static FBML limit the ability to perform some JavaScript calls.
I need to respond to mouse clicks, and I also need to be able to make remote AJAX requests to our server.
If you're building a tab, FBML/FBJS are your only option. The official FB docs for FBJS are pretty good: http://developers.facebook.com/docs/fbjs/
A couple caveats about FBJS:
They rewrite your Javascript to only allow limited functionality. If you're used to a nice Javascript lib like jQuery you're out of luck.
You can't use external js includes, the Javascript must be in the same page
Take a look at the event, animate and AJAX sections in the docs. Taking a quick look at your example I don't see anything you couldn't do with FBJS.

what is the default pop up replacement now?

I know pop ups are not good and should be avoided if possible but is that really true that now, whenever i think of using a pop up, i should always be considering other options? Are there any exceptions? And the last question is: what is the default replacement for pop ups?
You can use any javascript based dialog. Look for example at jQuery UI Dialog
The "Web2.0" pop-up might be a lightbox. I hope these are just a passing fad, because they are kind of annoying (a lot like pop-ups).
http://en.wikipedia.org/wiki/Lightbox_(JavaScript)
Banners, like you get at the top of Stack Overflow to tell you about badges, comments, see the FAQ if you're a new user are my favorite. They don't really get in the way and can link to the main content.
It depends on what you are trying to accomplish. Pop-ups are completely acceptable in certain contexts. The aversion to pop-ups arose from having pop-up foisted on users in the form of advertisements. I think that pop-ups are still a valid device in the correct case.
My rule of thumb is to not make any decisions for the user that they can make themselves. This typically includes opening a pop-up since they could right-click and choose "open link in new window" if they so desired.
Do you want to capture of a piece of user input without allowing any further interaction? A modal dialog is your friend.
there are cases where you want to offer a bit of useful info or a quick reference that doesn't necessitate closing off the rest of the web page or navigating to a different location. This could be addressed using some javascript and floating div's but many times a pop-up will do what you want without being obtrusive to a user.
I tend to read resources from the likes of 37 signals and UIE to keep up with the best ways to enhance user experience without alienating a user.