Linux 软件免费装

Tweet Images

开发者 simonwheatley
cftp
更新时间 2012年10月23日 17:56
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 3.4.1

标签

image twitter tweet hosting twitpic yfrog twitter image hosting tweetie twitter for iphone twitterific

下载

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.71 0.8 0.9 1.0 1.1

详情介绍:

A replacement for TwitPic, yFrog, etc, for hosting your tweeted images on your WordPress blog - as used by Stephen Fry for uploading his Twitter images to his blog! Creates a post per image. I've got instructions for Twitter for iPhone, and for Twitterific for iPhone/iPad. Each post created by this plugin contains the image (resized) and the text of the tweet (with hashtags linked to Twitter Search, and URLs linked) Hashtags from the tweet are converted into WordPress tags. Posts are set to the "Image" post format (requires WP 3.1+). Includes the option to set a specific Bit.ly account for shortening the URLs of the Tweet Image posts. So if you want to have your tweeted pics on a specific and separate short URL domain from tweeted links, you can do. Read the Installation instructions for how to set this up on your handheld telephone. Developers! Developers! Developers! There's lots of handy filters and actions for you to extend this plugin, use a custom post type rather than regular ol' posts, customise the post content, and lots, lots more! Development for this plugin is hosted on GitHub, feel free to raise bugs and submit pull requests. Translators: Check out the file in the locale folder, translations welcome! Thanks!

安装:

WordPress plugin installation
  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Make sure you set the Admin > Settings > Permalinks to something other than "default"
Optionally: install WP Touch, free, or WP Touch Pro, paid, or a similar WordPress mobile theme to ensure a nice mobile friendly layout for your images. Instructions below for a couple of Twitter apps I've tested this on. There may be other apps this works with, on platforms I'm not familiar with (e.g. Android, WebOS, etc), feel free to Give It A Go™ and let me know how you get on, please! Settings for Twitter for iPhone
  1. Launch Twitter for iPhone
  2. Tap on the three dots bottom right ("•••")
  3. Tap on "Accounts & Settings"
  4. Tap on "Settings" (bottom left)
  5. Tap on "Services" (you might need to swipe down the screen to find it)
  6. Tap on "Image Service"
  7. Tap on "Custom…"
  8. Still with me?
  9. Clear any value in the form field, and copy/paste the value from your "Endpoint" field in your WordPress user profile into the "Image Service API Endpoint" field... you might find it easier to copy the text into an email on your iPhone, copy it from the iPhone Mail app and paste into the field (here's a cheesy man showing you how to copy/paste)
  10. Tap "Save"
  11. You're done… Phew!
Settings for Twitterific on iPhone/iPad
  1. Launch Twitterific
  2. Go to create a new Tweet
  3. Tap on the Camera icon on the right
  4. Choose "Change Upload Service"
  5. Tap "Other" at the bottom
  6. Nearly there…
  7. Clear any value in the form field, and copy/paste the value from your "Endpoint" field in your WordPress user profile into the "Image Service API Endpoint" field... you might find it easier to copy the text into an email on your iPhone, copy it from the iPhone Mail app and paste into the field (here's a cheesy man showing you how to copy/paste)
  8. Tap the "Upload Service" back button top left
  9. Tap "Done" top right
  10. Yep, you're done now… tweet away!
Settings for Tweetbot for iPhone
  1. Launch Tweetbot for iPhone
  2. Navigate to the "Accounts" screen (keep tapping top left button), if you aren't already there
  3. Tap on the "Settings" button
  4. Under "Account Settings", tap on the account you want to set up
  5. Tap on "Image Upload"
  6. Tap on "Custom" (towards the bottom of the list)
  7. Clear any value in the form field, and copy/paste the value from your "Endpoint" field in your WordPress user profile into the "Image Service API Endpoint" field... you might find it easier to copy the text into an email on your iPhone, copy it from the iPhone Mail app and paste into the field (here's a cheesy man showing you how to copy/paste)
  8. Tap "Done"
  9. Tap the top left back button a few times to get back to the "Accounts" screen
  10. You're done… Phew!

升级注意事项:

1.1
  • BUGFIX: Fixed some issues causing PHP notices.
1.0
  • Added $attachment_id to wpti_published_post action to make it easier for devs to do stuff on this hook.
0.9
  • Should reduce the load on your server a bit.
0.8
  • Fixes posting from Tweetbot, thanks to Steve Bullen for identifying the issue and providing a fix

常见问题:

What's this about a secret? (AKA "The Security Question")

Unless your website is secure, i.e. the web address starts with "https" and you see a little padlock in the location bar when you're visiting the site, then all the information between your iPhone and your website will be transmitted "in the clear". Transmitting information in the clear means that if someone can intercept the information then they can see it without any further effort on their part. This means that transmitting your WordPress or Twitter username and password whenever you send an image opens you up to potential hackers and mischief-makers stealing your credentials and posting information on your WordPress blog or Twitter account. To get around this, Tweet Images generates you a unique and very hard to guess secret. The Tweet Images secret can only be used to post images to your WordPress site, and can be reset very easily to re-secure your site. This isn't an ideal solution, but it's the best we could think of in the circumstances. Future releases of this plugin will support secure connections between your iPhone and website.

So how do I reset my secret?

Go to your User Profile (in the WordPress admin area, click on your username top right) and click "Regenerate Secret". You'll then need to redo the settings in your Twitter app.

Does this plugin have any hooks?

Yes it does! Check out the code for more, but briefly you can filter the category a tweet image post is put in with the wpti_post_category, the post data used for the post with the wpti_post_data filter, the image size used for the tweet image in the post with the wpti_image_size filter, and the tags for the post with the wpti_post_tag filter. There is also an action wpti_published_post which is fired whenever a tweet image post is published.

更新日志:

0.9 0.8 0.71 0.7 0.6 0.5 0.4 0.3 0.2 0.1