BlueMark
BlueMark

Reputation: 962

Change / Hack style of Facebook 'Like it' button

I want create own "Like it" Facebook button - similar with my website design.

I know that Facebook use special "secure" method to authorize "Like it" clicks.

But I think I know how to hack it and create own styled and working "Like it" Facebook button.

I hear that this it's not allowed by facebook rules and here I asking - is there any side effect from Facebook? Can they block my account?

UPDATE:

I changed my decision.

I will stay with facebook standard button.

There is no sense and not worth it to modify this button :/

Upvotes: 1

Views: 6387

Answers (3)

pixeline
pixeline

Reputation: 17984

You can use Facebook's share url to make your own buttons, and connect them to services like sharedcounter.com api (or build your own request to the Facebook api) to have the total "like" count. Example (hover on the heart sign on the left)

Upvotes: 1

Mark Grey
Mark Grey

Reputation: 10257

Hacking the like function? Assuming there was some way to "hack" this it would definitely be a TOS violation.

If you mean, however, creating custom actions for posts generated by apps, that is within the Graph API. Start out by learning to use the Facebook API by looking at its documentation. Create an app in the Facebook system first. http://developers.facebook.com/docs/

After you've learned all about requesting permissions and proper usage of the FB dialogs and user content-control system (this includes best practices and rules), you'll find a special parameter submitted with the set for "posts" in the api called "actions." This property accepts a JSON object of the link text and link to forward to. Please note they do not allow your action names to collide with any of the Facebook core actions. Naming your custom action "like" and having it lead elsewhere is DEFINITELY a bad idea and will probably get your appID deleted.

http://developers.facebook.com/docs/reference/api/post/

Upvotes: 1

Spencer Hakim
Spencer Hakim

Reputation: 1553

Yes, they can do whatever they want if you violate their ToS. Facebook is a stickler for maintaining its brand, and modifying the Like button would definitely not make them happy. Save yourself the trouble and just use what they give you.

Upvotes: 1

Related Questions