Automatic status update V Kontakte with twitter – twitter 2 V Kontakte

Twitter2Vkontakte
Twitter2Vkontakte

Before I want write my own script for broadcasting my tweets to Kontakt. But I decide don’t re-invent the wheel and start finding off-the-shelf solution. When I’m finding I get two variants:

  1. Merging statuses twitter.com and vkontakte.ru
  2. Merging V Kontakte and Twitter in PHP

First script isn’t work for me and second working very slow, because it gets tweets from RSS. I’m merge this two scripts in one. By virtue of twitterPHP (developed by David Billingham) which using in first variant and using UseAPI V Kontakte (second variant) succeeded instant status update in Kontakt. Idea of saving last status be found more fortunately. I’m save this function.

For automatic updating you need give task to your planner. For UNIX hosting it is cron. For example:

1 * * * *  /usr/bin/lynx http://example.com/ttv/twitterToVKontakte.php

or

1 * * * * /usr/bin/wget -O - -q -t 1 http://www.example.com/twitterToVKontakte.php

Configuration takes in twitterToVKontakte.php. That’s all. You can download achieve with my version.

  Twitter2Vkontakte (4.1 KiB, 347 hits)

Leave a Reply

Security Code: