beaulebens / keyring-social-importers

A collection of importers which pull your content back from social networks, and into your own WordPress install.
32 stars 17 forks source link

Twitter: t.co links are not converted #7

Closed beaulebens closed 7 years ago

beaulebens commented 7 years ago

Twitter converts links to t.co shortlinks when you create a Tweet. The importer should reverse that back to the original link when creating a local post (available via entities property in the import data, so can also add a reprocessor to got back and fix old posts).

Originally reported here.

ChrisHardie commented 7 years ago

Proposed fix and reprocessor in https://github.com/beaulebens/keyring-social-importers/pull/11/commits/584178141cc11ff4af59abff43fa13cdc128a946. Tested against latest WP and ~200 tweets that include regular links, media, retweets, etc.

beaulebens commented 7 years ago

Fixed in a992093af71e7105b63cffefa3b6029c2c1951ba