[twitter-dev] Re: Can we have bulk statuses/show?

2010-09-06 Thread Jaanus
Thanks, this makes sense (that api status fetching is modeling your
cost this way).

J


On Sep 1, 7:40 am, John Kalucki  wrote:
> Fetching a random list of statuses is likely to include a number of statuses
> that are not in cache. I think accounting for them on a one-by-one basis
> models our cost fairly well.
>
> -John Kaluckihttp://twitter.com/jkalucki
> Twitter Inc.
>
>
>
> On Wed, Sep 1, 2010 at 8:00 AM, Jaanus  wrote:
> > The statuses/show/:id API method right now only retrieves a single
> > status. Could we have a bulk version, where you can pass a set of
> > status ID-s, and receive a set of statuses in return? Primary
> > motivation is to conserve rate limit. In some apps, you have a set of
> > status ID-s that you want to display to user, and fetching them one by
> > one consumes limit like crazy.
>
> > J
>
> > --
> > 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?hl=en

-- 
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?hl=en


[twitter-dev] Re: Retweet results in 401: Unauthorized

2010-09-06 Thread Papa.Coen
I now (successfully) perform a request for a request token
(oauth_token and oauth_token_secret) and use the information to do a
retweet request, but I still get the '401, unauthorized' message.

Base signature string:
POST&http%3A%2F2Fapi.twitter.com%2F1%2Fstatuses%2Fretweet
%2F22684354355.xml&oauth_consumer_key%3DI1yQDPyI7WUn2fN9JfFWww
%26oauth_nonce%3DYpI%252BXuJWeZ%252BNGfx3QKd
%252F1lrULHSIIf3C3ozOS0gjPP0%253D%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1283766763%26oauth_token
%3DkbTgqKDyvXJzdCnxAHnzkMgwzNFmDqQCAlGAEkPVgEs%26oauth_version%3D1.0

Sniffed nfo:
POST /1/statuses/retweet/22684354355.xml HTTP/1.1
Content-Type: application/x-www-form-urlencoded (or the utf-8 variant)
User-Agent: RTL Netherlands OAuth Consumer
Authorization: OAuth oauth_consumer_key="I1yQDPyI7WUn2fN9JfFWww",
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1283766763",
oauth_nonce="YpI%2BXuJWeZ%2BNGfx3QKd%2F1lrULHSIIf3C3ozOS0gjPP0%3D",
oauth_version="1.0",
oauth_token="kbTgqKDyvXJzdCnxAHnzkMgwzNFmDqQCAlGAEkPVgEs",
oauth_signature="oCixDUOAd9Y0boxNUkzILBqLe0Y%3D"
Host: api.twitter.com

HTTP/1.1 401 Unauthorized
Date: Mon, 06 Sep 2010 09:52:45 GMT
Server: hi
Status: 401 Unauthorized
WWW-Authenticate: Basic realm="Twitter API"
X-Runtime: 0.00397
Content-Type: application/xml; charset=utf-8

Content-Length: 163
Cache-Control: no-cache, max-age=1800
Set-Cookie: k=217.118.160.30.1283766765938752; path=/; expires=Mon, 13-
Sep-10 09:52:45 GMT; domain=.twitter.com
Set-Cookie: guest_id=128376676594167272; path=/; expires=Wed, 06 Oct
2010 09:52:45 GMT
Set-Cookie:
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCHhJduYqAToHaWQiJTdhNjZkMWY4MjdmZjRi
%250AYzNmNDNkZjM5MDhjMzg2YjU4IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--082acbfa5c013b238dddedeb5869bb1707083b65;
domain=.twitter.com; path=/
Expires: Mon, 06 Sep 2010 10:22:45 GMT
Vary: Accept-Encoding
Connection: close


  /1/statuses/retweet/22684354355.xml
  Could not authenticate with OAuth.



On Sep 3, 5:00 pm, Tom van der Woerdt  wrote:
> I just noticed that you are not sending an oauth_token. You really need
> it for this request ;-)
>
> Tom
>
> On 9/3/10 4:52 PM, Papa.Coen wrote:
>
> > Says here:http://dev.twitter.com/doc/post/statuses/retweet/:id
> > It's on the internets, so it's true :)
>
> > I was toying around with oauth_... header parameters. I get the same
> > message when leaving the callback out. I thought maybe that was the
> > problem (not having a callback at first)
>
> > Base string:
>
> > POST&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fretweet
> > %2F2404341.xml&oauth_callback%3Dhttp%253A%252F%252Fwww.rtl.nl
> > %252Fexperience%252Frtlnl%252F%26oauth_consumer_key
> > %3DI1yQDPyI7WUn2fN9JfFWww%26oauth_nonce
> > %3DYmzNuZ4t6L1uYhzxFzvLjKWTyFoEVE9pyAz569zsX4g%253D
> > %26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> > %3D1283524907%26oauth_version%3D1.0
>
> > Again, you can leave out the callback part.
>
> > On Sep 3, 4:46 pm, Tom van der Woerdt  wrote:
> >> I'm pretty sure that /1/statuses/retweetrequires authorization ;-)
>
> >> There's one thing I see:
> >> * You are sending a oauth_callback where it's not needed.
>
> >> There's something I like to see:
> >> * Your Base String to verify that you are sending the right stuff.
>
> >> Tom
>
> >> On 9/3/10 4:39 PM, Papa.Coen wrote:
>
> >>> Whilst the docs state no authorization is required.
>
> >>> I think I'm doing something wrong with the OAuth fields I send. But I
> >>> have yet to find out exactly what and how to fix it. I've tried the
> >>> 'text/xml; charset=utf-8' content-type, but this results in the same
> >>> message.
>
> >>> Sniffed:
>
> >>> POST /1/statuses/retweet/22684354355.xml HTTP/1.1
> >>> Content-Type: application/x-www-form-urlencoded
> >>> User-Agent: RTL Netherlands OAuth Consumer
> >>> Authorization: OAuth oauth_callback="http%3A%2F%2Fwww.rtl.nl
> >>> %2Fexperience%2Frtlnl%2F",
> >>> oauth_consumer_key="I1yQDPyI7WUn2fN9JfFWww",
> >>> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1283523528",
> >>> oauth_nonce="uupiA1mAr22CmX3D3Lou73hDV7yIYP9G9YjsyuhGN%2FQ%3D",
> >>> oauth_version="1.0", oauth_signature="9HWVDDiftaW%2BZaOxNB692zBop1k
> >>> %3D"
> >>> Host: api.twitter.com
>
> >>> HTTP/1.1 401 Unauthorized
> >>> Date: Fri, 03 Sep 2010 14:18:49 GMT
> >>> Server: hi
> >>> Status: 401 Unauthorized
> >>> WWW-Authenticate: Basic realm="Twitter API"
> >>> X-Runtime: 0.00591
> >>> Content-Type: application/xml; charset=utf-8
> >>> Content-Length: 163
> >>> Cache-Control: no-cache, max-age=1800
> >>> Set-Cookie: k=217.118.160.30.1283523529311927; path=/; expires=Fri, 10-
> >>> Sep-10 14:18:49 GMT; domain=.twitter.com
> >>> Set-Cookie: guest_id=128352352931668878; path=/; expires=Sun, 03 Oct
> >>> 2010 14:18:49 GMT
> >>> Set-Cookie:
> >>> _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCGjK9tcqAToHaWQiJTFiYTNiMDlmMzZmNzdi
> >>> %250AODJjMWRiMmY2OTMyODQ4ZTU0IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
> >>> %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--53471a68

[twitter-dev] Password in a source

2010-09-06 Thread Andrea Stagi
I'm developing a software under gpl, a simple twitter client for GNU/
Linux
systems...This software uses some private keys for oAuth
authentication that no one must know..My idea is to distribute the
source without keys (or filled by only 'X' character) and the relative
executable file...But it seems not so correct to me...There's no
certainty that my executable works as the source as the code
shows...How can I do??

Thanks in advance,

Best regards!

-- 
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?hl=en


Re: [twitter-dev] Password in a source

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 3:03 PM, Andrea Stagi wrote:
> I'm developing a software under gpl, a simple twitter client for GNU/
> Linux
> systems...This software uses some private keys for oAuth
> authentication that no one must know..My idea is to distribute the
> source without keys (or filled by only 'X' character) and the relative
> executable file...But it seems not so correct to me...There's no
> certainty that my executable works as the source as the code
> shows...How can I do??
> 
> Thanks in advance,
> 
> Best regards!
> 

Everyone asks that, nobody can answer it, because there is no real
solution for the issue.

Just put the keys in the executable but not in the source. Really, it's
your only option. Well, actually that's not true, because you can also
simply proxy all traffic via a server, but that's not ideal.

Tom

-- 
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?hl=en


[twitter-dev] Re: Retweet results in 401: Unauthorized

2010-09-06 Thread Papa.Coen
But according to this page, authorization IS required:

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-retweet

-- 
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?hl=en


[twitter-dev] Re: Password in a source

2010-09-06 Thread Andrea Stagi
Hi Tom,

thanks for response...yeah it's true, monitoring all traffic you can
verify many application's behaviors , but not all ( e.g. interaction
with the o.s. )..But if there's no else way I'll distribute the source
with hidden passwords and the release explaining why passwords are not
visible..

Thanks a lot,

Regards

On Sep 6, 3:41 pm, Tom van der Woerdt  wrote:
> On 9/6/10 3:03 PM, Andrea Stagi wrote:
>
> > I'm developing a software under gpl, a simple twitter client for GNU/
> > Linux
> > systems...This software uses some private keys for oAuth
> > authentication that no one must know..My idea is to distribute the
> > source without keys (or filled by only 'X' character) and the relative
> > executable file...But it seems not so correct to me...There's no
> > certainty that my executable works as the source as the code
> > shows...How can I do??
>
> > Thanks in advance,
>
> > Best regards!
>
> Everyone asks that, nobody can answer it, because there is no real
> solution for the issue.
>
> Just put the keys in the executable but not in the source. Really, it's
> your only option. Well, actually that's not true, because you can also
> simply proxy all traffic via a server, but that's not ideal.
>
> Tom

-- 
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?hl=en


[twitter-dev] Re: Retweet results in 401: Unauthorized

2010-09-06 Thread Papa.Coen
Retweeting works when a user has granted my app Authorization first.
So I guess it's required. Seems logical too.

Thanks for the help!

Coen

-- 
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?hl=en


[twitter-dev] single access token

2010-09-06 Thread si...@freomob.co.uk
where do i find my 'single access token' ?

the twitter documentation tells me this is inside my app's details,
but i cannot find this.

do i have to request this as part of xauth? or do i have to generate
this via the oauth? the requirement for nonce token seems to prevent
me generating my own single access token.

all i am trying to do is an automated status update post several times
per day, and only post to my own account, and therefore need to use
the same token each time to post the status update.

thanks in advance for any replies.

simon.

-- 
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?hl=en


[twitter-dev] What Just Changed W/ Search API??

2010-09-06 Thread @evanmrose
Something just changed with the search api that now allows me to pull in
"about" tweets to my app. Did you guys start saving more @mentions?

Evan M. Rose || Founder || NiteFly Inc.
www.nite-fly.com
[e...@nite-fly.com || p: (914) 500-8792 || f: (914) 576-6364]

Twitter: http://bit.ly/mQvNS
LinkedIn: http://bit.ly/3IVTHY
NiteFly Blog: http://bit.ly/6qPbrX
Add NiteFly on Facebook: http://bit.ly/9Zj6mT
Check the Flickr for event photos: http://bit.ly/4Wgkck
___
Harvard '09
Regis HS '05
evanmr...@post.harvard.edu

-- 
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?hl=en


[twitter-dev] Develop one API get tweets to my webpage

2010-09-06 Thread kieungocdzung
Dear Team support,

I want to develop one tool get Tweets from server Twitter to my
webpage,
Can team to help me?
Thanks a lot

-- 
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?hl=en


[twitter-dev] Switch to OAuth - How to

2010-09-06 Thread Donglt
I'm a web developer, I've made a module that shows up tweets on site.
The module uses Twitter basic auth, means user, whom uses my module in
his site, have to input his Twitter username and password in the
module configuration. But with OAuth, does he have to register the
module with Twitter app to get Comsumer Key and Secret instead of
username & password? How can he use username & pw as currently?

-- 
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?hl=en


[twitter-dev] anyone got a working .NET example?

2010-09-06 Thread yout...@publicdataservice.org
anyone got a working .NET example?

I tried this http://www.PublicDataService.org/twitter/

-- 
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?hl=en


[twitter-dev] A general understanding of the oAuth process

2010-09-06 Thread KrushRadio - Doc
Hey all,

Just a quick question regarding oAuth, and how this all works.

So, with my small application broken, I'm trying to figure out how it
will work with oAuth.  First, i need to figure out the flow.. The rest
seems pretty easy.

Do I have to request a new usertoken every time i post to one of my
usernames from the application?  I have 3 different screennames that i
post tweets from, all coming from one source.  With the new oAuth
requirement, I am going to assume that i will need to connect to each
one from a signup page that i create.  From there, i will be given a
userToken of some sort.

With userTokens, is it generated everytime i try to send a tweet, or
can i save them in a database and re-use them from when i first
granted the application access to my screenname?

~Doc


-- 
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?hl=en


[twitter-dev] J2ME OAUTH token for Twitter

2010-09-06 Thread Amid Lad
I've been transitioning our basic authentication calls over to OAuth.
I'm using the j2me OAUTH library(for mobile). All of the
authentication calls
are working and I receive proper responses from GET requests.

