Twitter Media Endpoint
The Twitter Media Endpoint WordPress plugin allows you to turn your WordPress install in to your own personal Twitter image service, similar to a service like Twitpic, Twitgoo, or Y.Frog. The difference being images are saved to your personal WordPress installation, not a third party service. You retain complete ownership and control of your media, and drive traffic to your site.
Recently, many image hosting sites have been in the news because of their hostile terms of service. You post your photos using your mobile Twitter client and lose all control over them. When posted to your personal WordPress blog you retain copyright.
Setting up the plugin
- In your WordPress Dashboard go to Plugins -> Add New and search for twitter-media-endpoint.
- Click install on the plugin.
- A new Application must be registered at http://dev.twitter.com. When registering your application be sure to set the Organization and Callback URL to your website URL. The Application Type should be Browser.[image]
- Now go to your blog’s Media Settings and enter the Consumer Key, and Consumer Secret from your Twitter app. You also need to choose what you want the URL for your service to be. Whatever you enter here will be what is entered in your Twitter client.[image]
- Two final options are “attaching” images to a specific page of your blog, this could make creating a simple gallery easier, and whether you want the short URL or the full URL returned to your Twitter client.
- Each user will now need to go to their profile page and authorize the application.[image] [image]
Setting up your Twitter client
Your Twitter client needs to have the ability to define a Custom Media Upload Service (this is what Twitterrific calls it). Twitter, and Twitterrific both allow this (though the desktop version of Twitter does not), I have not tested other apps. Go into your client’s settings and add the URL you defined previously.[image]
The plugin uses OAuth Echo for all authentication requests. This means your authentication keys (user names and passwords are never sent) are sent from your Twitter client, through your blog, on to Twitter. Twitter verifies your credentials, then the plugin verifies the person posting has been set up on WordPress. After all that the media is posted to your WordPress site, and the URL of the file is sent back to your Twitter client. This should look pretty much the same as services like Twitpic work, except you are hosting your own pics.