Em Andamento

Tweet from Perl

I wish to "tweet" from within a Perl script. This will be a simple status message update and ideally allow me to post the location of this with a provided lat/lng.

The script will always post to the same Twitter account. I used to do this with username/password authentication but now I am told it has to be OAUTH and I do not know how to make this work.

I will need instructions on how to configure my Twitter account to support this authentication method and the Perl script to "tweet".

## Deliverables

I have tried the script below with no success - it might be a fault in the setup of my Twitter account - assistance appreciated:

#!/usr/bin/perl

use Net::Twitter::Lite;

use URI::Escape;

$access_key="xxx";

$access_secret="xxx";

$consumer_key="xxx";

$consumer_secret="xxx";

$message="Test message";

my $nt = Net::Twitter::Lite->new(

consumer_key => $consumer_key,

consumer_secret => $consumer_secret,

access_token => $access_key,

access_secret => $access_secret,

);

my $result = eval { $nt->update($message) };

print "Tweet: $result\n";

exit;

You will be welcome to test against my test twitter account with the associated keys and secrets of course.

Habilidades: Amazon Web Services, Engenharia, PHP, Gestão de projetos, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: tweet, escape, net perl, twitter oauth php, php lite, perl post, xxx twitter, twitter php status, password post xxx, twitter tweet script, perl project management, course management php script, net twitter, php use perl script, tweet message script, script password twitter, php course management script, project password twitter, course management script, php script tweet, password oauth, php oauth, need lat, php tweet, php script post twitter

Acerca do Empregador:
( 7 comentários ) United Kingdom

ID do Projeto: #3003767

Premiar a:

pafkavw

See private message.

$12.75 USD em 14 dias
(57 Avaliações)
4.7

3 freelancers estão ofertando em média $21 para este trabalho

tzo

See private message.

$25.5 USD in 14 dias
(272 Comentários)
6.6
spx2vw

See private message.

$25.5 USD in 14 dias
(38 Comentários)
4.7