How the Facebook like button works? I want to add it to my website, but no to my index page, to all profiles?
-
How the Facebook like button works? I want to add it to my website, but no to my index page, to all profiles? I mean my web have accounts > profiles for each user, so how can I make for every unique profile a Like button? when they click it post in facebook: TheDuDe has like [mypage.com/TheDuDe] How can I configure the button automatically to link the button to my website to facebook wall? Thanks Im learning a lot of this right now PD: I know the basics: HTML, CSS I understand javascript and I code a lot of php.
-
Answer:
What platform are you developing your website on? As this question determines where you want to drop your FB code. Since you mentioned php, I would assume you would want to hook the copy-n-paste script in users.php, but it really depends on where you want it, because if you want it hooked to any new post added by a user, then example in WordPress, it would need to be called in your post-new.php. There are also dozens of plugins or widgets available out there for various plugins. A good article on using FB likes and Gates: http://www.inforats.com/create-more-likes-on-facebook-wordpress-plugin/ This article's Gate allows the vistor to like the article, while the FB Like script in the header allows the visitor to Like the actual FB page for the website.
Darron Burow at Yahoo! Answers Visit the source
Other answers
What platform are you developing your website on? As this question determines where you want to drop your FB code. Since you mentioned php, I would assume you would want to hook the copy-n-paste script in users.php, but it really depends on where you want it, because if you want it hooked to any new post added by a user, then example in WordPress, it would need to be called in your post-new.php. There are also dozens of plugins or widgets available out there for various plugins. A good article on using FB likes and Gates: http://www.inforats.com/create-more-likes-on-facebook-wordpress-plugin/ This article's Gate allows the vistor to like the article, while the FB Like script in the header allows the visitor to Like the actual FB page for the website.
Darron Burow
If you code a lot of PHP then you should know how to make the "like" button unique to each user. In your profile.php file just add in the "like" button code. Change the "liking url" (the url you want people to "like"). So say the url would be... http://mywebsite.com/index.php?action=profile&id=$userid
Adam Lacombe
pyuskurieslo
MuhniSky
pyuskurieslo
MuhniSky
Related Q & A:
- How do I disable the Facebook share button?Best solution by Stack Overflow
- I want to add my picture to my profile.Best solution by Yahoo! Answers
- I want to add my personal photos. how can i add it.
- I want to add or delete in the tool bar.Best solution by Yahoo! Answers
- I want to add an e-mail address to my account.. How do I do this.Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.