Now that I mostly completed my plugin, I do not really think that there is much else at this time. Still, that does not mean I cannot improve other things.
For quite a while, I have been using Socialink, which is a nice plugin. However, there were improvements that could certainly have been made, mainly other service choices. Wanting to have an easier way to share with Tumblr, I modified the socialink plugin to add support for the service.
Looking around for data, I found this page from Tumblr that reveals what one usually needs. However, they seem to have a bit too much code.
However, not everyone is going to want to code this stuff in him or herself, so I am going to follow Stuchl4n3k.Net's example and make this easy on you all.
How to Add Tumblr Support
The steps to adding Tumblr support, at least the easy way, is no different from Stuchl4n3k's instructions for adding Google+ support.
- Download original plugin
- Download modified plugin script (this is based on Stuchl4n3k's script, so Google+ support is also present)
- Replace original socialink.plugin.php with modified script
- Install and configure plugin to add Tumblr sharing
The only real problem is that there may not be an image available to use with the share link. However, this can be remedied by finding or making an image that is suitable. I recommend using an image that is 16x16, so it does not have to be scaled by the browser. The image itself must be located in the /path/to/socialink/img/icon/ and be named tumblr.png.
And with that, one can now finally share their favorite posts with Tumblr.
What do you think of this modification? Do you think that this is a good addition? Have any images that people can use for a Tumblr share button? Feel free to comment.
Use an app on your on phone (e.g. Scan for Android) to capture the image above. If successful, you should be taken the web version of this article.