Tumblr sharer URL override
Asked Answered
T

2

7

Tumblr has a sharer just like Facebook and Twitter, Tumblr's is: http://www.tumblr.com/share/. I believe that Tumblr's works by looking at the referring URL and uses that.

I cannot seem to find any documentation to override that. I want to pass in an additional key into the URL that is sent by default. Any ideas how to do this?

Thrive answered 29/5, 2011 at 18:32 Comment(0)
W
11

Tumblr share URL as of Aug. 2014:

http://www.tumblr.com/share/link?url=[uri encoded URL]&name=[title]&description=[description]
Wham answered 21/8, 2014 at 21:29 Comment(2)
This should still work as shown in their docs: tumblr.com/buttons Under 'Share Buttons' go to Step 4 and click Javascript to see all the anchor link code.Wham
My bad! Haven't encoded text before using. This works just fine.Bayly
S
16

The URL format is as follows:

http://tumblr.com/share?s=&v=3&t=[Title]&u=[uri encoded URL]

This will pre-populate the share form with the chosen title and url. As noted the URL, or value of u= must be URI encoded to work properly.

Sluggard answered 29/5, 2011 at 18:49 Comment(0)
W
11

Tumblr share URL as of Aug. 2014:

http://www.tumblr.com/share/link?url=[uri encoded URL]&name=[title]&description=[description]
Wham answered 21/8, 2014 at 21:29 Comment(2)
This should still work as shown in their docs: tumblr.com/buttons Under 'Share Buttons' go to Step 4 and click Javascript to see all the anchor link code.Wham
My bad! Haven't encoded text before using. This works just fine.Bayly

© 2022 - 2024 — McMap. All rights reserved.