But the problem is with access token. What I have to do is to pass the
url and get the
pin number and need to pass the pin number to get the access.

How can I avoid this process and directly get the pin response from
server and use it get the
twitter access?

What is the url to get the pin response?

Thanks in advance.

-- 
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?hl=en


[twitter-dev] following in hometime.xml

2010-09-06 Thread Saurabh
Hi ,

there is a  in home timeline xml .  For same
user ,value of this field  is changed with different tweet. so what
this value is saying.

with warm regards
Saurabh Kumar

-- 
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?hl=en


Re: [twitter-dev] single access token

2010-09-06 Thread Tom van der Woerdt
On 9/5/10 7:55 PM, si...@freomob.co.uk wrote:
> where do i find my 'single access token' ?
> 
> the twitter documentation tells me this is inside my app's details,
> but i cannot find this.
> 
> do i have to request this as part of xauth? or do i have to generate
> this via the oauth? the requirement for nonce token seems to prevent
> me generating my own single access token.
> 
> all i am trying to do is an automated status update post several times
> per day, and only post to my own account, and therefore need to use
> the same token each time to post the status update.
> 
> thanks in advance for any replies.
> 
> simon.
> 

http://dev.twitter.com/apps -> application -> My Access Token (it's on
the right)

Tom

-- 
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?hl=en


[twitter-dev] please help, problem about twitter api

2010-09-06 Thread yuzhujiutian
now, i develop a twitter client in oauthlib_0.8.9 and c/c++, but it's
always prompt me to login when i code to tweet.

code info:

input_param_url: http://twitter.com/status/update

input_param_search_string:
authenticity_token=c8a742bea4dffc0589132233ec9d61767310383a&tab=index&in_reply_to_status_id=&in_reply_to=&source=&display_coordinates=false&lat=&lon=&place_id=&status=snsetest20100906&update=update



then call the function oauth_http_post2(input_param_url,
input_param_search_string, NULL)

and it returns info is: You are being redirected.

--
by the way, authenticity_token value comes from last operation of
getting friend_timeline.

-- 
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?hl=en


[twitter-dev] Re: Tweet button fails to parse URL

2010-09-06 Thread ecf
Same behavior with url containing "+" characters!

-- 
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?hl=en


[twitter-dev] django-twitterauth

2010-09-06 Thread ashy
Hi All,

I am using django-twitterauth at http://github.com/rcrowley/django-twitterauth
to communicate with
twitter using my django application. But it keeps giving error like
'cannot send request', or 'connection refused'

Exception Location: /usr/lib/python2.6/httplib.py in putrequest,
line 802
Python Executable:  /usr/bin/python

Any ideas to resolve this problem

thanks
   ashwin

-- 
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?hl=en


[twitter-dev] twitter command line

2010-09-06 Thread ashy
Hi All,

How can I use twitter through command line using python? The library
should be Oauth compliant.

thanks
ashwin

-- 
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?hl=en


[twitter-dev] Re: XAuth 401 error

2010-09-06 Thread Farrukh Javeid
I have been trying to get the time synchronized with the twitter
server but could not attain it so far. Can anyone help me with code.
It'll be real help as I have already wasted 3 days for this task.

Warm Regards,

On Sep 2, 6:11 am, MigrantP  wrote:
> Scratch that, it was simply a bonehead error on my part.. carry on =)
>
> On Sep 1, 5:25 pm, MigrantP  wrote:
>
>
>
> > I should mention that I am having no problem posting updates to
> > twitter itself, but I cannot post pictures through twitpic or yfrog
> > due to this error.. and it was working earlier with no code change
> > since.
>
> > On Sep 1, 5:02 pm, MigrantP  wrote:
>
> > > I am also getting this problem, despite it working perfectly
> > > yesterday. I've added a timestamp offset adjustment as you recommended
> > > just in case, and am sending an accurate GMT timestamp, but still
> > > getting 401 errors. There is no additional information included in the
> > > error, so I'm at a loss.
>
> > > Was anything else changed?

-- 
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?hl=en


[twitter-dev] Re: oauth verify credentials error

2010-09-06 Thread rrd
Timestamp is set back to the correct one. Still verify credentials
fails with the same error. Any other guess?

-- 
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?hl=en


[twitter-dev] 401 Error

2010-09-06 Thread Farrukh Javeid
Hi,

I have been trying to figure out a method to handle the 401 error but
cannot actually find any particular solution. I have even tried the
synchronizing my time with the internet server but still to no avail.

Any help might be really helpful as I have already wasted 2 days on
it.

Warm Regards,
Farrukh Javeid

-- 
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?hl=en


[twitter-dev] Re: 500: "Something is technically wrong" while calling lists/memberships

2010-09-06 Thread Jo Seibert
Hi Matt,

any updates on this thread? I still see this error from time to time.

Greetings.
Jo Seibert

On 1 Sep., 22:57, Joachim Seibert  wrote:
> Hi Matt,
>
> the problem seems to be getting worse.
> No I see this error quite often and with other calls than lists/memberships 
> too.
>
> One example with statuses/retweets:
>
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Request:
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
> GEThttp://api.twitter.com/1/statuses/retweets/18334417346.json?count=100
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - OAuth base string: 
> GET&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fretweets%2F18334417346.js 
> on&co
> unt%3D100%26oauth_consumer_key%3DWlcg5zbNH60gCZAHCswGIw%26oauth_nonce%3D314 
> 8833036%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1283373740 
> %26oaut
> h_token%3D14150654-pkmqfsHKGaD9Uj6Ahus2Zv8euQ1zyKrgrU1v7kwUq%26oauth_versio 
> n%3D1.0
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - OAuth signature: 
> rZds70A8TKCKmCSfdRPFpEGURsc=
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Authorization: 
> *** 
> *
> *** 
> *** 
> ***
> ***
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
> X-Twitter-Client-URL:http://twitter4j.org/en/twitter4j-2.1.3.xml
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - X-Twitter-Client: 
> Twitter4J
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Accept-Encoding: 
> gzip
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - User-Agent: 
> Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.10) Gecko/2009042316 
> Firefox/3.0.10
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
> X-Twitter-Client-Version: 2.1.3
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Connection: close
>
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Response: Sep  1 
> 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - HTTP/1.1 500 Internal 
> Server ErrorSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
> X-Transaction: 1283373740-97223-912Sep  1 20:42:20 consumer1 [ActiveMQ 
> Session Task] DEBUG - X-RateLimit-Limit: 2Sep  1 20:42:20 consumer1 
> [ActiveMQ Session Task] DEBUG - Content-Length: 1729Sep  1 20:42:20 consumer1 
> [ActiveMQ Session Task] DEBUG - X-RateLimit-Remaining: 19967
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Expires: Tue, 31 
> Mar 1981 05:00:00 GMT
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Last-Modified: Wed, 
> 01 Sep 2010 20:42:20 GMTSep  1 20:42:20 consumer1 [ActiveMQ Session Task] 
> DEBUG - X-RateLimit-Reset: 1283377034Sep  1 20:42:20 consumer1 [ActiveMQ 
> Session Task] DEBUG - X-RateLimit-Class: api_whitelistedSep  1 20:42:20 
> consumer1 [ActiveMQ Session Task] DEBUG - X-Revision: DEVSep  1 20:42:20 
> consumer1 [ActiveMQ Session Task] DEBUG - Set-Cookie: 
> _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCA8zCc8qAToHaWQiJTljNTJlM2Q0ZjQ3MTY3% 
> 250AOGE0ODM2NGMzMjQwYjJiN2M0IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbG 
> FzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--466cc297d1c8f9370081fbe2ffba832a8f03b68 
> 2; domain=.twitter.com; path=/Sep  1 20:42:20 consumer1 [ActiveMQ Session 
> Task] DEBUG - Set-Cookie: lang=en; path=/Sep  1 20:42:20 consumer1 [ActiveMQ 
> Session Task] DEBUG - Set-Cookie: guest_id=128337374080975974; path=/; 
> expires=Fri, 01 Oct 2010 20:42:20 GMTSep  1 20:42:20 consumer1 [ActiveMQ 
> Session Task] DEBUG - Set-Cookie: k=75.101.167.21.1283373740806509; path=/; 
> expires=Wed, 08-Sep-10 20:42:20 GMT; domain=.twitter.comSep  1 20:42:20 
> consumer1 [ActiveMQ Session Task] DEBUG - Connection: closeSep  1 20:42:20 
> consumer1 [ActiveMQ Session Task] DEBUG - Server: hiSep  1 20:42:20 consumer1 
> [ActiveMQ Session Task] DEBUG - Cache-Control: no-cache, no-store, 
> must-revalidate, pre-check=0, post-check=0Sep  1 20:42:20 consumer1 [ActiveMQ 
> Session Task] DEBUG - Pragma: no-cacheSep  1 20:42:20 consumer1 [ActiveMQ 
> Session Task] DEBUG - Status: 500 Internal Server ErrorSep  1 20:42:20 
> consumer1 [ActiveMQ Session Task] DEBUG - Date: Wed, 01 Sep 2010 20:42:20 
> GMTSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Vary: 
> Accept-EncodingSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
> Content-Encoding: gzipSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG 
> - Content-Type: text/html; charset=utf-8
> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG -  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>#012 xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">#012  #012 
>    #012  
>   #012    
> Twitter / Error#012     href="http://s.twimg.com/images/favicon.ico"; 

Re: [twitter-dev] Develop one API get tweets to my webpage

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 3:50 AM, kieungocdzung wrote:
> Dear Team support,
> 
> I want to develop one tool get Tweets from server Twitter to my
> webpage,
> Can team to help me?
> Thanks a lot
> 

Hi,

@Anywhere can do this for you, or you can use one of the hundreds of
widgets that are around.

@Anywhere: http://dev.twitter.com/anywhere/begin
Widgets: http://twitter.com/goodies/widgets

Tom

-- 
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?hl=en


[twitter-dev] OAUTH on J2ME forums

2010-09-06 Thread Amid Lad
hi all.
i'm building an application in j2me.
but, i get stuck on oauth.
should i get request token everytime user want to login ?
should user enter pin code everytime ?
should i get access token everytime ?

if no, how to authenticate user ? should i save the access token on my
database ?

thanks..

-- 
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?hl=en


[twitter-dev] Error 500 when updating Twitter status using fsock and oauth.

2010-09-06 Thread A Lex
Hi everyone,

I am having some slight problem with Twitter Oauth and fsockopen
The reason I am using fsock, is to cater people that do not have curl
installed.

So here goes my problem. I was able to use fsock to get the access
token however when I use fsock to update twitter status. It returns me
with an Internal Error 500.

Here is what I post:

POST https://api.twitter.com/1/statuses/update.json HTTP/1.1
Host: api.twitter.com
Authorization: OAuth
oauth_consumer_key=qArHWfcnikadIzP2k6EVg&oauth_nonce=bf07179df00bee93a9537ec12a1d7be6&oauth_signature=Ugs
%2FGAPrtFIrRqhGQ9KrkrEYPVI%3D&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1283772251&oauth_token=177905108-
JwUzEOE1ekGUbQieMBtB4P4L11WrEej6izvHQbJA&oauth_version=1.0&status=Published
%20a%20new%20blog%20entry%20title%3AA%20Look%20Back%20%28and%20Forward
%29%20at%20the%20Latest%20Tech%20Gadgets%20under%20category
%3ATechnology
User-Agent: TwitterOAuth v0.2.0-beta2
Content-type: application/x-www-form-urlencoded
Connection: Close

And this is what twitter replied me with:

HTTP/1.1 500 Internal Server Error
Date: Mon, 06 Sep 2010 11:24:06 GMT
Server: hi
Status: 500 Internal Server Error
Content-Type: text/html; charset=utf-8
Content-Length: 4659
Cache-Control: no-cache, max-age=300
Set-Cookie: k=110.159.136.116.1283772246202732; path=/;
expires=Mon, 13-Sep-10 11:24:06 GMT; domain=.twitter.com
Set-Cookie: guest_id=128377224620512308; path=/; expires=Wed, 06
Oct 2010 11:24:06 GMT
Set-Cookie:
_twitter_sess=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
%250ASGFzaHsABjoKQHVzZWR7AA%253D
%253D--1164b91ac812d853b877e93ddb612b7471bebc74; domain=.twitter.com;
path=/
Expires: Mon, 06 Sep 2010 11:29:06 GMT
Vary: Accept-Encoding
Connection: close

Your help will be greatly appreciated.

-- 
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?hl=en


[twitter-dev] Twitter share button fails to parse url with "+"

2010-09-06 Thread Eugene Poponin
For example the button wont work on page like this
http://example.com/twitter+share+button+fails
Tried to do urlencode - doesn't help. Tried on different
configurations of button from http://dev.twitter.com/pages/tweet_button
I have investigated and found the reason - twitter's JS replaces first
"+ or %2B (html code)" by white space and url becomes invalid.
Can somebody help?

-- 
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?hl=en


[twitter-dev] Twitter Curl Integration

2010-09-06 Thread karnak
Hi,

I cannot integrate twitter curl with asp.net.

Please send me a sample project with twitter curl implementation,

Previously I used the following code but now a days it is not working.

 Dim TwitterUserName As String = username.ToString
Dim TwitterPassword As String = pswd.ToString
Dim TwitterMessage As String = subject.ToString

If TwitterUserName <> "" And TwitterPassword <> "" Then
Try
Dim twitter As New Twitter(TwitterUserName,
TwitterPassword)
Dim TwitterMsg As String = mesg.ToString
twitter.Status.Update(TwitterMsg)
Catch ex As Exception

End Try
End If

