Solved

Multiple Share

Posted on 2010-11-10
3
379 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

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 …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

809 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