Twitter backup script with url decoding
I appended excelent dgx's twitter backup script with decoding of minified urls, because I hate being dependent on volatile third parties, and url shorteners are an excelent example of such.
The xml is similar to the twitter xml response, but each status has additional element text_decoded, which contains tweet's text with url's replaced by their original versions.
Usage:
Edit your username and password in source, run from the commandline (php twitter-backup.php).
Known limitations:
Unshorten::Decode does not distinguish url shorteners, it just uses any target of redirection it gets (so if tweet author included full url, and that is now redirected to another site, you will get that another site in the output).
Download:
See the bottom of the article.
| Příloha | Velikost |
|---|---|
| twitter-backup.zip | 5.57 KB |
- 813x přečteno

Komentáře/Comments
Kde je odkaz na stažení?
Odkud mohu tvůj upgradlý TW for PHP stáhnout?
:)
Jéžiš, díky - zapomněl jsem nastavit práva pro nepřihlášené uživatele, Drupal všechno defaultně vypíná (což je jediné logické chování, jen se na to nesmí zapomenout :)). Už to tu je, pod článkem :).
áchjo
Ahoj,
je to smutný, ale nevim jak to rozchodit. Prosím o radu.
Poslat nový komentář