Categories
Python

Python tool to expand short URLs

In one of my last posts, I posted a code snippet which demonstrated how to use php to expand short URLs to their original long form. Here’s the Python version I coded a few minutes ago.

Python 3:

These codes are for Python 3. The tool was developed for CLI use.

Categories
PHP

PHP-CLI: Expand Short URLs

This is a modified version of the code snippet available at: http://hasin.wordpress.com/2009/05/05/expanding-short-urls-to-original-urls-using-php-and-curl/#comment-68180

It’s a php command line tool to expand a provided short url.

Categories
Python

Python CLI App to update friendfeed: My way

I wrote a python CLI program to use the mobile friendfeed publisher at https://masnun.com/ff/.

It just posts the credentials to the mobile page, then the mobile page makes the update to friendfeed.

Source: http://myfriendfeed.googlecode.com/files/friendfeed.py