Re: [twitter-dev] Re: Net::Twitter::Lite cannot authenticate me

2011-01-29 Thread Marc Mims
On Fri, Jan 28, 2011 at 3:02 PM, Sol  wrote:
> Where do the access token and access token secret come from?
> I thought they cam from some computation that twitter does with
> the consumer key and consumer_secret. If they don't come from
> there then what do I do to generate/get them?

Visit  http://dev.twitter.com/apps (requires a sign in). From the page
that shows your app's consumer key and secret, select the button on
the right side for your access tokens.

If you are just using Net::Twitter to access your own account, that's
all you need.  If you want other users to have access to your account,
you need to obtain access tokens for them.  See the example code
included in the distribution.  Here's a link to them at Github:
https://github.com/semifor/net-twitter-lite/tree/master/examples

-Marc

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: Net::Twitter::Lite cannot authenticate me

2011-01-28 Thread Patrick Kennedy
Sol,

They do come from Twitter, but your program must retrieve the token
and extract the access token and secret.  If your program doesn't save
them to variables or cookies, subsequent requests will fail, for
example.  You probably haven't probably retrieved them.

That said, I am having problems making new Twitter programs work
during the last 48 hours for newly registered programs.  There may be
some kind of problem with the API.  I wasn't having any problem day
before yesterday.

~Patrick

On Fri, Jan 28, 2011 at 3:02 PM, Sol  wrote:
> Marc,
>
> Where do the access token and access token secret come from?
> I thought they cam from some computation that twitter does with
> the consumer key and consumer_secret. If they don't come from
> there then what do I do to generate/get them?
>
> Thanks very much.
>
> Sol
>
> On Jan 19, 9:20 am, Marc Mims  wrote:
>> * Sol  [110115 11:02]:
>>
>> > Hello. I'm trying to tweet programmatically using the
>> > Net::Twitter::Lite perl module. I use their example verbatim, with my
>> > consumer_key and consumer_secret which I got by registering an app on
>> > twitter.
>>
>> Did you also copy/paste your access token and access token secret?
>> Those are also required.
>>
>>         -Marc
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group: 
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk