Reputation: 11
I've created simple icons to share my blog posts on Facebook, Pinterest and Twitter. The Facebook link used to work, but now it doesn't. I'm not sure what to use for Pinterest. The Twitter link works just fine, although I'd like to include my Twitter handle.
Do you have any suggestions on how to get the Facebook link to work or what to use for Pinterest? Thank you.
Here's what I've been using:
<li><a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>" target="_blank"><span class="icon-facebook-1"></span></a></li>
<li><a href="http://twitter.com/home/?status=<?php the_title(); ?> - <?php the_permalink(); ?>" target="_blank""><span class="icon-twitter"></span></a></li>
Upvotes: 1
Views: 1106
Reputation: 31479
Well, the sharer.php
solution still works I think:
Or what exactly isn't working for you? For Twitter, I think the Tweet Web Intent might be a solution for you.
See
Upvotes: 1