[twitter-dev] Re: 401 error what am i doing wrong here (user search)

2010-12-23 Thread Cujo
For the last call i rewrote my code to set the Authorization
RequestHeader to:
OAuth realm=http%3A%2F%2Fapi.twitter.com,
oauth_consumer_key=[mykey], oauth_signature_method=HMAC-SHA1,
oauth_token=[accesstoken], oauth_version=1.0,
oauth_timestamp=1293101327, oauth_nonce=b37Zm8,
oauth_signature=[signature]

With result:
?xml version=1.0 encoding=UTF-8?
errors
  error code=32Could not authenticate you/error
/errors
And with responseHeaders :
Via: 1.0 SMTTMG
Connection: Keep-Alive
Proxy-Support: Session-Based-Authentication
Connection: Proxy-Support
Transfer-Encoding: chunked
Expires: Thu, 23 Dec 2010 08:30:06 GMT
Date: Thu, 23 Dec 2010 08:00:06 GMT
Content-Type: application/xml; charset=utf-8
Server: hi
Status: 401 Unauthorized
WWW-Authenticate: Basic realm=Twitter API
X-Runtime: 0.01106
Cache-Control: no-cache, max-age=1800
Set-Cookie: _twitter_sess=VERYLONGSIGNATUREacbd; domain=.twitter.com;
path=/

Does that mean the the Authorization did not come through, since the
WWW-Authenticate says Basic?

On 22 dec, 14:50, Cujo deko...@gmail.com wrote:
 I followed the whole oAuth chain to aquire an accesstoken for my
 application:
 Call 1:
 sent:https://api.twitter.com/oauth/request_token?oauth_consumer_key=[mykey]oauth_signature_method=HMAC-SHA1oauth_timestamp=1293014232oauth_n­once=OgIwk4oauth_signature=[signature]

 result:
 oauth_token=[token]oauth_token_secret=[tokensecret]oauth_callback_confirm­ed=true

 Call 2: (after receiving a pincode)
 sent:https://api.twitter.com/oauth/access_token?oauth_consumer_key=[mykey]oauth_token=[token]oauth_signature_method=HMAC-SHA1oauth_verifier­=[pincode]oauth_timestamp=1293014245oauth_nonce=UZN6pWoauth_signature=[s­ignature]

 result:
 oauth_token=[accesstoken]oauth_token_secret=[accesstokensecret]user_id=42­198282screen_name=kooijtje

  Call 3: (i should be able to do a search since i have an access
 token)
 sent:http://api.twitter.com/1/users/search.xml?q=[searchterm]oauth_consumer_key=[mykey]oauth_token=[accesstoken]oauth_sig­nature_method=HMAC-SHA1oauth_timestamp=1293014246oauth_nonce=nV8zJ7oauth­_signature=[signature]

 sent:http://api.twitter.com/1/users/search.xml?oauth_consumer_key=[mykey]oauth_nonce=wwQs4poauth_signature_method=HMAC-SHA1oauth_timestamp­=1293024508oauth_token=[accesstoken]oauth_version=1.0q=[Searchterm]oaut­h_signature=[signature]

 Both are giving the following 401 error with this response:
 xml version=1.0 encoding=UTF-8?
 hash
   request/1/users/search.xml?
 oauth_consumer_key=[mykey]amp;oauth_nonce=dD7PvNamp;oauth_signature_metho­d=HMAC-
 SHA1amp;oauth_timestamp=[timestamp]amp;oauth_token=[accesstoken]amp;oaut­h_version=1.0amp;q=[Searchterm]amp;oauth_signature=[signature]/
 request
   errorIncorrect signature/error
 /hash

 Currently through the lib i am using all parameters (including the q)
 are used to calculate the oauth_signature, is this wrong? Should only
 the oauth_* parameters be used? I tried this but still incorrect
 signature error.
 The algorithm for calculating seems to be signature correct since i am
 able to succesfull get an accesstoken?

 Any idea's?

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


[twitter-dev] Streaming API: retweeted always false

2010-12-23 Thread Fabrício Ferrari de Campos
Hi,

I'm with a problem using streaming API, I had tracked 'amazon' and no tweets
were returned with attribute 'retweeted' equals true, when in fact some
tweets were retweeted.

Does this occur to anyone else?

-- 
Regards,
*
Fabrício Ferrari de Campos* | @fabricioffc http://twitter.com/FabricioFFC
*Blog:* QualidadeBR http://qualidadebr.wordpress.com/
*LinkedIn:* br.linkedin.com/in/fabricioferraridecampos

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


