Codeinwp / tweet-old-post

Plugin to tweet about your old posts to get more hits for them and keep them alive.
GNU General Public License v2.0
12 stars 16 forks source link

Update Bit.ly shortener to v4 #582

Closed UVLabs closed 4 years ago

UVLabs commented 4 years ago

We're currently using v3 inside our code: https://github.com/Codeinwp/tweet-old-post/blob/master/includes/admin/shortners/class-rop-bitly-shortner.php#L79

We're already using the general access token which is a v4 feature but the shorten endpoint seems to still be v3

https://support.bitly.com/hc/en-us/articles/360004395631-Migrating-from-v3-to-v4-of-the-Bitly-API

UVLabs commented 4 years ago

Fixed in https://github.com/Codeinwp/tweet-old-post/commit/f0bfe28cd6c15c8716179c99ad379e02081d7cb5