Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharing to social pages with django

In my django application I have different content across the site. Now I would like to add "Share this to... (Facebook,Twitter,Buzz)" link on each page. But instead of redirecting to a social app page I would like to open popup with (if needed) logging/adding possibility. How to get started ? What steps/operations I need to perform and what ready made applications can I use ? I have already created a twitter app and facebook app and have all the keys.

I mean something like links here http://mashable.com/awards/ (left-side).

like image 384
sasquatch90 Avatar asked Oct 19 '10 09:10

sasquatch90


People also ask

How does Django integrate social login?

Django Setup Set up the initial tables and add a superuser: $ python manage.py migrate Operations to perform: Apply all migrations: admin, contenttypes, auth, sessions Running migrations: Applying contenttypes. 0001_initial... OK Applying auth. 0001_initial... OK Applying admin.

Can you make spa with Django?

With Django, you'll be able to create SPAs with professional real-time projects where the logic is in Python. By the end of this Django book, you'll be able to build real-time applications, as well as gaining a solid understanding of WebSockets with Django.


2 Answers

Sharethis: http://sharethis.com/ works well in every instance I've used it.

like image 73
Andrew Sledge Avatar answered Nov 04 '22 02:11

Andrew Sledge


If you want only specific 'share buttons' or with default style justy type " social_name 'share button' " and you will get the js to include on your site (here are the 3 you mentioned in post):

http://www.facebook.com/share/
http://twitter.com/goodies/tweetbutton
http://www.google.com/buzz/api/admin/configPostWidget

like image 20
sasklacz Avatar answered Nov 04 '22 03:11

sasklacz