Thanks
Karnak

-- 
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?hl=en


[twitter-dev] How can I echo or print the currentloggedinuser's twitter screenName into a a html input?

2010-09-06 Thread Daniel
^^

-- 
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?hl=en


Re: [twitter-dev] Switch to OAuth - How to

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 4:56 AM, Donglt wrote:
> I'm a web developer, I've made a module that shows up tweets on site.
> The module uses Twitter basic auth, means user, whom uses my module in
> his site, have to input his Twitter username and password in the
> module configuration. But with OAuth, does he have to register the
> module with Twitter app to get Comsumer Key and Secret instead of
> username & password? How can he use username & pw as currently?
> 

I strongly recommend against this and I don't think that Twitter would
allow it anyway. But, for your information, you would use xAuth for this.

But, like I said: it won't be allowed. Just do the OAuth dance like any
other application is supposed to do :-)

Tom

-- 
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?hl=en


[twitter-dev] xAuth Newbie having trouble

2010-09-06 Thread Garry
OK, I'm trying to send my first xAuth request, but I'm getting "401
Unauthorized". Here is the base string I am signing:

POST%26https%3A%2F%2Fapi%2Etwitter%2Ecom%2Foauth%2Faccess%5Ftoken
%26oauth%5Fconsumer%5Fkey%3Dwd0fPXXX9m9O7OYRg%26oauth%5Fnonce
%3DAZWKFccT4qryy4LJDJMZbwNCHXwrbhsqft3e5ixz0sKGsCHcUq%26oauth
%5Fsignature%5Fmethod%3DHMAC%2DSHA1%26oauth%5Ftimestamp
%3D1283791832%26oauth%5Fversion%3D1%2E0%26x%5Fauth%5Fmode%3Dclient
%5Fauth%26x%5Fauth%5Fpassword%3DXX%26x%5Fauth%5Fusername
%3Dgarrytaylor

And here is my full POST request:

POST /oauth/access_token HTTP/1.1
Host: api.twitter.com
User-Agent: SNDTWEET
Connection: close
Content-Length: 74
Authorization: OAuth realm="",
oauth_nonce="AZWKFccT4qryy4LJDJMZbwNCHXwrbhsqft3e5ixz0sKGsCHcUq",
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1283791832",
oauth_consumer_key="wd0fPXXX9m9O7OYRg",
oauth_signature="XjbVbryI8WQDIpuZlZbl7iwDHNc%3D", oauth_version="1.0"
Content-Type: application/x-www-form-urlencoded

x_auth_mode=client_auth&x_auth_password=XX&x_auth_username=garrytaylor

I've used XXX in some places for security reasons. Is there anything
that look immediately wrong here?

Thanks a lot

Garry

-- 
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?hl=en


[twitter-dev] Re: Streaming API (filter) and retweets, JSON Output

2010-09-06 Thread JorisW
Am I the only one who has found retweeted_status to be very
unreliable?

I have a constant streaming API connection, and the majority of tweets
that
are retweets (and are displayed as such on the web), have empty
retweeted_status values.

Example:

http://twitter.com/Mobieleeenheid  - The retweet of TMobile_NL
starting with "Vanaf vandaag"

Coming from the API, after json_decode() in PHP:


Array
(
[place] =>
[geo] =>
[text] => RT @TMobile_NL: Vanaf vandaag kosteloos de
MobileNavigator app van Navigon voor alle iPhone klanten van T-Mobile
http://bit.ly/9P9LEv
[coordinates] =>
[retweet_count] =>
[favorited] =>
[source] => web
[contributors] =>
[created_at] => Mon Sep 06 12:47:12 + 2010
[in_reply_to_status_id] => 0
[retweeted_status] =>
[in_reply_to_screen_name] =>
[user] => Array
(
[time_zone] => Amsterdam
[profile_sidebar_border_color] => C0DEED
[screen_name] => Mobieleeenheid
[notifications] =>
[listed_count] => 0
[profile_background_image_url] =>
http://a1.twimg.com/profile_background_images/140319202/iphone-mania-twitter-background12.jpg
[location] => Eibergen, Netherlands
[statuses_count] => 11
[profile_background_color] => 31a3d4
[description] => Wij zijn Mobieleeenheid.nl.
U vindt hier 6271 scherp geprijsde accessoires voor 2541 gsm modellen.

Dagelijks voegen wij nieuwe accessoires toe.

[show_all_inline_media] =>
[profile_background_tile] => 1
[contributors_enabled] =>
[geo_enabled] =>
[created_at] => Thu Aug 26 11:02:40 + 2010
[profile_text_color] => 1f191f
[followers_count] => 2
[profile_use_background_image] => 1
[url] => http://www.mobieleeenheid.nl
[friends_count] => 12
[profile_link_color] => 0084B4
[protected] =>
[lang] => en
[verified] =>
[name] => Mobieleeenheid
[follow_request_sent] =>
[following] =>
[favourites_count] => 0
[profile_sidebar_fill_color] => ddeef6
[profile_image_url] =>
http://a0.twimg.com/profile_images/171140/top-5-cell-phones_normal.jpg
[id] => 183189171
[utc_offset] => 3600
)

[retweeted] =>
[in_reply_to_user_id] =>
[truncated] =>
[id] => 23141738445
[entities] => Array
(
[hashtags] => Array
(
)

[user_mentions] => Array
(
[0] => Array
(
[screen_name] => TMobile_NL
[indices] => Array
(
[0] => 3
[1] => 14
)

[name] => T-Mobile Nieuws
[id] => 39199794
)

)

[urls] => Array
(
[0] => Array
(
[expanded_url] =>
[indices] => Array
(
[0] => 113
[1] => 133
)

[url] => http://bit.ly/9P9LEv
)

)

)

[retweetid] => 0
)

-- 
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?hl=en


[twitter-dev] API in Obejcetive C

2010-09-06 Thread Hello
I am using twitter in my iphone application and was using basic
authentication. I have gone through the discussion. I just want to use
customer_key and secret key. I just want to know from where i can get
the library which I can include in my project.

Thanks
Nidhi

-- 
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?hl=en


[twitter-dev] simplegeo / python-oauth2

2010-09-06 Thread ashy
Hi All,

Iam using  simplegeo / python-oauth2  to connect to twitter.com
using python 2.6 and httplib2

getting the following error

Exception Type: error
Exception Value:(111, 'Connection refused')

the line which is causing the problem is this:
resp, content = client.request(request_token_url, "GET")

Any ideas>





-- 
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?hl=en


Re: [twitter-dev] Develop one API get tweets to my webpage

2010-09-06 Thread Le Thanh Dong
I have the same, now my module can get tweets by the method user_timeline
without auth. I'm wondering about getting tweets by method friend_timeline
within OAuth, It seems it's not able to do this, it requires you login
twitter via its site, can not do it by using curl via basic auth as I did.
Any idea?

2010/9/6 kieungocdzung 

> Dear Team support,
>
> I want to develop one tool get Tweets from server Twitter to my
> webpage,
> Can team to help me?
> Thanks a lot t
>
> --
> 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?hl=en
>



-- 
Mr. Le Thanh Dong
Developer
==
J.O.O.M SOLUTIONS CO., Ltd
8 Floor - Ho Chi Minh Museum Office Building 249AThuy Khue - Tay Ho District
- Hanoi, Vietnam
Cel: 093-4646-456 - Tel: (84 4) 62584126 -62584138 (ext: 133)- Fax(844)
62584136
Email: don...@joomsolutions.com

-- 
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?hl=en


Re: [twitter-dev] A general understanding of the oAuth process

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 8:28 AM, KrushRadio - Doc wrote:
> Hey all,
> 
> Just a quick question regarding oAuth, and how this all works.
> 
> So, with my small application broken, I'm trying to figure out how it
> will work with oAuth.  First, i need to figure out the flow.. The rest
> seems pretty easy.
> 
> Do I have to request a new usertoken every time i post to one of my
> usernames from the application?  I have 3 different screennames that i
> post tweets from, all coming from one source.  With the new oAuth
> requirement, I am going to assume that i will need to connect to each
> one from a signup page that i create.  From there, i will be given a
> userToken of some sort.
> 
> With userTokens, is it generated everytime i try to send a tweet, or
> can i save them in a database and re-use them from when i first
> granted the application access to my screenname?
> 
> ~Doc

Consider the "usertoken" the username and the "usersecret" the password.
You should treat them like this: the usertoken isn't really a private
string, while the secret is very much like a password.

Just like with any other username and password, you can simply save them
and use them again. While an user can't change the password (secret), it
can revoke the keys.

Tom

-- 
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?hl=en


Re: [twitter-dev] Switch to OAuth - How to

2010-09-06 Thread Le Thanh Dong
Thanks for the reply, but I want to get tweets via friend timeline. Since
Twitter switch to OAuth, I can not do this so far.

2010/9/6 Tom van der Woerdt 

> On 9/6/10 4:56 AM, Donglt wrote:
> > I'm a web developer, I've made a module that shows up tweets on site.
> > The module uses Twitter basic auth, means user, whom uses my module in
> > his site, have to input his Twitter username and password in the
> > module configuration. But with OAuth, does he have to register the
> > module with Twitter app to get Comsumer Key and Secret instead of
> > username & password? How can he use username & pw as currently?
> >
>
> I strongly recommend against this and I don't think that Twitter would
> allow it anyway. But, for your information, you would use xAuth for this.
>
> But, like I said: it won't be allowed. Just do the OAuth dance like any
> other application is supposed to do :-)
>
> Tom
>
> --
> 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?hl=en
>



-- 
Mr. Le Thanh Dong
Developer
==
J.O.O.M SOLUTIONS CO., Ltd
8 Floor - Ho Chi Minh Museum Office Building 249AThuy Khue - Tay Ho District
- Hanoi, Vietnam
Cel: 093-4646-456 - Tel: (84 4) 62584126 -62584138 (ext: 133)- Fax(844)
62584136
Email: don...@joomsolutions.com

-- 
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?hl=en


Re: [twitter-dev] following in hometime.xml

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 9:41 AM, Saurabh wrote:
> Hi ,
> 
> there is a  in home timeline xml .  For same
> user ,value of this field  is changed with different tweet. so what
> this value is saying.
> 
> with warm regards
> Saurabh Kumar

I am not entirely sure, but I believe that this value is deprecated and
should not be used.

Tom

-- 
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?hl=en


Re: [twitter-dev] OAUTH on J2ME forums

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 11:46 AM, Amid Lad wrote:
> hi all.
> i'm building an application in j2me.
> but, i get stuck on oauth.
> should i get request token everytime user want to login ?
> should user enter pin code everytime ?
> should i get access token everytime ?
> 
> if no, how to authenticate user ? should i save the access token on my
> database ?
> 
> thanks..

Consider the "usertoken" the username and the "usersecret" the password.
You should treat them like this: the usertoken isn't really a private
string, while the secret is very much like a password.

Just like with any other username and password, you can simply save them
and use them again. While an user can't change the password (secret), it
can revoke the keys.

Tom

-- 
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?hl=en


Re: [twitter-dev] django-twitterauth

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 11:55 AM, ashy wrote:
> Hi All,
> 
> I am using django-twitterauth at http://github.com/rcrowley/django-twitterauth
> to communicate with
> twitter using my django application. But it keeps giving error like
> 'cannot send request', or 'connection refused'
> 
> Exception Location:   /usr/lib/python2.6/httplib.py in putrequest,
> line 802
> Python Executable:/usr/bin/python
> 
> Any ideas to resolve this problem
> 
> thanks
>ashwin

Sounds like a firewall issue. Make sure that your server can connect to
api.twitter.com, and that you got the hostnames right in your code.

Tom

-- 
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?hl=en


Re: [twitter-dev] Re: 500: "Something is technically wrong" while calling lists/memberships

2010-09-06 Thread Tom van der Woerdt
It's just a simple over capacity error. Happens a lot, just make sure
that your code knows how to deal with them ;-)

Tom