[twitter-dev] Re: Announcing: Free Open Source Twitter Framework in PHP

2010-12-23 Thread 王亮亮
I hava a silly question. How to log in a localhost using telnet/ssh
session and execute the php scripture?

On Nov 11, 3:27 am, Adam Green 140...@gmail.com wrote:
 I have just published the first version of a Twitter aggregation
 database and tweet display framework called 140dev. The code is 
 at:http://140dev.com/free-twitter-api-source-code-library/

 This is written in PHP and MySQL on the server side, and JQuery and
 Javascript on the client side. The functionality is pretty basic now,
 but I have plans to extend it over time. This code is very heavily
 documented, and is meant as a working tutorial for Twitter API
 programming.

 It uses the Phirehose library to access the Twitter Streaming API 
 andcollecttweets containing a set of keywords, stores the tweets into a
 normalized MySQL database, and then returns the most recent tweets as
 linkified, formatted HTML. Javascript code in the browser uses Ajax to
 load older tweets, and to automatically update a count of new tweets,
 as done on Twitter.com. The result is a real-time tweet stream that
 can be added to any Web page with a single line of PHP code.

 I'd really appreciate any comments you have on this code. It is GPLed
 and has a plugin architecture, so if anyone wants to add on to it, let
 me know.

 - Adam Greenhttp://140dev.com
 140...@gmail.com
 @140dev

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


[twitter-dev] Follow user using friendships/create

2010-12-23 Thread neetu
Hi,

Am using following to follow a user

$connection-post('friendships/create.json', array('id' = $friend));

But in response am getting Sorry this page does not exists.

Any idea what would I be doing wrong?

Regards,
neetu

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


[twitter-dev] Unsubscription Process

2010-12-23 Thread Itsscotty
Hi,

How do I stop getting all these twitter emails

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


Re: [twitter-dev] Unsubscription Process

2010-12-23 Thread Scott Wilcox
Seems you've somehow missed:

 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk

at the bottom of every email.

On 23 Dec 2010, at 11:19, Itsscotty wrote:

 Hi,
 
 How do I stop getting all these twitter emails
 
 -- 
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk


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


[twitter-dev] Twitpic API

2010-12-23 Thread Krishnamathi Ranish
I have uploaded a photo to twitpic and message to twitter using
Twitpic API. I am using the technology Perl.

Here is the code i am using:

my $oauth_sign = Net::OAuth-request('Access Token')-new(
consumer_key = $self-{'consumer_key'},
consumer_secret = $self-{'consumer_secret'},
token = $params{'oauth_token'},
token_secret= $params{'oauth_secret'},
signature_method = 'HMAC-SHA1',
timestamp = time(),
nonce = time() . '2323232323232323',
request_method = 'GET',
request_url = 'https://api.twitter.com/1/account/
verify_credentials.json'
);
$oauth_sign-sign;
my %uploadparams = (
'username' = 'XX',
'password' = Xx,
'message' = $params{'message'},
'media' = [$params{'file'}]
);
my %req_headers = (
'X-Verify-Credentials-Authorization' = $oauth_sign-
to_authorization_header,
'X-Auth-Service-Provider' = 'https://api.twitter.com/1/account/
verify_credentials.json',
'Content-Type' = 'form-data'
);
my $request = POST('http://twitpic.com/api/uploadAndPost',\
%uploadparams,%req_headers);
my $response = $self-{ua}-request($request);
return $response;


I would like to remove the media uploaded and the message using api
call. Please let me know if there is an API call to do this

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


[twitter-dev] Re: Follow user using friendships/create

2010-12-23 Thread neetu
I could solve it.

Thanks :)

On Dec 23, 1:10 pm, neetu neetu.gul...@gmail.com wrote:
 Hi,

 Am using following to follow a user

 $connection-post('friendships/create.json', array('id' = $friend));

 But in response am getting Sorry this page does not exists.

 Any idea what would I be doing wrong?

 Regards,
 neetu

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


Re: [twitter-dev] 4294967295

2010-12-23 Thread Dan Checkoway
Cool, I appreciate the response.  I forgot to mention, although you guys
probably know this by now...originally it was just the firehose on which we
saw those funky values, but lately we've been seeing them in the wild as
well.

Thanks again, Taylor.

Dan

