Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Fix twitter image URL thumbnails in DB #56

Open
fxneumann opened this issue Jul 6, 2013 · 0 comments
Open

Fix twitter image URL thumbnails in DB #56

fxneumann opened this issue Jul 6, 2013 · 0 comments

Comments

@fxneumann
Copy link

Hi,

the current version generates the right link to pic.twitter Thumbnails, but the links already in the DB don't get fixed.

I used this query to repair it (assuming it's always 50 chars, as it was in my DB):

update `tn_tweets` set `extra` = replace(`extra`,'50:"http://p.twimg','52:"http://pbs.twimg');

This could be placed in upgrade.php.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant