Solved

Multiple Share

Posted on 2010-11-10
3
382 Views
Last Modified: 2012-05-10
how can i have multiple share buttons or like buttons on the same page
0
Comment
Question by:mugsinc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Expert Comment

by:guvera
ID: 34109389
Hi,
 
  Here is one of the link for overview what your are expecting http://fblikeme.com/index.php

I am not familiar in php. But i can give an idea about this interesting one like facebook. This is the details of above link for like button in single page.

On the fblike.me index.php page, each instance of a like button corresponds to a link.  The layout you see is:  Like button, number of likes, URL.

If you look at the code behind it you'll see each instance of the Like button actually refers to the target page of the URL and NOT the page that it's on (index.php).  The relevant Meta data is then placed on the target page.

<fb:like layout="button_count" class="like_button" href="http://Fblikeme.com//like.php?id=57"></fb:like>
<a class="like_a" href="like.php?id=57"> C.L.A.S.S = Come late and start sleeping tongue</a>

See that the HREF of the fb:like is the same as the HREF on the anchor?  If you go to the target page you'll see the relevant meta data on there.

Hope that helps
0
 
LVL 8

Accepted Solution

by:
guvera earned 500 total points
ID: 34109394
Also please check the below link for share button in single page

http://www.addthis.com/forum/viewtopic.php?f=2&t=27074
0
 
LVL 1

Author Closing Comment

by:mugsinc
ID: 34109982
Fast
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question