开发者

Sharing to social pages with django

开发者 https://www.devze.com 2023-01-20 22:31 出处:网络
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 pa

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 开发者_JS百科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).


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


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


If you already have the app written to behave like mashable, one approach is to put the login dialog (if it's needed) in a jQuery dialog. http://jqueryui.com/demos/dialog/

0

精彩评论

暂无评论...
验证码 换一张
取 消