Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Facebook 'like' button. (atypical)

by jozef (Sexton)
on Jul 15, 2011 at 11:02 UTC ( #914546=note: print w/replies, xml ) Need Help??

in reply to Re: Facebook 'like' button. (atypical)
in thread Facebook 'like' button.

What about providing text link or an image link with onClick event and only the click will add the iframe tag to the current page? So no external code or elements on the pages unless someone is really willing to make a social network action like "like", "tweet" or "+1" or what ever sharing option we have today.
  • Comment on Re^2: Facebook 'like' button. (atypical)

Replies are listed 'Best First'.
Re^3: Facebook 'like' button. (atypical)
by Anonymous Monk on Jul 15, 2011 at 11:08 UTC

      What about:

      Kudos goes to sixtease and his project csobo for the enormous list of share links.

        This is a very good approach, and in my limited testing it works directly when pasted into the Free Nodelet.

        Personally, I would rewrite the Javascript a bit so it adds the "Share This" links to all replies on the current page as well (with the appropriate links), but that's a small matter of XPath queries and shouldn't prevent anybody from using this.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://914546]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2018-06-24 22:55 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.