On 9/6/10 1:33 PM, Jo Seibert wrote:
> Hi Matt,
> 
> any updates on this thread? I still see this error from time to time.
> 
> Greetings.
> Jo Seibert
> 
> On 1 Sep., 22:57, Joachim Seibert  wrote:
>> Hi Matt,
>>
>> the problem seems to be getting worse.
>> No I see this error quite often and with other calls than lists/memberships 
>> too.
>>
>> One example with statuses/retweets:
>>
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Request:
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
>> GEThttp://api.twitter.com/1/statuses/retweets/18334417346.json?count=100
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - OAuth base string: 
>> GET&http%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fretweets%2F18334417346.js 
>> on&co
>> unt%3D100%26oauth_consumer_key%3DWlcg5zbNH60gCZAHCswGIw%26oauth_nonce%3D314 
>> 8833036%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1283373740 
>> %26oaut
>> h_token%3D14150654-pkmqfsHKGaD9Uj6Ahus2Zv8euQ1zyKrgrU1v7kwUq%26oauth_versio 
>> n%3D1.0
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - OAuth signature: 
>> rZds70A8TKCKmCSfdRPFpEGURsc=
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Authorization: 
>> *** 
>> *
>> *** 
>> *** 
>> ***
>> ***
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
>> X-Twitter-Client-URL:http://twitter4j.org/en/twitter4j-2.1.3.xml
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - X-Twitter-Client: 
>> Twitter4J
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Accept-Encoding: 
>> gzip
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - User-Agent: 
>> Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.10) Gecko/2009042316 
>> Firefox/3.0.10
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
>> X-Twitter-Client-Version: 2.1.3
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Connection: close
>>
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Response: Sep  1 
>> 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - HTTP/1.1 500 Internal 
>> Server ErrorSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
>> X-Transaction: 1283373740-97223-912Sep  1 20:42:20 consumer1 [ActiveMQ 
>> Session Task] DEBUG - X-RateLimit-Limit: 2Sep  1 20:42:20 consumer1 
>> [ActiveMQ Session Task] DEBUG - Content-Length: 1729Sep  1 20:42:20 
>> consumer1 [ActiveMQ Session Task] DEBUG - X-RateLimit-Remaining: 19967
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Expires: Tue, 31 
>> Mar 1981 05:00:00 GMT
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Last-Modified: 
>> Wed, 01 Sep 2010 20:42:20 GMTSep  1 20:42:20 consumer1 [ActiveMQ Session 
>> Task] DEBUG - X-RateLimit-Reset: 1283377034Sep  1 20:42:20 consumer1 
>> [ActiveMQ Session Task] DEBUG - X-RateLimit-Class: api_whitelistedSep  1 
>> 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - X-Revision: DEVSep  1 
>> 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Set-Cookie: 
>> _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCA8zCc8qAToHaWQiJTljNTJlM2Q0ZjQ3MTY3% 
>> 250AOGE0ODM2NGMzMjQwYjJiN2M0IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbG 
>> FzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--466cc297d1c8f9370081fbe2ffba832a8f03b68 
>> 2; domain=.twitter.com; path=/Sep  1 20:42:20 consumer1 [ActiveMQ Session 
>> Task] DEBUG - Set-Cookie: lang=en; path=/Sep  1 20:42:20 consumer1 [ActiveMQ 
>> Session Task] DEBUG - Set-Cookie: guest_id=128337374080975974; path=/; 
>> expires=Fri, 01 Oct 2010 20:42:20 GMTSep  1 20:42:20 consumer1 [ActiveMQ 
>> Session Task] DEBUG - Set-Cookie: k=75.1
01.167.21.1283373740806509; path=/; expires=Wed, 08-Sep-10 20:42:20 GMT; 
domain=.twitter.comSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
Connection: closeSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
Server: hiSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, 
post-check=0Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Pragma: 
no-cacheSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - Status: 500 
Internal Server ErrorSep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - 
Date: Wed, 01 Sep 2010 20:42:20 GMTSep  1 20:42:20 consumer1 [ActiveMQ Session 
Task] DEBUG - Vary: Accept-EncodingSep  1 20:42:20 consumer1 [ActiveMQ Session 
Task] DEBUG - Content-Encoding: gzipSep  1 20:42:20 consumer1 [ActiveMQ Session 
Task] DEBUG - Content-Type: text/html; charset=utf-8
>> Sep  1 20:42:20 consumer1 [ActiveMQ Session Task] DEBUG - > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
>> "http://www.w3.

Re: [twitter-dev] Error 500 when updating Twitter status using fsock and oauth.

2010-09-06 Thread Tom van der Woerdt
The syntax of your Authorization: header is bad. Take a look in the
documentation and compare them.

Tom


On 9/6/10 1:34 PM, A Lex wrote:
> Hi everyone,
> 
> I am having some slight problem with Twitter Oauth and fsockopen
> The reason I am using fsock, is to cater people that do not have curl
> installed.
> 
> So here goes my problem. I was able to use fsock to get the access
> token however when I use fsock to update twitter status. It returns me
> with an Internal Error 500.
> 
> Here is what I post:
> 
> POST https://api.twitter.com/1/statuses/update.json HTTP/1.1
> Host: api.twitter.com
> Authorization: OAuth
> oauth_consumer_key=qArHWfcnikadIzP2k6EVg&oauth_nonce=bf07179df00bee93a9537ec12a1d7be6&oauth_signature=Ugs
> %2FGAPrtFIrRqhGQ9KrkrEYPVI%3D&oauth_signature_method=HMAC-
> SHA1&oauth_timestamp=1283772251&oauth_token=177905108-
> JwUzEOE1ekGUbQieMBtB4P4L11WrEej6izvHQbJA&oauth_version=1.0&status=Published
> %20a%20new%20blog%20entry%20title%3AA%20Look%20Back%20%28and%20Forward
> %29%20at%20the%20Latest%20Tech%20Gadgets%20under%20category
> %3ATechnology
> User-Agent: TwitterOAuth v0.2.0-beta2
> Content-type: application/x-www-form-urlencoded
> Connection: Close
> 
> And this is what twitter replied me with:
> 
> HTTP/1.1 500 Internal Server Error
> Date: Mon, 06 Sep 2010 11:24:06 GMT
> Server: hi
> Status: 500 Internal Server Error
> Content-Type: text/html; charset=utf-8
> Content-Length: 4659
> Cache-Control: no-cache, max-age=300
> Set-Cookie: k=110.159.136.116.1283772246202732; path=/;
> expires=Mon, 13-Sep-10 11:24:06 GMT; domain=.twitter.com
> Set-Cookie: guest_id=128377224620512308; path=/; expires=Wed, 06
> Oct 2010 11:24:06 GMT
> Set-Cookie:
> _twitter_sess=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
> %250ASGFzaHsABjoKQHVzZWR7AA%253D
> %253D--1164b91ac812d853b877e93ddb612b7471bebc74; domain=.twitter.com;
> path=/
> Expires: Mon, 06 Sep 2010 11:29:06 GMT
> Vary: Accept-Encoding
> Connection: close
> 
> Your help will be greatly appreciated.
> 

-- 
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?hl=en


Re: [twitter-dev] API in Obejcetive C

2010-09-06 Thread Taylor Singletary
Check out the Objective-C section of
http://dev.Twitter.com/pages/oauth_libraries -- there are a couple
relatively full featured libraries that can help you develop with
OAuth there.

Taylor

On Monday, September 6, 2010, Hello  wrote:
> I am using twitter in my iphone application and was using basic
> authentication. I have gone through the discussion. I just want to use
> customer_key and secret key. I just want to know from where i can get
> the library which I can include in my project.
>
> Thanks
> Nidhi
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] How can I echo or print the currentloggedinuser's twitter screenName into a a html input?

2010-09-06 Thread Tom van der Woerdt
Really, I dislike people who spam the lists like you do.

Two things :
* Please read this document :
http://www.catb.org/esr/faqs/smart-questions.html

* Read it again, especially the 'Be precise and informative about your
problem' part.

Then try again :-)

Tom


On 9/6/10 2:34 PM, Daniel wrote:
> ^^
> 

-- 
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?hl=en


Re: [twitter-dev] xAuth Newbie having trouble

2010-09-06 Thread Taylor Singletary
Without looking to deeply yet (sorry, on vacation!) it appears you are
over encoding values in your signature basestring.. For example,
underscores are not protected characters and need not be encoded. I
recommend reviewing the OAuth spec regarding encoding characters and
ensure your encoder follows those rules.

Taylor

On Monday, September 6, 2010, Garry  wrote:
> OK, I'm trying to send my first xAuth request, but I'm getting "401
> Unauthorized". Here is the base string I am signing:
>
> POST%26https%3A%2F%2Fapi%2Etwitter%2Ecom%2Foauth%2Faccess%5Ftoken
> %26oauth%5Fconsumer%5Fkey%3Dwd0fPXXX9m9O7OYRg%26oauth%5Fnonce
> %3DAZWKFccT4qryy4LJDJMZbwNCHXwrbhsqft3e5ixz0sKGsCHcUq%26oauth
> %5Fsignature%5Fmethod%3DHMAC%2DSHA1%26oauth%5Ftimestamp
> %3D1283791832%26oauth%5Fversion%3D1%2E0%26x%5Fauth%5Fmode%3Dclient
> %5Fauth%26x%5Fauth%5Fpassword%3DXX%26x%5Fauth%5Fusername
> %3Dgarrytaylor
>
> And here is my full POST request:
>
> POST /oauth/access_token HTTP/1.1
> Host: api.twitter.com
> User-Agent: SNDTWEET
> Connection: close
> Content-Length: 74
> Authorization: OAuth realm="",
> oauth_nonce="AZWKFccT4qryy4LJDJMZbwNCHXwrbhsqft3e5ixz0sKGsCHcUq",
> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1283791832",
> oauth_consumer_key="wd0fPXXX9m9O7OYRg",
> oauth_signature="XjbVbryI8WQDIpuZlZbl7iwDHNc%3D", oauth_version="1.0"
> Content-Type: application/x-www-form-urlencoded
>
> x_auth_mode=client_auth&x_auth_password=XX&x_auth_username=garrytaylor
>
> I've used XXX in some places for security reasons. Is there anything
> that look immediately wrong here?
>
> Thanks a lot
>
> Garry
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] xAuth Newbie having trouble

2010-09-06 Thread Tom van der Woerdt
You should try verifying your Base String using my OAuth validator,


Your Base String looks like it is encoded too much. Syntax is
method&url¶meters. You have method%26url%26parameters.

Tom


On 9/6/10 2:53 PM, Garry wrote:
> OK, I'm trying to send my first xAuth request, but I'm getting "401
> Unauthorized". Here is the base string I am signing:
> 
> POST%26https%3A%2F%2Fapi%2Etwitter%2Ecom%2Foauth%2Faccess%5Ftoken
> %26oauth%5Fconsumer%5Fkey%3Dwd0fPXXX9m9O7OYRg%26oauth%5Fnonce
> %3DAZWKFccT4qryy4LJDJMZbwNCHXwrbhsqft3e5ixz0sKGsCHcUq%26oauth
> %5Fsignature%5Fmethod%3DHMAC%2DSHA1%26oauth%5Ftimestamp
> %3D1283791832%26oauth%5Fversion%3D1%2E0%26x%5Fauth%5Fmode%3Dclient
> %5Fauth%26x%5Fauth%5Fpassword%3DXX%26x%5Fauth%5Fusername
> %3Dgarrytaylor
> 
> And here is my full POST request:
> 
> POST /oauth/access_token HTTP/1.1
> Host: api.twitter.com
> User-Agent: SNDTWEET
> Connection: close
> Content-Length: 74
> Authorization: OAuth realm="",
> oauth_nonce="AZWKFccT4qryy4LJDJMZbwNCHXwrbhsqft3e5ixz0sKGsCHcUq",
> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1283791832",
> oauth_consumer_key="wd0fPXXX9m9O7OYRg",
> oauth_signature="XjbVbryI8WQDIpuZlZbl7iwDHNc%3D", oauth_version="1.0"
> Content-Type: application/x-www-form-urlencoded
> 
> x_auth_mode=client_auth&x_auth_password=XX&x_auth_username=garrytaylor
> 
> I've used XXX in some places for security reasons. Is there anything
> that look immediately wrong here?
> 
> Thanks a lot
> 
> Garry
> 

-- 
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?hl=en


[twitter-dev] Re: django-twitterauth

2010-09-06 Thread ashy
Hi Tom,

I am not able to connect to 'api.twitter.com' as well.

connection._connection = httplib.HTTPSConnection('api.twitter.com')

Yes, Iam working behind proxy.
Please suggest.

thanks
ashy

On Sep 6, 8:15 pm, Tom van der Woerdt  wrote:
> On 9/6/10 11:55 AM, ashy wrote:
>
> > Hi All,
>
> > I am using django-twitterauth 
> > athttp://github.com/rcrowley/django-twitterauth
> > to communicate with
> > twitter using my django application. But it keeps giving error like
> > 'cannot send request', or 'connection refused'
>
> > Exception Location:        /usr/lib/python2.6/httplib.py in putrequest,
> > line 802
> > Python Executable:         /usr/bin/python
>
> > Any ideas to resolve this problem
>
> > thanks
> >    ashwin
>
> Sounds like a firewall issue. Make sure that your server can connect to
> api.twitter.com, and that you got the hostnames right in your code.
>
> Tom

-- 
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?hl=en


Re: [twitter-dev] Re: django-twitterauth

2010-09-06 Thread Tom van der Woerdt
You should contact the owner of the proxy and ask him/her to allow
api.twitter.com.

Tom


On 9/6/10 5:24 PM, ashy wrote:
> Hi Tom,
> 
> I am not able to connect to 'api.twitter.com' as well.
> 
> connection._connection = httplib.HTTPSConnection('api.twitter.com')
> 
> Yes, Iam working behind proxy.
> Please suggest.
> 
> thanks
> ashy
> 
> On Sep 6, 8:15 pm, Tom van der Woerdt  wrote:
>> On 9/6/10 11:55 AM, ashy wrote:
>>
>>> Hi All,
>>
>>> I am using django-twitterauth 
>>> athttp://github.com/rcrowley/django-twitterauth
>>> to communicate with
>>> twitter using my django application. But it keeps giving error like
>>> 'cannot send request', or 'connection refused'
>>
>>> Exception Location:/usr/lib/python2.6/httplib.py in putrequest,
>>> line 802
>>> Python Executable: /usr/bin/python
>>
>>> Any ideas to resolve this problem
>>
>>> thanks
>>>ashwin
>>
>> Sounds like a firewall issue. Make sure that your server can connect to
>> api.twitter.com, and that you got the hostnames right in your code.
>>
>> Tom
> 

-- 
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?hl=en


Re: [twitter-dev] Twitter Curl Integration

2010-09-06 Thread Taylor Singletary
This is going to be a much more complicated project than your simple
implementation below. Look for libraries helpful to your programming
language at http://dev.twitter.com/pages/oauth_libraries

You'll want to read a great deal of the documentation available to you
at dev.twitter.com as well, especially around authorization.

Taylor