On Wed, Dec 22, 2010 at 10:56 PM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 It's going to be a little bit of time before we can totally prevent these
 values from occurring.

 Right now, you should probably just consider this value as unknown rather
 than necessarily null, 0, or otherwise. The team responsible for the low
 level component causing the bug has a fix planned, but it can't be applied
 until a few more dependencies are resolved.

 Thanks,
 Taylor

 On Wed, Dec 22, 2010 at 2:59 PM, Dan Checkoway dchecko...@gmail.comwrote:

 I just wanted to follow up on this, because the issue continues to happen,
 and it gets more and more interesting.

 We've now been seeing user.listed_count coming back as 4294967293 on
 occasion.  So just to recap, we have now seen these values in the
 user.listed_count field:

 4294967295 (a.k.a. unsigned -1)
 4294967294 (a.k.a. unsigned -2)
 4294967293 (a.k.a. unsigned -3)

 twitter4j has worked around this issue no problem, but I'm more than just
 a bit curious what these values represent.  Should -1 and -2 and -3 be
 treated to mean anything other than we don't know what the listed count
 is?  What happens if/when -4 starts popping out?

 I realize this is pretty low priority, but it's still a bug...

 Thanks,
 Dan


 On Fri, Dec 17, 2010 at 7:17 AM, Dan Checkoway dchecko...@gmail.comwrote:

 Check this out...today sometime between 4:01:43 AM PST and 4:01:53 AM PST
 (sorry for the ambiguity, those are our every 10 sec logging timestamps
 for other stuff), we saw the unsigned equivalent of -2 (4294967294) being
 sent by twitter in user.listed_count...


 Exception in thread Twitter Stream Handling Thread[Receiving stream]
 java.lang
 .NumberFormatException: For input string: 4294967294

 at
 java.lang.NumberFormatException.forInputString(NumberFormatException.
 java:48)
 at java.lang.Integer.parseInt(Integer.java:459)
 at java.lang.Integer.valueOf(Integer.java:553)
 at twitter4j.internal.util.ParseUtil.getInt(ParseUtil.java:120)
 at twitter4j.UserJSONImpl.init(UserJSONImpl.java:103)
  at twitter4j.UserJSONImpl.init(UserJSONImpl.java:86)
 at twitter4j.StatusJSONImpl.init(StatusJSONImpl.java:101)
 at twitter4j.StatusJSONImpl.init(StatusJSONImpl.java:84)
 at twitter4j.StatusJSONImpl.init(StatusJSONImpl.java:118)
 at twitter4j.StatusJSONImpl.init(StatusJSONImpl.java:84)
 at
 twitter4j.StatusStreamImpl.handleNextElement(StatusStreamImpl.java:116)
 at twitter4j.StatusStreamImpl.next(StatusStreamImpl.java:89)
 at
 twitter4j.TwitterStream$StreamHandlingThread.run(TwitterStream.java:529)

 Any idea what's going on and/or when it might be fixed?

 Thanks,
 Dan


 On Tue, Dec 14, 2010 at 8:10 PM, Taylor Singletary 
 taylorsinglet...@twitter.com wrote:

 Thanks! This is being looked into. I'll update when I have news.

 Taylor

 On Tuesday, December 14, 2010, Dan Checkoway dchecko...@gmail.com
 wrote:
  Yeah, you bet.  Twitter4j isn't logging a timestamp when it happens,
 but here are a handful of timestamps for unrelated stuff that got logged no
 more than 10 seconds *prior* to the 4294967295 error popping out...so
 they're fairly close:
 
  Dec 14, 2010 12:34:11 PM PST
  Dec 14, 2010 1:13:07 PM PST
  Dec 14, 2010 1:22:48 PM PST
  Dec 14, 2010 1:27:22 PM PST
  Dec 14, 2010 1:29:48 PM PST
  Dec 14, 2010 1:33:36 PM PST
 
  Based on the twitter4j stack trace, I can tell you that it was
 *always* user.listed_count that had the funky value:
 
  Exception in thread Twitter Stream Handling Thread[Receiving stream]
 java.lang
  .NumberFormatException: For input string: 4294967295
  at
 java.lang.NumberFormatException.forInputString(NumberFormatException.
  java:48)
  at java.lang.Integer.parseInt(Integer.java:459)
  at java.lang.Integer.valueOf(Integer.java:553)
  at
 twitter4j.internal.util.ParseUtil.getInt(ParseUtil.java:120)
  at twitter4j.UserJSONImpl.init(UserJSONImpl.java:103)
 
  Thanks,
  Dan
 
  On Tue, Dec 14, 2010 at 6:42 PM, Taylor Singletary 
 taylorsinglet...@twitter.com wrote:
  Understandable, Dan.
 
  Can you tell me the last time an event like this happened?
 
  Taylor
 
  On Tue, Dec 14, 2010 at 3:41 PM, Dan Checkoway dchecko...@gmail.com
 wrote:
  I know this is the weenie answer, but I haven't been able to track a
  specific offending JSON object down yet, since it only seems to
 happen on
  the firehose, and we're using twitter4j to process that.
 
  If we were able to connect to the firehose more than once at a time,
 I could
  easily write a tool to detect and highlight the issue.  Short of
 that, I'll
  try watching the sample stream for a while to see if 

