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:
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)


18 August 2009
in
No Comments





