Social badges on the fly. A fork of pypins by karan (@karangoel).
Tweet | Like | Share |
---|---|---|
Example badges for http://www.goel.im/
.
http://sopins.herokuapp.com/twitter/<url>/pin.<format>
Example:
http://sopins.herokuapp.com/twitter/https://www.google.com/pin.png
Example that open Tweet popup:
[![](http://sopins.herokuapp.com/twitter/https://www.google.com/pin.png)](https://twitter.com/intent/tweet?text=This+is+Amazing.&url=http://www.goel.im&via=KaranGoel)
http://sopins.herokuapp.com/linkedin/<url>/pin.<format>
Example:
http://sopins.herokuapp.com/linkedin/http://arstechnica.com/pin.png
1. Share
http://sopins.herokuapp.com/facebook/like/<url>/pin.<format>
Example:
http://sopins.herokuapp.com/facebook/share/https://www.google.com/pin.png
Example that open Share popup:
[![](http://sopins.herokuapp.com/facebook/share/https://www.google.com/pin.png)](https://www.facebook.com/sharer/sharer.php?u=http://www.goel.im)
2. Like
http://sopins.herokuapp.com/facebook/share/<url>/pin.<format>
Example:
http://sopins.herokuapp.com/facebook/like/https://www.google.com/pin.png
SoPins are available in variety of formats:
- PNG
- SVG
- JPEG
- GIF
- TIFF
##Styles
SoPins has support for different styles for the pins, you can use either flat
(default) , plastic
and flat-square
styles for your pins.
Using different styles is very easy, you just need to enter a style parameter in your URL.
For example:
http://sopins.herokuapp.com/facebook/like/https://www.google.com/pin.png?style=flat-square
http://sopins.herokuapp.com/linkedin/http://arstechnica.com/pin.png?style=plastic
http://sopins.herokuapp.com/linkedin/https://github.com/pin.png?style=flat