[twitter-dev] Access Tokens Changed?

2010-12-23 Thread David
For some reason it looks like my access token has changed - what might have 
triggered this? The access token at http://dev.twitter.com/apps -- myapp -- 
My Access Token has changed from what was there before/what I have stored 
for my own account for that app in my database. The only thing I've changed 
recently in regards to the oauth process is passing the force_login 
parameter to the authenticate endpoint. Any help would be greatly 
appreciated. 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


[twitter-dev] Intermittent 401 errors calling access_token

2010-12-23 Thread Marc Mims
I have an ongoing problem with 401 Unauthorized errors calling 
access_token after the user has successfully authorized the app.  It 
happens on a small percentage of calls, but frequently enough (usually 
several times per day) to be quite annoying and leads to user 
complaints.

I've provided the full transaction chain for one of the failed 
authorizations below, eliding identifying values.

You can see from the timestamps in the response headers that entire 
chain was completed it a reasonable amount of time.  I notice a 14 
second difference between the Date and Client-Date headers.  I've 
verified that our server clock is accurate with NTP.

Also note that the final 401 response has no explanation in the body 
(Content-Length: 1).  Whenever I'm able to force a 401 response (e.g., by 
calling access_token with already used request tokens) I get some 
failure explanation in the response body.

Is this a problem on my end or does this indicate a problem on Twitter's 
end?

Is there anything else I can provide to help diagnose this problem?

-Marc


### request_token request ###

GET https://api.twitter.com/oauth/request_token
Authorization: OAuth 
oauth_callback=http%3A%2F%2Felided,oauth_consumer_key=elided,oauth_nonce=i%2FfgTr7omYPt4AAWfD4Bby35UlQ,oauth_signature=48U6n6FRtFYx1iKqtmE36ZMTvdw%3D,oauth_signature_method=HMAC-SHA1,oauth_timestamp=1293104523,oauth_version=1.0
User-Agent: Net::Twitter/3.14002 (Perl)
X-Twitter-Client: Perl Net::Twitter
X-Twitter-Client-URL: http://search.cpan.org/dist/Net-Twitter/
X-Twitter-Client-Version: 3.14002


### request_token response ###

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Connection: close
Date: Thu, 23 Dec 2010 11:42:18 GMT
Pragma: no-cache
ETag: 9a7fe06568d1d60ff0edf37ea73d3517
Server: hi
Vary: Accept-Encoding
Content-Length: 145
Content-Type: text/html; charset=utf-8
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified: Thu, 23 Dec 2010 11:42:18 GMT
Client-Date: Thu, 23 Dec 2010 11:42:04 GMT
Client-Peer: 128.242.245.253:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Client-SSL-Cert-Subject: 
/serialNumber=Zys2dJJ09EPoEVGXYtegIdxG3OZtEOib/C=US/O=*.twitter.com/OU=GT57932074/OU=See
 www.rapidssl.com/resources/cps (c)10/OU=Domain Control Validated - 
RapidSSL(R)/CN=*.twitter.com
Client-SSL-Cipher: DHE-RSA-AES256-SHA
Client-SSL-Warning: Peer certificate not verified
Set-Cookie: k=67.225.143.68.1293104538943773; path=/; expires=Thu, 30-Dec-10 
11:42:18 GMT; domain=.twitter.com
Set-Cookie: guest_id=129310453895441949; path=/; expires=Sat, 22 Jan 2011 
11:42:18 GMT
Set-Cookie: 
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCExlCRMtAToHaWQiJWJjODZjZmI5Mjc2ZTI1%250AY2ZhZWQ0YTQ2YjA5YTRlODZlIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--e77d2ea105e6097a1a23f2d3ab34e11f6581b161;
 domain=.twitter.com; path=/
Status: 200 OK
X-Revision: DEV
X-Runtime: 0.02151
X-Transaction: 1293104538-2524-9007

oauth_token=3G61MtFOzOwUCzFCZ0i7qlBLCNg3GeSBq6JomuChgoauth_token_secret=mgKM5MRmz5tcJwfDsJMASQ4kuSgDIFTuHc83uNmCAYoauth_callback_confirmed=true


