[Django]-Social media link in Django

12👍

4👍

I found somethings. For Google, Linkedin, Facebook:

 <a href="https://plus.google.com/share?url=http://your-domain{{ request.get_full_path|urlencode }}"></a>
 <a href="http://www.linkedin.com/shareArticle?url=http://your-domain{{ request.get_full_path|urlencode }}&title=<your title>&summary=<your desc>&source=http://your-domain"></a>
 <a href="http://www.facebook.com/sharer/sharer.php?u=http://your-domain{{ request.get_full_path|urlencode }}"></a>

Also, this plugin (django-social-share) is very nice.
You can install it by:

pip install django-social-share

For using this plugin see the Doc’s page

Leave a comment