On Monday, September 6, 2010, karnak  wrote:
> Hi,
>
> I cannot integrate twitter curl with asp.net.
>
> Please send me a sample project with twitter curl implementation,
>
> Previously I used the following code but now a days it is not working.
>
>  Dim TwitterUserName As String = username.ToString
>         Dim TwitterPassword As String = pswd.ToString
>         Dim TwitterMessage As String = subject.ToString
>
>         If TwitterUserName <> "" And TwitterPassword <> "" Then
>             Try
>                 Dim twitter As New Twitter(TwitterUserName,
> TwitterPassword)
>                 Dim TwitterMsg As String = mesg.ToString
>                 twitter.Status.Update(TwitterMsg)
>             Catch ex As Exception
>
>             End Try
>         End If
>
> Thanks
> Karnak
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] please help, problem about twitter api

2010-09-06 Thread Taylor Singletary
Automating our web pages is forbidden.

Use the API and OAuth.

Taylor

On Monday, September 6, 2010, yuzhujiutian  wrote:
> now, i develop a twitter client in oauthlib_0.8.9 and c/c++, but it's
> always prompt me to login when i code to tweet.
>
> code info:
>
> input_param_url: http://twitter.com/status/update
>
> input_param_search_string:
> authenticity_token=c8a742bea4dffc0589132233ec9d61767310383a&tab=index&in_reply_to_status_id=&in_reply_to=&source=&display_coordinates=false&lat=&lon=&place_id=&status=snsetest20100906&update=update
>
>
>
> then call the function oauth_http_post2(input_param_url,
> input_param_search_string, NULL)
>
> and it returns info is: You are being redirected a>.
>
> --
> by the way, authenticity_token value comes from last operation of
> getting friend_timeline.
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] Switch to OAuth - How to

2010-09-06 Thread Julio Biason
On Mon, Sep 6, 2010 at 12:13 PM, Le Thanh Dong  wrote:
> Thanks for the reply, but I want to get tweets via friend timeline. Since
> Twitter switch to OAuth, I can not do this so far.

If the account is public, you can unauthenticated request the home_timeline.

If the account is private, then, unfortunately, you'll have to
register your app to get a app secret and token and, at least once,
request the authorization for that app in the account. Once you get
the authorization token, you can use it indefinitely (or till Twitter
revokes it, but they don't have a timeout at this time.)

-- 
Julio Biason 
Twitter: http://twitter.com/juliobiason

-- 
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?hl=en


[twitter-dev] Re: django-twitterauth

2010-09-06 Thread ashy
Hi,

Ok,
but when I follow the steps mentioned in
http://agileweb.wordpress.com/2009/04/28/step-by-step-guide-to-use-sign-in-with-twitter-with-django/
it atleast redirects me to "twitter.com", problems occur only in the
call back method

Exception Type: AttributeError
Exception Value:'module' object has no attribute 'OAuthToken'

the line below causes the problem
token = oauth.OAuthToken.from_string(request_token)

thanks
ashy

On Sep 6, 8:25 pm, Tom van der Woerdt  wrote:
> You should contact the owner of the proxy and ask him/her to allow
> api.twitter.com.
>
> Tom
>
> On 9/6/10 5:24 PM, ashy wrote:
>
> > Hi Tom,
>
> > I am not able to connect to 'api.twitter.com' as well.
>
> > connection._connection = httplib.HTTPSConnection('api.twitter.com')
>
> > Yes, Iam working behind proxy.
> > Please suggest.
>
> > thanks
> >     ashy
>
> > On Sep 6, 8:15 pm, Tom van der Woerdt  wrote:
> >> On 9/6/10 11:55 AM, ashy wrote:
>
> >>> Hi All,
>
> >>> I am using django-twitterauth 
> >>> athttp://github.com/rcrowley/django-twitterauth
> >>> to communicate with
> >>> twitter using my django application. But it keeps giving error like
> >>> 'cannot send request', or 'connection refused'
>
> >>> Exception Location:        /usr/lib/python2.6/httplib.py in putrequest,
> >>> line 802
> >>> Python Executable:         /usr/bin/python
>
> >>> Any ideas to resolve this problem
>
> >>> thanks
> >>>    ashwin
>
> >> Sounds like a firewall issue. Make sure that your server can connect to
> >> api.twitter.com, and that you got the hostnames right in your code.
>
> >> Tom

-- 
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?hl=en


Re: [twitter-dev] Password in a source

2010-09-06 Thread Julio Biason
On Mon, Sep 6, 2010 at 10:41 AM, Tom van der Woerdt  wrote:
> Just put the keys in the executable but not in the source. Really, it's
> your only option. Well, actually that's not true, because you can also
> simply proxy all traffic via a server, but that's not ideal.

I may be wrong here, but if my memory doesn't fail, if you distribute
a binary package under the GPL, you're required to distribute the
exact same source that created that binary.

You can distribute your application in GPL and distribute another
binary, closed sourced package with the API keys and such, which you
must then dlopen().

-- 
Julio Biason 
Twitter: http://twitter.com/juliobiason

-- 
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?hl=en


Re: [twitter-dev] Password in a source

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 5:40 PM, Julio Biason wrote:
> On Mon, Sep 6, 2010 at 10:41 AM, Tom van der Woerdt  wrote:
>> Just put the keys in the executable but not in the source. Really, it's
>> your only option. Well, actually that's not true, because you can also
>> simply proxy all traffic via a server, but that's not ideal.
> 
> I may be wrong here, but if my memory doesn't fail, if you distribute
> a binary package under the GPL, you're required to distribute the
> exact same source that created that binary.
> 
> You can distribute your application in GPL and distribute another
> binary, closed sourced package with the API keys and such, which you
> must then dlopen().

I'm not 100% sure, but I'd assume that the license doesn't apply to the
creator. :-)

Tom

-- 
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?hl=en


[twitter-dev] Re: xAuth Newbie having trouble

2010-09-06 Thread Garry
@Tom, your OAuth validator is the best thing I've ever seen, it helped
me solve the problem in a couple of minutes...

@Taylor, you are right, I was encoding way more than I should have
been, fixed it!

Thanks both!

Garry

On Sep 6, 4:22 pm, Tom van der Woerdt  wrote:
> You should try verifying your Base String using my OAuth validator,
> 
>
> Your Base String looks like it is encoded too much. Syntax is
> method&url¶meters. You have method%26url%26parameters.
>
> Tom
>
> On 9/6/10 2:53 PM, Garry wrote:
>
>
>
> > OK, I'm trying to send my first xAuth request, but I'm getting "401
> > Unauthorized". Here is the base string I am signing:
>
> > POST%26https%3A%2F%2Fapi%2Etwitter%2Ecom%2Foauth%2Faccess%5Ftoken
> > %26oauth%5Fconsumer%5Fkey%3Dwd0fPXXX9m9O7OYRg%26oauth%5Fnonce
> > %3DAZWKFccT4qryy4LJDJMZbwNCHXwrbhsqft3e5ixz0sKGsCHcUq%26oauth
> > %5Fsignature%5Fmethod%3DHMAC%2DSHA1%26oauth%5Ftimestamp
> > %3D1283791832%26oauth%5Fversion%3D1%2E0%26x%5Fauth%5Fmode%3Dclient
> > %5Fauth%26x%5Fauth%5Fpassword%3DXX%26x%5Fauth%5Fusername
> > %3Dgarrytaylor
>
> > And here is my full POST request:
>
> > POST /oauth/access_token HTTP/1.1
> > Host: api.twitter.com
> > User-Agent: SNDTWEET
> > Connection: close
> > Content-Length: 74
> > Authorization: OAuth realm="",
> > oauth_nonce="AZWKFccT4qryy4LJDJMZbwNCHXwrbhsqft3e5ixz0sKGsCHcUq",
> > oauth_signature_method="HMAC-SHA1", oauth_timestamp="1283791832",
> > oauth_consumer_key="wd0fPXXX9m9O7OYRg",
> > oauth_signature="XjbVbryI8WQDIpuZlZbl7iwDHNc%3D", oauth_version="1.0"
> > Content-Type: application/x-www-form-urlencoded
>
> > x_auth_mode=client_auth&x_auth_password=XX&x_auth_username=garrytaylor
>
> > I've used XXX in some places for security reasons. Is there anything
> > that look immediately wrong here?
>
> > Thanks a lot
>
> > Garry

-- 
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?hl=en


[twitter-dev] geo/reverse_geocode

2010-09-06 Thread morafred
Could you show us how to use this method, cause the sample values
seems not to be working

lat=37.7821120598956
long=-122.400612831116

I'm getting this error

{
  "errors": [
{
  "code": 3,
  "message": "Passed in coordinates are out of bounds"
}
  ]
}

-- 
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?hl=en


Re: [twitter-dev] geo/reverse_geocode

2010-09-06 Thread Tom van der Woerdt
http://api.twitter.com/1/geo/reverse_geocode.xml?long=-122.400612831116&lat=37.7821120598956

Works fine here.

Tom


On 9/6/10 6:09 PM, morafred wrote:
> Could you show us how to use this method, cause the sample values
> seems not to be working
> 
> lat=37.7821120598956
> long=-122.400612831116
> 
> I'm getting this error
> 
> {
>   "errors": [
> {
>   "code": 3,
>   "message": "Passed in coordinates are out of bounds"
> }
>   ]
> }
> 

-- 
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?hl=en


Re: [twitter-dev] Password in a source

2010-09-06 Thread Julio Biason
On Mon, Sep 6, 2010 at 12:45 PM, Tom van der Woerdt  wrote:
> I'm not 100% sure, but I'd assume that the license doesn't apply to the
> creator. :-)

Creator no, it's a distribution license. But, since he's the one
distributing the application...

-- 
Julio Biason 
Twitter: http://twitter.com/juliobiason

-- 
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?hl=en


[twitter-dev] Re: Help with xAuth and PHP

2010-09-06 Thread hgc2002
What do you mean?

On 5 sep, 12:20, Tom van der Woerdt  wrote:
> What's the base string?
>
> Tom
>
> On 5 sep. 2010, at 12:18, hgc2002  wrote:
>
>

-- 
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?hl=en


Re: [twitter-dev] Re: Help with xAuth and PHP

2010-09-06 Thread Cameron Kaiser
> What do you mean?

When you sign an OAuth (or xAuth) request, you use a base string composed of
various components of the request itself. The OAuth spec goes into this in
detail, and there are many helpers to show you how the base string is
constructed. If you construct it incorrectly, your signature will be wrong.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Violence is the last refuge of the incompetent. -- Salvor Hardin ---

-- 
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?hl=en


[twitter-dev] Re: On the demise of basic authentication.

2010-09-06 Thread Chris Hunt
> For perl devs, the move to OAuth is really quite easy

Not for me it's not.

I'm not trying to write a full-featured Twitter client, just trying to
get my event calendar app to send a few tweets to a particular
account. I don't need mega-high security, I just need it to work.

I've registered at http://dev.twitter.com, filling in everything
except the "callback URL", cos I don't know what that is.

With some to-ing and fro-ing, I've managed to collect the four key
values and put each into a perl variable in my config file. I have set
the access level to "Read and Write". I've installed Net::OAuth on my
machine, and I've tried sending a tweet like this:

  my $tw = Net::Twitter::Lite->new(
  traits => [qw/OAuth API::REST/],
  consumer_key=> $TWITCONSKEY,
  consumer_secret => $TWITCONSSEC,
  access_token=> $TWITACCTOK,
  access_token_secret => $TWITACCSEC,
  );
  my $result = $tw->update("$message");

It just comes back with "Read-only application cannot POST", even
though it isn't.

What do I do now?

-- 
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?hl=en


Re: [twitter-dev] Re: On the demise of basic authentication.

2010-09-06 Thread Tom van der Woerdt
If you change the access level, the keys don't. You will have to create
new user credentials. There are multiple ways of doing this, the easiest
one being simply re-creating the application on dev.twitter.com, this
time with proper settings. A different option would be to revoke access
(Settings -> Connections) and then re-authorize.

Tom


On 9/6/10 8:10 PM, Chris Hunt wrote:
>> For perl devs, the move to OAuth is really quite easy
> 
> Not for me it's not.
> 
> I'm not trying to write a full-featured Twitter client, just trying to
> get my event calendar app to send a few tweets to a particular
> account. I don't need mega-high security, I just need it to work.
> 
> I've registered at http://dev.twitter.com, filling in everything
> except the "callback URL", cos I don't know what that is.
> 
> With some to-ing and fro-ing, I've managed to collect the four key
> values and put each into a perl variable in my config file. I have set
> the access level to "Read and Write". I've installed Net::OAuth on my
> machine, and I've tried sending a tweet like this:
> 
>   my $tw = Net::Twitter::Lite->new(
>   traits => [qw/OAuth API::REST/],
>   consumer_key=> $TWITCONSKEY,
>   consumer_secret => $TWITCONSSEC,
>   access_token=> $TWITACCTOK,
>   access_token_secret => $TWITACCSEC,
>   );
>   my $result = $tw->update("$message");
> 
> It just comes back with "Read-only application cannot POST", even
> though it isn't.
> 
> What do I do now?
> 

-- 
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?hl=en


Re: [twitter-dev] Re: XAuth 401 error

2010-09-06 Thread M. Edward (Ed) Borasky
You shouldn't synchronize to Twitter. You (and Twitter) should  
synchronize to the "World Time Standard" using NTP. It's a simple  
process on Linux - you just install a package or two and read your  
distro's system administration manual on how to configure it. It's  
point and click on openSUSE with YaST. On a Windows desktop, it's  
usually done for you by default. On Windows Servers, there's some  
configuration required which is documented to painful excess in the  
Microsoft Knowledge Base.