### redirect user to Twitter ###

https://api.twitter.com/oauth/authorize?oauth_token=3G61MtFOzOwUCzFCZ0i7qlBLCNg3GeSBq6JomuChg

### user returned to OAuth callback ###

'oauth_token' = '3G61MtFOzOwUCzFCZ0i7qlBLCNg3GeSBq6JomuChg',
'oauth_verifier' = 'kZRqjesOVETmL9Sf7k3NnGRItnKXFm525UN8D6GG7DE'


### access_token request ###

GET https://api.twitter.com/oauth/access_token
Authorization: OAuth 
oauth_consumer_key=elided,oauth_nonce=JhQ00FmtBqcq6wo%2Be%2F60vD%2F8G28,oauth_signature=qb1M%2F9xFvViKpoX8q%2BU%2Bl%2B2UTog%3D,oauth_signature_method=HMAC-SHA1,oauth_timestamp=1293104564,oauth_token=3G61MtFOzOwUCzFCZ0i7qlBLCNg3GeSBq6JomuChg,oauth_verifier=kZRqjesOVETmL9Sf7k3NnGRItnKXFm525UN8D6GG7DE,oauth_version=1.0
User-Agent: Net::Twitter/3.14002 (Perl)
X-Twitter-Client: Perl Net::Twitter
X-Twitter-Client-URL: http://search.cpan.org/dist/Net-Twitter/
X-Twitter-Client-Version: 3.14002

### access_token response ###

HTTP/1.1 401 Unauthorized
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Connection: close
Date: Thu, 23 Dec 2010 11:42:59 GMT
Pragma: no-cache
Server: hi
Vary: Accept-Encoding
Content-Length: 1
Content-Type: text/html; charset=utf-8
Expires: Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified: Thu, 23 Dec 2010 11:42:59 GMT
Client-Date: Thu, 23 Dec 2010 11:42:44 GMT
Client-Peer: 128.242.245.221:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
Client-SSL-Cert-Subject: 
/serialNumber=Zys2dJJ09EPoEVGXYtegIdxG3OZtEOib/C=US/O=*.twitter.com/OU=GT57932074/OU=See
 www.rapidssl.com/resources/cps (c)10/OU=Domain Control Validated - 
RapidSSL(R)/CN=*.twitter.com
Client-SSL-Cipher: DHE-RSA-AES256-SHA
Client-SSL-Warning: Peer certificate not verified
Set-Cookie: k=67.225.143.17.1293104579798347; path=/; expires=Thu, 

[twitter-dev] Re: Access Tokens Changed?

2010-12-23 Thread David
Hmm, it looks like if you hit cancel when authenticating an app that 
you've already authenticated for that username, it changes the access token? 
Is this the expected behavior?

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


[twitter-dev] Re: Access Tokens Changed?

2010-12-23 Thread David
I feel like this isn't the expected behavior if a user hits Cancel when 
you authenticate with force_login=True - if start typing in another 
username, then hit cancel, it shouldn't revoke the access token for the 
currently authenticated user.

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


[twitter-dev] Re: Oauth timeout at access_token request

2010-12-23 Thread Dave McCall
Just in case this ever comes up for someone else, here's how I solved
this.  I had to post an empty string to the page.  If you note the
lines:

If RequestMethod = POST And Not IsNothing(Data) Then
  objRequest.ContentLength = Data.Length
  Dim objWriter As New StreamWriter(objRequest.GetRequestStream)
  objWriter.Write(Data.ToString)
  objWriter.Close()
End If

I was sending Nothing in the Data, so it was not writing to the
request stream.  When I changed that and started writing an empty
string in the request stream I started to get the response back.

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


[twitter-dev] Straight Tweeting Directly To Twitter

2010-12-23 Thread Resolute Innovations
I have an app on my website. Once a user posts a message to this app I
would like for the post to get tweeted to my own Twitter account. In
the past this was possible by passing username/password to twitter and
the status. But not since the switch to OAuth have I found a code
example of this. I have seen this on message boards but cannot find
how it is done anywhere with OAuth. Is this possible? If so how do I
do it?

Any code example would be helpful

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


[twitter-dev] How to change from Application Name to IP Whitelist

2010-12-23 Thread DaveH
Is there streamlined way to request change a whitelisted application
to IP whitelisted?

As I have been pondering my application and scale I have come to
realize that I really need to use several dedicated IPs instead of
maintaining the whitelisted application name.

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