开发者 |
simonwheatley
cftp |
---|---|
更新时间 | 2012年10月23日 17:56 |
捐献地址: | 去捐款 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 3.4.1 |
plugin-name.php
to the /wp-content/plugins/
directoryUnless 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.
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.
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.