This is a *solved* and *documented* problem. ;-)

--
M. Edward (Ed) Borasky
http://borasky-research.net http://twitter.com/znmeb

"A mathematician is a device for turning coffee into theorems." - Paul Erdos


Quoting Farrukh Javeid :


I have been trying to get the time synchronized with the twitter
server but could not attain it so far. Can anyone help me with code.
It'll be real help as I have already wasted 3 days for this task.

Warm Regards,

On Sep 2, 6:11 am, MigrantP  wrote:

Scratch that, it was simply a bonehead error on my part.. carry on =)

On Sep 1, 5:25 pm, MigrantP  wrote:



> I should mention that I am having no problem posting updates to
> twitter itself, but I cannot post pictures through twitpic or yfrog
> due to this error.. and it was working earlier with no code change
> since.

> On Sep 1, 5:02 pm, MigrantP  wrote:

> > I am also getting this problem, despite it working perfectly
> > yesterday. I've added a timestamp offset adjustment as you recommended
> > just in case, and am sending an accurate GMT timestamp, but still
> > getting 401 errors. There is no additional information included in the
> > error, so I'm at a loss.

> > Was anything else changed?


--
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?hl=en






--
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?hl=en


Re: [twitter-dev] Re: XAuth 401 error

2010-09-06 Thread Tom van der Woerdt
Yeah, well, that doesn't work very well for desktop apps ;-) Users would
go mad if you suddenly change their clocks.

Tom


On 9/6/10 10:22 PM, M. Edward (Ed) Borasky wrote:
> You shouldn't synchronize to Twitter. You (and Twitter) should
> synchronize to the "World Time Standard" using NTP. It's a simple
> process on Linux - you just install a package or two and read your
> distro's system administration manual on how to configure it. It's point
> and click on openSUSE with YaST. On a Windows desktop, it's usually done
> for you by default. On Windows Servers, there's some configuration
> required which is documented to painful excess in the Microsoft
> Knowledge Base.
> 
> This is a *solved* and *documented* problem. ;-)
> 

-- 
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?hl=en


[twitter-dev] Missing oauth_verifier

2010-09-06 Thread G
I'm not receiving an oauth_verifier key/value pair in after the user
grants access through my app.

I'm receiving the at the URL specified in my app settings and in my
initial token request. The callback I'm getting looks like this

http://callback_url?oauth_token=xHddBl5uYQnSIESC4P16bmWS3ObDgMroXglEQl9xWQ

Every issue I have seen regarding this has to do with not supplying
callback url's. I have included them in every step. I have even tried
to use it when asking for user authorization which the tutorial here:
http://dev.twitter.com/pages/auth says I don't need. I'm really at a
loss.

I have tried to use the PIN method as well, but again the above
tutorial falls short at the critical step of what to do when the PIN
is aquired.

-- 
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?hl=en


[twitter-dev] Query trend does not return the same results as on the twitter home page

2010-09-06 Thread Hao
Hi

I just got the trends list using json, the endpoint is "http://
api.twitter.com/1/trends/current.json", then I tried to get detail of
each trend, say 'Angola' when I am posting, so I made a request to
"http://search.twitter.com/search.json?q=Angola";. It turned out the
returned json does not carry the same result as I could see on my
twitter homepage, did i use the wrong endpoint or miss some
parameters?

Any help is appreciated!

-- 
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?hl=en


[twitter-dev] Invalid / expired Token

2010-09-06 Thread Rajendra Singh
Hello,

I took the "twoleggedtwitter.php" example file and added the following
two lines:

   $request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',
"status=Test");
   $result = $request->doRequest();

However, when I execute it, I get:
Exception:  Request failed with code 401:  {"request":"/statuses/
update.json","error":"Invalid / expired Token"}

Can someone help me?  What am I doing wrong?

-- 
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?hl=en


Re: [twitter-dev] Missing oauth_verifier

2010-09-06 Thread Tom van der Woerdt
Strange, you aren't the first one who reported this. I really think that
this behavior should be investigated.

Tom


On 9/6/10 11:23 PM, G wrote:
> I'm not receiving an oauth_verifier key/value pair in after the user
> grants access through my app.
> 
> I'm receiving the at the URL specified in my app settings and in my
> initial token request. The callback I'm getting looks like this
> 
> http://callback_url?oauth_token=xHddBl5uYQnSIESC4P16bmWS3ObDgMroXglEQl9xWQ
> 
> Every issue I have seen regarding this has to do with not supplying
> callback url's. I have included them in every step. I have even tried
> to use it when asking for user authorization which the tutorial here:
> http://dev.twitter.com/pages/auth says I don't need. I'm really at a
> loss.
> 
> I have tried to use the PIN method as well, but again the above
> tutorial falls short at the critical step of what to do when the PIN
> is aquired.
> 

-- 
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?hl=en


Re: [twitter-dev] Invalid / expired Token

2010-09-06 Thread Tom van der Woerdt
On 9/6/10 10:57 PM, Rajendra Singh wrote:
> Hello,
> 
> I took the "twoleggedtwitter.php" example file and added the following
> two lines:
> 
>$request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',
> "status=Test");
>$result = $request->doRequest();
> 
> However, when I execute it, I get:
> Exception:  Request failed with code 401:  {"request":"/statuses/
> update.json","error":"Invalid / expired Token"}
> 
> Can someone help me?  What am I doing wrong?
> 

Did you fill in the consumer token and secret? And the user token and
secret?

Tom

-- 
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?hl=en


[twitter-dev] Javascript Tweet Button added after page load

2010-09-06 Thread Woombah
I have a page with the javascript Tweet buttons on and that all works
fine, but I want to serve more content with tweet buttons by AJAX and
those buttons work. I guess the Twitter button script runs on page
load and so the buttons added afterwards aren't parsed & remain text
links.

Is there a function I can call for the Twitter script to parse the new
buttons or is it simply not possible?

-- 
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?hl=en


[twitter-dev] Virus in Twitter in Brazil

2010-09-06 Thread Laura Helena Brentano
Hi,

I am a journalist from a brazilian web site, Globo.com.

Today, there were a link spread in the Twitter that was supposted to
be with virus. I just want to confirm if this link had, actually, a
virus.

The message was written like this:

Pe Lanza da banda Restart sofre acidente tragico | http://bit.ly/d5Pho8

Can you, please, confirm if this is related to a virus link? Everybody
in Brazil is talking about this now.

Thank you very much.

Laura Brentano

-- 
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?hl=en


[twitter-dev] Re: Missing oauth_verifier

2010-09-06 Thread G
I will admit I'm not experienced with oauth at all and maybe I'm
sending bad data in the initial step. I fail to see why I would get an
appropriate request_token if that were the case though.

On Sep 6, 3:42 pm, Tom van der Woerdt  wrote:
> Strange, you aren't the first one who reported this. I really think that
> this behavior should be investigated.
>
> Tom
>
> On 9/6/10 11:23 PM, G wrote:
>
>
>
> > I'm not receiving an oauth_verifier key/value pair in after the user
> > grants access through my app.
>
> > I'm receiving the at the URL specified in my app settings and in my
> > initial token request. The callback I'm getting looks like this
>
> >http://callback_url?oauth_token=xHddBl5uYQnSIESC4P16bmWS3ObDgMroXglEQ...
>
> > Every issue I have seen regarding this has to do with not supplying
> > callback url's. I have included them in every step. I have even tried
> > to use it when asking for user authorization which the tutorial here:
> >http://dev.twitter.com/pages/authsays I don't need. I'm really at a
> > loss.
>
> > I have tried to use the PIN method as well, but again the above
> > tutorial falls short at the critical step of what to do when the PIN
> > is aquired.

-- 
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?hl=en


Re: [twitter-dev] Virus in Twitter in Brazil

2010-09-06 Thread Tom van der Woerdt
Nice find, and yes it is. And people, don't click it.

Tom


On 9/6/10 10:53 PM, Laura Helena Brentano wrote:
> Hi,
> 
> I am a journalist from a brazilian web site, Globo.com.
> 
> Today, there were a link spread in the Twitter that was supposted to
> be with virus. I just want to confirm if this link had, actually, a
> virus.
> 
> The message was written like this:
> 
> Pe Lanza da banda Restart sofre acidente tragico | http://bit.ly/d5Pho8
> 
> Can you, please, confirm if this is related to a virus link? Everybody
> in Brazil is talking about this now.
> 
> Thank you very much.
> 
> Laura Brentano
> 

-- 
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?hl=en


[twitter-dev] Bug Report - Status Update Error

2010-09-06 Thread Ket
I've found a number of POSTed status updates returning an error saying
it was a duplicate message, however:

1) It is not a duplicate. there is a common piece of text at the end
which has 3 small words and a hashtag that does repeat, but the body
of the update is unique.

2) The message gets published, even though an error is returned.

This seems like a bug and I can provide more info if you need.

Ket

-- 
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?hl=en


Re: [twitter-dev] Bug Report - Status Update Error

2010-09-06 Thread Taylor Singletary
Can you share examples of the exact statuses you are posting and the
error response from the API you're getting in return? Also helpful to
know the exact execution URLs you are using.

Thanks.

On Mon, Sep 6, 2010 at 2:56 PM, Ket  wrote:
> I've found a number of POSTed status updates returning an error saying
> it was a duplicate message, however:
>
> 1) It is not a duplicate. there is a common piece of text at the end
> which has 3 small words and a hashtag that does repeat, but the body
> of the update is unique.
>
> 2) The message gets published, even though an error is returned.
>
> This seems like a bug and I can provide more info if you need.
>
> Ket
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] Re: Missing oauth_verifier

2010-09-06 Thread Taylor Singletary
Can you share as much information about your request token step as
possible? This is the only step you should ever provide a callback URL
in.

Can you verify that you are using http://api.twitter.com/oauth/* for
all paths in this sequence.
What is the value of oauth_callback on your request token step? Is
this the only step that you are you providing this data? Are you
presenting this via a query string parameter, an authorization header,
a POST body, or any intermingling of the three?

When you receive your response to request_token, do you get a
parameter that indicates oauth_callback_confirmed=true?

Thanks,
Taylor

On Mon, Sep 6, 2010 at 2:49 PM, G  wrote:
> I will admit I'm not experienced with oauth at all and maybe I'm
> sending bad data in the initial step. I fail to see why I would get an
> appropriate request_token if that were the case though.
>
> On Sep 6, 3:42 pm, Tom van der Woerdt  wrote:
>> Strange, you aren't the first one who reported this. I really think that
>> this behavior should be investigated.
>>
>> Tom
>>
>> On 9/6/10 11:23 PM, G wrote:
>>
>>
>>
>> > I'm not receiving an oauth_verifier key/value pair in after the user
>> > grants access through my app.
>>
>> > I'm receiving the at the URL specified in my app settings and in my
>> > initial token request. The callback I'm getting looks like this
>>
>> >http://callback_url?oauth_token=xHddBl5uYQnSIESC4P16bmWS3ObDgMroXglEQ...
>>
>> > Every issue I have seen regarding this has to do with not supplying
>> > callback url's. I have included them in every step. I have even tried
>> > to use it when asking for user authorization which the tutorial here:
>> >http://dev.twitter.com/pages/authsays I don't need. I'm really at a
>> > loss.
>>
>> > I have tried to use the PIN method as well, but again the above
>> > tutorial falls short at the critical step of what to do when the PIN
>> > is aquired.
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] Invalid / expired Token

2010-09-06 Thread Taylor Singletary
Twitter doesn't support any two-legged OAuth operations at this time.

Taylor

On Mon, Sep 6, 2010 at 2:44 PM, Tom van der Woerdt  wrote:
> On 9/6/10 10:57 PM, Rajendra Singh wrote:
>> Hello,
>>
>> I took the "twoleggedtwitter.php" example file and added the following
>> two lines:

-- 
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?hl=en


Re: [twitter-dev] Bug Report - Status Update Error

2010-09-06 Thread Ket K Majmudar
Here is an example of an update that caused an error:

http://twitter.com/twicalhub/status/23171041727

Returned info:

 [request] => /1/statuses/update.json [error] => Status is a duplicate.

As you can see the API is reporting an error, yet it still published. I have 
not sent an update with this text previously. I am using twitteroauth  the php 
class:

Ket

On 6 Sep 2010, at 23:07, Taylor Singletary wrote:

> Can you share examples of the exact statuses you are posting and the
> error response from the API you're getting in return? Also helpful to
> know the exact execution URLs you are using.
> 
> Thanks.
> 
> On Mon, Sep 6, 2010 at 2:56 PM, Ket  wrote:
>> I've found a number of POSTed status updates returning an error saying
>> it was a duplicate message, however:
>> 
>> 1) It is not a duplicate. there is a common piece of text at the end
>> which has 3 small words and a hashtag that does repeat, but the body
>> of the update is unique.
>> 
>> 2) The message gets published, even though an error is returned.
>> 
>> This seems like a bug and I can provide more info if you need.
>> 
>> Ket
>> 
>> --
>> 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?hl=en
>> 
> 
> -- 
> 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?hl=en

Ketan Majmudar (Designer/Developer)

Spirit Quest - Web Application Design
---
 web:  www.spiritquest.co.uk
   email:  k...@spiritquest.co.uk
  twitter: @spiritquestnet / @ketan
 mob:  +44 7931 388966
 tel:  +44 1189613463
---

-- 
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?hl=en


Re: [twitter-dev] Bug Report - Status Update Error

2010-09-06 Thread Taylor Singletary
Any way you can show the error from the API itself though? That's an
error as filtered through a library.. I'd like to see the exact
response, in case the code you're using might be misinterpreting an
error or making an assumption about an error.

