Solved

Multiple Share

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now