Title: [Plugin: Tweet This] bit.ly api support broken
Last modified: August 19, 2016

---

# [Plugin: Tweet This] bit.ly api support broken

 *  Resolved [brianlance](https://wordpress.org/support/users/brianlance/)
 * (@brianlance)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-tweet-this-bitly-api-support-broken/)
 * The new support for bit.ly api usernames and api keys is broken. on line 226 
   of tweet-this.php the undefined function jd_remote_json() is called. Google search
   shows that it looks like this section of code may have been lifted from the wp-
   to-twitter plugin?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [brianlance](https://wordpress.org/support/users/brianlance/)
 * (@brianlance)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-tweet-this-bitly-api-support-broken/#post-1650286)
 * Automatic tweeting is also broken. tweet-this/tweet-this.php is trying to include/
   tweet-this/lib/twitteroauth.php which doesn’t exist.
 *  Plugin Author [Richard Thripp](https://wordpress.org/support/users/richardxthripp/)
 * (@richardxthripp)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-tweet-this-bitly-api-support-broken/#post-1650299)
 * Looks like I forgot to replace jd with tt. I was going to just wrap the function
   in an !if(function_exists(‘jd_remote_json’)) conditional but found that with 
   WP-to-Twitter and Tweet This activated tweet-this.php gets loaded first, so the
   function would be declared twice. I fixed that without incrementing the version
   number (give WordPress.org 15 minutes to update).
 * The second one is definitely on your end. Make sure you uploaded all the files
   in the /lib/ folder as twitteroauth.php and OAuth.php are new to v1.7.
 *  Thread Starter [brianlance](https://wordpress.org/support/users/brianlance/)
 * (@brianlance)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-tweet-this-bitly-api-support-broken/#post-1650423)
 * Thanks for the quick fix. I can confirm it (bit.ly api) is working now.
 * For the other issue… I installed the plugin through my wordpress (mu) site and
   those files were not included in the download for some reason. The reinstall 
   after your fix for the bit.ly problem also resolved this.
 * Thanks!
 *  Plugin Author [Richard Thripp](https://wordpress.org/support/users/richardxthripp/)
 * (@richardxthripp)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-tweet-this-bitly-api-support-broken/#post-1650438)
 * Okay, that’s great. Did you use the WordPress plugin installation feature? It
   doesn’t seem to work right with Tweet This–perhaps it’s because the ZIP file 
   contains over 80 icons for the Extended Services (Facebook, MySpace, etc.).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Tweet This] bit.ly api support broken’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/tweet-this.svg)
 * [Tweet This](https://wordpress.org/plugins/tweet-this/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tweet-this/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tweet-this/)
 * [Active Topics](https://wordpress.org/support/plugin/tweet-this/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tweet-this/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tweet-this/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Richard Thripp](https://wordpress.org/support/users/richardxthripp/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-tweet-this-bitly-api-support-broken/#post-1650438)
 * Status: resolved