use Net::Twitter;
$user = "user name" ;
$pass = "password" ;
my $nt = Net::Twitter->new(
traits => [qw/API::REST API::Search/],
username => $user,
password => $pass
);
my $result = $nt->followers() ;
foreach $user ( @$result )
{
$name = $user->{'screen_name'} ;
$msg = "place your message here" ;
$nt->new_direct_message($name, $msg) ;
}
On Fri, Oct 16, 2009 at 4:45 PM, [email protected] <
[email protected]> wrote:
>
> To Whom It May Concern: I just attempted retweeting a message to all
> my followers and I had to manually send each message to each
> follower. As I was undergoing this tedious task, I thought to myself,
> there has to be a simple code that will enable one send a message to
> all of thier followers or to all the people they are following. Kinda
> like a send all button.
>
> I believe one of your developers could even create a checklist that
> lists all of ones followers and provides them with an option to check
> the followers that they would like to send a particular message to,
> and there could be a button at the top and the bottom of the check
> list that would allow them check all or uncheck all.
>
> Please feel free to email me at [email protected] if you would like
> me to elaborate on this topic.
>
> Thanks,
>
> Adaorah
>
--
mailto:[email protected] //
GoogleTalk: [email protected]
IM: nealrauhauser