Thanks,
Taylor

On Mon, Sep 6, 2010 at 3:18 PM, Ket K Majmudar  wrote:
> Here is an example of an update that caused an error:
> http://twitter.com/twicalhub/status/23171041727
> Returned info:
>  [request] => /1/statuses/update.json [error] => Status is a duplicate.
> As you can see the API is reporting an error, yet it still published. I have
> not sent an update with this text previously. I am using twitteroauth  the
> php class:
> Ket
> On 6 Sep 2010, at 23:07, Taylor Singletary wrote:
>
> Can you share examples of the exact statuses you are posting and the
> error response from the API you're getting in return? Also helpful to
> know the exact execution URLs you are using.
>
> Thanks.
>
> On Mon, Sep 6, 2010 at 2:56 PM, Ket  wrote:
>
> I've found a number of POSTed status updates returning an error saying
>
> it was a duplicate message, however:
>
> 1) It is not a duplicate. there is a common piece of text at the end
>
> which has 3 small words and a hashtag that does repeat, but the body
>
> of the update is unique.
>
> 2) The message gets published, even though an error is returned.
>
> This seems like a bug and I can provide more info if you need.
>
> Ket
>
> --
>
> 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?hl=en
>
>
> --
> 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?hl=en
>
> Ketan Majmudar (Designer/Developer)
> Spirit Quest - Web Application Design
> ---
>      web:  www.spiritquest.co.uk
>    email:  ...@spiritquest.co.uk
>   twitter: @spiritquestnet / @ketan
>      mob:  +44 7931 388966
>          tel:  +44 1189613463
> ---
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] Virus in Twitter in Brazil

2010-09-06 Thread Laura Helena Brentano
Hi Tom,

Thank you for answered and for confirmed my request.

I will publish a report about this virus in my website.

Regards,

Laura Brentano
2010/9/6 Tom van der Woerdt 

> Nice find, and yes it is. And people, don't click it.
>
> Tom
>
>
> On 9/6/10 10:53 PM, Laura Helena Brentano wrote:
> > Hi,
> >
> > I am a journalist from a brazilian web site, Globo.com.
> >
> > Today, there were a link spread in the Twitter that was supposted to
> > be with virus. I just want to confirm if this link had, actually, a
> > virus.
> >
> > The message was written like this:
> >
> > Pe Lanza da banda Restart sofre acidente tragico | http://bit.ly/d5Pho8
> >
> > Can you, please, confirm if this is related to a virus link? Everybody
> > in Brazil is talking about this now.
> >
> > Thank you very much.
> >
> > Laura Brentano
> >
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] J2ME OAUTH token for Twitter

2010-09-06 Thread Taylor Singletary
It's forbidden to automate the OAuth flow such that you attempt
scarping the PIN code from the resultant page.

If your application is capable of receiving URL-based callback, you'll
want to preconfigure a default callback on dev.twitter.com (which
indicates that your app is capable of receiving a callback) and
provide an explicit callback on the request token step. When the user
is sent to your callback, an oauth_verifier (PIN) will be included
with the other relevant oauth_* parameters.

If your application is incapable of receiving an URL-based callback,
you need to present a UI for the user to hand-enter the PIN
code/oauth_verifier, and then use that value to complete the flow
after sending the user through the authorization steps.

Taylor


On Mon, Sep 6, 2010 at 12:14 AM, Amid Lad  wrote:
> I've been transitioning our basic authentication calls over to OAuth.
> I'm using the j2me OAUTH library(for mobile). All of the
> authentication calls
> are working and I receive proper responses from GET requests.
>
> But the problem is with access token. What I have to do is to pass the
> url and get the
> pin number and need to pass the pin number to get the access.
>
> How can I avoid this process and directly get the pin response from
> server and use it get the
> twitter access?
>
> What is the url to get the pin response?
>
> Thanks in advance.
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] Virus in Twitter in Brazil

2010-09-06 Thread Laura Helena Brentano
Tom, one more thing.

Can you let me know when the virus will be fixed?

Thank you very much.

Regards

Laura Brentano

2010/9/6 Tom van der Woerdt 

> Nice find, and yes it is. And people, don't click it.
>
> Tom
>
>
> On 9/6/10 10:53 PM, Laura Helena Brentano wrote:
> > Hi,
> >
> > I am a journalist from a brazilian web site, Globo.com.
> >
> > Today, there were a link spread in the Twitter that was supposted to
> > be with virus. I just want to confirm if this link had, actually, a
> > virus.
> >
> > The message was written like this:
> >
> > Pe Lanza da banda Restart sofre acidente tragico | http://bit.ly/d5Pho8
> >
> > Can you, please, confirm if this is related to a virus link? Everybody
> > in Brazil is talking about this now.
> >
> > Thank you very much.
> >
> > Laura Brentano
> >
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] Bug Report - Status Update Error

2010-09-06 Thread Abraham Williams
TwitterOAuth does nothing more then parse error messages so "Status is a
duplicate." will be the actual error message in the body of the response.

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.


On Mon, Sep 6, 2010 at 15:20, Taylor Singletary <
taylorsinglet...@twitter.com> wrote:

> Any way you can show the error from the API itself though? That's an
> error as filtered through a library.. I'd like to see the exact
> response, in case the code you're using might be misinterpreting an
> error or making an assumption about an error.
>
> Thanks,
> Taylor
>
> On Mon, Sep 6, 2010 at 3:18 PM, Ket K Majmudar 
> wrote:
> > Here is an example of an update that caused an error:
> > http://twitter.com/twicalhub/status/23171041727
> > Returned info:
> >  [request] => /1/statuses/update.json [error] => Status is a duplicate.
> > As you can see the API is reporting an error, yet it still published. I
> have
> > not sent an update with this text previously. I am
> using twitteroauth  the
> > php class:
> > Ket
> > On 6 Sep 2010, at 23:07, Taylor Singletary wrote:
> >
> > Can you share examples of the exact statuses you are posting and the
> > error response from the API you're getting in return? Also helpful to
> > know the exact execution URLs you are using.
> >
> > Thanks.
> >
> > On Mon, Sep 6, 2010 at 2:56 PM, Ket  wrote:
> >
> > I've found a number of POSTed status updates returning an error saying
> >
> > it was a duplicate message, however:
> >
> > 1) It is not a duplicate. there is a common piece of text at the end
> >
> > which has 3 small words and a hashtag that does repeat, but the body
> >
> > of the update is unique.
> >
> > 2) The message gets published, even though an error is returned.
> >
> > This seems like a bug and I can provide more info if you need.
> >
> > Ket
> >
> > --
> >
> > 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?hl=en
> >
> >
> > --
> > 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?hl=en
> >
> > Ketan Majmudar (Designer/Developer)
> > Spirit Quest - Web Application Design
> > ---
> >  web:  www.spiritquest.co.uk
> >email:  k...@spiritquest.co.uk
> >   twitter: @spiritquestnet / @ketan
> >  mob:  +44 7931 388966
> >  tel:  +44 1189613463
> > ---
> >
> > --
> > 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?hl=en
> >
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] Virus in Twitter in Brazil

2010-09-06 Thread Tom van der Woerdt
First thing I did when I saw the report (even before I sent my reply) was 
inform the twitter team.

Apparently twitter needs a complete team to fix this bug. Anyway, I think that 
it will be fixed really soon.
Quote: �...@episod: @tvdw we have a team on it.”

Tom


On 7 sep. 2010, at 00:25, Laura Helena Brentano  
wrote:

> Tom, one more thing.
> 
> Can you let me know when the virus will be fixed?
> 
> Thank you very much.
> 
> Regards
> 
> Laura Brentano
> 
> 2010/9/6 Tom van der Woerdt 
> Nice find, and yes it is. And people, don't click it.
> 
> Tom
> 
> 
> On 9/6/10 10:53 PM, Laura Helena Brentano wrote:
> > Hi,
> >
> > I am a journalist from a brazilian web site, Globo.com.
> >
> > Today, there were a link spread in the Twitter that was supposted to
> > be with virus. I just want to confirm if this link had, actually, a
> > virus.
> >
> > The message was written like this:
> >
> > Pe Lanza da banda Restart sofre acidente tragico | http://bit.ly/d5Pho8
> >
> > Can you, please, confirm if this is related to a virus link? Everybody
> > in Brazil is talking about this now.
> >
> > Thank you very much.
> >
> > Laura Brentano
> >
> 
> --
> 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?hl=en
> 
> -- 
> 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?hl=en

-- 
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?hl=en


Re: [twitter-dev] Bug Report - Status Update Error

2010-09-06 Thread Taylor Singletary
Thanks for the info, Abraham! :)

On Mon, Sep 6, 2010 at 3:25 PM, Abraham Williams <4bra...@gmail.com> wrote:
> TwitterOAuth does nothing more then parse error messages so "Status is a
> duplicate." will be the actual error message in the body of the response.
>
> Abraham
> -
> Abraham Williams | Hacker Advocate | http://abrah.am
> @abraham | http://projects.abrah.am | http://blog.abrah.am
> This email is: [ ] shareable [x] ask first [ ] private.
>
>
> On Mon, Sep 6, 2010 at 15:20, Taylor Singletary
>  wrote:
>>
>> Any way you can show the error from the API itself though? That's an
>> error as filtered through a library.. I'd like to see the exact
>> response, in case the code you're using might be misinterpreting an
>> error or making an assumption about an error.
>>
>> Thanks,
>> Taylor
>>
>> On Mon, Sep 6, 2010 at 3:18 PM, Ket K Majmudar 
>> wrote:
>> > Here is an example of an update that caused an error:
>> > http://twitter.com/twicalhub/status/23171041727
>> > Returned info:
>> >  [request] => /1/statuses/update.json [error] => Status is a duplicate.
>> > As you can see the API is reporting an error, yet it still published. I
>> > have
>> > not sent an update with this text previously. I am
>> > using twitteroauth  the
>> > php class:
>> > Ket
>> > On 6 Sep 2010, at 23:07, Taylor Singletary wrote:
>> >
>> > Can you share examples of the exact statuses you are posting and the
>> > error response from the API you're getting in return? Also helpful to
>> > know the exact execution URLs you are using.
>> >
>> > Thanks.
>> >
>> > On Mon, Sep 6, 2010 at 2:56 PM, Ket  wrote:
>> >
>> > I've found a number of POSTed status updates returning an error saying
>> >
>> > it was a duplicate message, however:
>> >
>> > 1) It is not a duplicate. there is a common piece of text at the end
>> >
>> > which has 3 small words and a hashtag that does repeat, but the body
>> >
>> > of the update is unique.
>> >
>> > 2) The message gets published, even though an error is returned.
>> >
>> > This seems like a bug and I can provide more info if you need.
>> >
>> > Ket
>> >
>> > --
>> >
>> > 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?hl=en
>> >
>> >
>> > --
>> > 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?hl=en
>> >
>> > Ketan Majmudar (Designer/Developer)
>> > Spirit Quest - Web Application Design
>> > ---
>> >      web:  www.spiritquest.co.uk
>> >    email:  ...@spiritquest.co.uk
>> >   twitter: @spiritquestnet / @ketan
>> >      mob:  +44 7931 388966
>> >          tel:  +44 1189613463
>> > ---
>> >
>> > --
>> > 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?hl=en
>> >
>>
>> --
>> 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?hl=en
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] Bug Report - Status Update Error

2010-09-06 Thread Ket K Majmudar
Thanks Abraham,

Do you need any further info from me Taylor ?

Ket

On 6 Sep 2010, at 23:35, Taylor Singletary wrote:

> Thanks for the info, Abraham! :)
> 
> On Mon, Sep 6, 2010 at 3:25 PM, Abraham Williams <4bra...@gmail.com> wrote:
>> TwitterOAuth does nothing more then parse error messages so "Status is a
>> duplicate." will be the actual error message in the body of the response.
>> 
>> Abraham
>> -
>> Abraham Williams | Hacker Advocate | http://abrah.am
>> @abraham | http://projects.abrah.am | http://blog.abrah.am
>> This email is: [ ] shareable [x] ask first [ ] private.
>> 
>> 
>> On Mon, Sep 6, 2010 at 15:20, Taylor Singletary
>>  wrote:
>>> 
>>> Any way you can show the error from the API itself though? That's an
>>> error as filtered through a library.. I'd like to see the exact
>>> response, in case the code you're using might be misinterpreting an
>>> error or making an assumption about an error.
>>> 
>>> Thanks,
>>> Taylor
>>> 
>>> On Mon, Sep 6, 2010 at 3:18 PM, Ket K Majmudar 
>>> wrote:
 Here is an example of an update that caused an error:
 http://twitter.com/twicalhub/status/23171041727
 Returned info:
  [request] => /1/statuses/update.json [error] => Status is a duplicate.
 As you can see the API is reporting an error, yet it still published. I
 have
 not sent an update with this text previously. I am
 using twitteroauth  the
 php class:
 Ket
 On 6 Sep 2010, at 23:07, Taylor Singletary wrote:
 
 Can you share examples of the exact statuses you are posting and the
 error response from the API you're getting in return? Also helpful to
 know the exact execution URLs you are using.
 
 Thanks.
 
 On Mon, Sep 6, 2010 at 2:56 PM, Ket  wrote:
 
 I've found a number of POSTed status updates returning an error saying
 
 it was a duplicate message, however:
 
 1) It is not a duplicate. there is a common piece of text at the end
 
 which has 3 small words and a hashtag that does repeat, but the body
 
 of the update is unique.
 
 2) The message gets published, even though an error is returned.
 
 This seems like a bug and I can provide more info if you need.
 
 Ket
 
 --
 
 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?hl=en
 
 
 --
 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?hl=en
 
 Ketan Majmudar (Designer/Developer)
 Spirit Quest - Web Application Design
 ---
  web:  www.spiritquest.co.uk
email:  k...@spiritquest.co.uk
   twitter: @spiritquestnet / @ketan
  mob:  +44 7931 388966
  tel:  +44 1189613463
 ---
 
 --
 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?hl=en
 
>>> 
>>> --
>>> 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?hl=en
>> 
>> --
>> 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?hl=en
>> 
> 
> -- 
> 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?hl=en

Ketan Majmudar (Designer/Developer)

Spirit Quest - Web Application Design
---
 web:  www.spiritquest.co.uk
   email:  k...@spiritquest.co.uk
  twitter: @spiritquestnet / @ketan
   

Re: [twitter-dev] Virus in Twitter in Brazil

2010-09-06 Thread Laura Helena Brentano
Hi Tom.

I saw your Twitter. So did you fix the problem?

Regards,

Laura

2010/9/6 Tom van der Woerdt 

> First thing I did when I saw the report (even before I sent my reply) was
> inform the twitter team.
>
> Apparently twitter needs a complete team to fix this bug. Anyway, I think
> that it will be fixed really soon.
> Quote: �...@episod: @tvdw we have a team on it.”
>
> Tom
>
>
> On 7 sep. 2010, at 00:25, Laura Helena Brentano 
> wrote:
>
> Tom, one more thing.
>
> Can you let me know when the virus will be fixed?
>
> Thank you very much.
>
> Regards
>
> Laura Brentano
>
> 2010/9/6 Tom van der Woerdt < i...@tvdw.eu>
>
>> Nice find, and yes it is. And people, don't click it.
>>
>> Tom
>>
>>
>> On 9/6/10 10:53 PM, Laura Helena Brentano wrote:
>> > Hi,
>> >
>> > I am a journalist from a brazilian web site, Globo.com.
>> >
>> > Today, there were a link spread in the Twitter that was supposted to
>> > be with virus. I just want to confirm if this link had, actually, a
>> > virus.
>> >
>> > The message was written like this:
>> >
>> > Pe Lanza da banda Restart sofre acidente tragico |
>> http://bit.ly/d5Pho8
>> >
>> > Can you, please, confirm if this is related to a virus link? Everybody
>> > in Brazil is talking about this now.
>> >
>> > Thank you very much.
>> >
>> > Laura Brentano
>> >
>>
>> --
>> 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?hl=en
>>
>
>  --
> 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?hl=en
>
>  --
> 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?hl=en
>

-- 
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?hl=en


[twitter-dev] Re: Invalid / expired Token

2010-09-06 Thread Rajendra Singh
Hi Taylor,

Ok, I'm new to this OAUTH thing.  So if it doesn't support two-legged,
what do I use to authenticate?

Thanks.

On Sep 6, 6:12 pm, Taylor Singletary 
wrote:
> Twitter doesn't support any two-legged OAuth operations at this time.
>
> Taylor
>
> On Mon, Sep 6, 2010 at 2:44 PM, Tom van der Woerdt  wrote:
>
> > On 9/6/10 10:57 PM, Rajendra Singh wrote:
> >> Hello,
>
> >> I took the "twoleggedtwitter.php" example file and added the following
> >> two lines:

-- 
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?hl=en


[twitter-dev] Re: Invalid / expired Token

2010-09-06 Thread Rajendra Singh
Hi Tom,

Yes I did fill in those values correctly.

On Sep 6, 5:44 pm, Tom van der Woerdt  wrote:
> On 9/6/10 10:57 PM, Rajendra Singh wrote:
>
> > Hello,
>
> > I took the "twoleggedtwitter.php" example file and added the following
> > two lines:
>
> >    $request = new OAuthRequester(TWITTER_UPDATE_STATUS_API, 'POST',
> > "status=Test");
> >    $result = $request->doRequest();
>
> > However, when I execute it, I get:
> > Exception:  Request failed with code 401:  {"request":"/statuses/
> > update.json","error":"Invalid / expired Token"}
>
> > Can someone help me?  What am I doing wrong?
>
> Did you fill in the consumer token and secret? And the user token and
> secret?
>
> Tom

-- 
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?hl=en


[twitter-dev] Re: Help with xAuth and PHP

2010-09-06 Thread hgc2002
That's a very good way to avoid helping, and to waste time.

If you read just part of the code at the top of the conversation, you
may have seen the signature based being constructed.

Trying to be constructive, Twitter Dev Team, please add more tools to
test the OAuth/xAuth stuff.
Many examples are wrong or simply incomplete so you can't try with
them.
If the examples are part of the API, this is definetely wrong.
It takes to to errors, and waste time.

Please help on find out what's going on with the code.
Today Twitter team has included a hard synchronization requirement in
every OAuth requests (including xAuth).
Now I have something else to worry about, and no help...

I'm thinking about giving up.
This is too confuse and heavy to test.

Regards,
Herman


On 6 sep, 20:21, Cameron Kaiser  wrote:
> > What do you mean?
>
> When you sign an OAuth (or xAuth) request, you use a base string composed of
> various components of the request itself. The OAuth spec goes into this in
> detail, and there are many helpers to show you how the base string is
> constructed. If you construct it incorrectly, your signature will be wrong.
>
> --
>  personal:http://www.cameronkaiser.com/--
>   Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com
> -- Violence is the last refuge of the incompetent. -- Salvor Hardin 
> ---

-- 
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?hl=en


[twitter-dev] Re: Missing oauth_verifier

2010-09-06 Thread G
Your questions helped me find the issue. I'm using oauth-php and
apparently what I'm doing isn't properly setting the callback URL.
I'll look for the oauth_callback_confirmed flag for my error checking.

Thanks for the help!

On Sep 6, 4:11 pm, Taylor Singletary 
wrote:
> Can you share as much information about your request token step as
> possible? This is the only step you should ever provide a callback URL
> in.
>
> Can you verify that you are usinghttp://api.twitter.com/oauth/*for
> all paths in this sequence.
> What is the value of oauth_callback on your request token step? Is
> this the only step that you are you providing this data? Are you
> presenting this via a query string parameter, an authorization header,
> a POST body, or any intermingling of the three?
>
> When you receive your response to request_token, do you get a
> parameter that indicates oauth_callback_confirmed=true?
>
> Thanks,
> Taylor
>
>
>
> On Mon, Sep 6, 2010 at 2:49 PM, G  wrote:
> > I will admit I'm not experienced with oauth at all and maybe I'm
> > sending bad data in the initial step. I fail to see why I would get an
> > appropriate request_token if that were the case though.
>
> > On Sep 6, 3:42 pm, Tom van der Woerdt  wrote:
> >> Strange, you aren't the first one who reported this. I really think that
> >> this behavior should be investigated.
>
> >> Tom
>
> >> On 9/6/10 11:23 PM, G wrote:
>
> >> > I'm not receiving an oauth_verifier key/value pair in after the user
> >> > grants access through my app.
>
> >> > I'm receiving the at the URL specified in my app settings and in my
> >> > initial token request. The callback I'm getting looks like this
>
> >> >http://callback_url?oauth_token=xHddBl5uYQnSIESC4P16bmWS3ObDgMroXglEQ...
>
> >> > Every issue I have seen regarding this has to do with not supplying
> >> > callback url's. I have included them in every step. I have even tried
> >> > to use it when asking for user authorization which the tutorial here:
> >> >http://dev.twitter.com/pages/authsaysI don't need. I'm really at a
> >> > loss.
>
> >> > I have tried to use the PIN method as well, but again the above
> >> > tutorial falls short at the critical step of what to do when the PIN
> >> > is aquired.
>
> > --
> > 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?hl=en

-- 
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?hl=en


Re: [twitter-dev] Virus in Twitter in Brazil

2010-09-06 Thread Taylor Singletary
This should be alleviated. Please let us know if the problem persists.

Thanks,
Taylor

On Mon, Sep 6, 2010 at 4:03 PM, Laura Helena Brentano
 wrote:
> Hi Tom.
>
> I saw your Twitter. So did you fix the problem?
>
> Regards,
>
> Laura
>
> 2010/9/6 Tom van der Woerdt 
>>
>> First thing I did when I saw the report (even before I sent my reply) was
>> inform the twitter team.
>> Apparently twitter needs a complete team to fix this bug. Anyway, I think
>> that it will be fixed really soon.
>> Quote: �...@episod: @tvdw we have a team on it.”
>> Tom
>>
>> On 7 sep. 2010, at 00:25, Laura Helena Brentano 
>> wrote:
>>
>> Tom, one more thing.
>>
>> Can you let me know when the virus will be fixed?
>>
>> Thank you very much.
>>
>> Regards
>>
>> Laura Brentano
>>
>> 2010/9/6 Tom van der Woerdt 
>>>
>>> Nice find, and yes it is. And people, don't click it.
>>>
>>> Tom
>>>
>>>
>>> On 9/6/10 10:53 PM, Laura Helena Brentano wrote:
>>> > Hi,
>>> >
>>> > I am a journalist from a brazilian web site, Globo.com.
>>> >
>>> > Today, there were a link spread in the Twitter that was supposted to
>>> > be with virus. I just want to confirm if this link had, actually, a
>>> > virus.
>>> >
>>> > The message was written like this:
>>> >
>>> > Pe Lanza da banda Restart sofre acidente tragico | http://bit.ly/d5Pho8
>>> >
>>> > Can you, please, confirm if this is related to a virus link? Everybody
>>> > in Brazil is talking about this now.
>>> >
>>> > Thank you very much.
>>> >
>>> > Laura Brentano
>>> >
>>>
>>> --
>>> 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?hl=en
>>
>> --
>> 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?hl=en
>>
>> --
>> 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?hl=en
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] anyone got a working .NET example?

2010-09-06 Thread Georgooty varghese
Hi,
I have implemented a twitter client in C#.

Regards,
George

On Mon, Sep 6, 2010 at 9:17 AM, yout...@publicdataservice.org <
yout...@publicdataservice.org> wrote:

> anyone got a working .NET example?
>
> I tried this 
> http://www.PublicDataService.org/twitter/
>
> --
> 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?hl=en
>

-- 
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?hl=en


Re: [twitter-dev] 401 Error

2010-09-06 Thread Alan Alves Luiz
Me too! I'm using twitter4j and every function that uses oAuth autentication
gives to me headeache!!! :(
I can't figure out

2010/9/6 Farrukh Javeid 

> Hi,
>
> I have been trying to figure out a method to handle the 401 error but
> cannot actually find any particular solution. I have even tried the
> synchronizing my time with the internet server but still to no avail.
>
> Any help might be really helpful as I have already wasted 2 days on
> it.
>
> Warm Regards,
> Farrukh Javeid
>
> --
> 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?hl=en
>

-- 
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?hl=en


[twitter-dev] Flash API Twitter

2010-09-06 Thread aura_anar
Hi, i am newbie on developer twitter. I have try change to OAuth, i
have problem on create favorite and lookup user, anyone can help me
please?

public function LookUpUser(accessToken:OAuthToken, search:String):void
{
var oauthRequest:OAuthRequest = new OAuthRequest( "GET",
LOOKUP_USER.replace("$user", search), null, consumer, accessToken );

// build request URL from OAuthRequst
var requestUrl:String = oauthRequest.buildRequest( new
OAuthSignatureMethod_HMAC_SHA1(),
OAuthRequest.RESULT_TYPE_URL_STRING );
// new URLReuqest with URL and OAuth params
var request:URLRequest = new URLRequest( requestUrl );
request.method = "POST";
if ( dispatchEvent( new
TwitterEventOAuth( TwitterEventOAuth.LOOKUP_USER_SENDING ) ) ) {
var loader:URLLoader = new URLLoader( request );
loader.addEventListener( Event.COMPLETE, 
lookupUserHandler );
}
}

this is function for lookup user, if i click send show notification
again, anyone can help me please?Thanks

-- 
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?hl=en


[twitter-dev] What happens after twitter user denied access to the application?

2010-09-06 Thread K
Hi,
When twitter user denies access to my application, it just gets
redirected to the "denied" page and callback URL never gets called. I
would like to handle the situation  better when access is denied..I
saw bunch of similar posts in 2009, just wondering if this feature
ever got implemented, and if so, if I can find a relevant
documentation on how to implement this...

Thank you for your help!
K

-- 
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?hl=en


[twitter-dev] "Could not authenticate you" error on call to lists.xml

2010-09-06 Thread Dharmesh
I'm trying to retrieve a list of users by accessing a URL like this;

http://twitter.com/twitterapidocs/lists.xml

This returns the "Could not authenticate you" error in all cases.

I have OAuth working -- and can successfully invoke other API
functions with no problem at all (with exactly the same OAuth
credentials).

Any idea why calls to lists.xml would fail when other methods work?

All help is appreciated.

-- 
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?hl=en


[twitter-dev] Error: User is over daily status update limit.

2010-09-06 Thread outatime
When trying to post using the new OAuth system, I am getting a "User
is over daily status update limit." error, but the account in question
has not posted anything since August 31st.  What gives?

-- 
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?hl=en


[twitter-dev] Empty trend list

2010-09-06 Thread Tim
Hi,

I'm writing an app that reads in the local and worldwide top trends
from api.twitter.com/1/trends/.xml

Sometimes the xml comes back with no trends.  Why is this?

Thanks,
Tim

-- 
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?hl=en


  1   2   >