Re: [twitter-dev] Tweet Button Not Working

2010-08-27 Thread Bruce Aguilar
I think that may have worked.  It's a pain in the patootie that I have to
manually enter the web address in for each blog post, but still, it's better
than nothing I guess.

Thanks!


On Fri, Aug 27, 2010 at 7:38 AM, Taylor Singletary <
taylorsinglet...@twitter.com> wrote:

> You might find some help with working with the Tweet Button and iWeb here:
> http://bit.ly/tweet-button-iweb
>
> Taylor
>
> On Fri, Aug 27, 2010 at 7:20 AM, Yensid98  wrote:
>
>> I've added the Tweet Button to my website for easy sharing of my
>> content, but it's not working properly.  FYI, I'm operating at a very
>> basic level here and have designed my website with iWeb.
>>
>> I've added the button to my page with no trouble but when I click on
>> the Tweet Button, the link that gets posted only shows a tiny image of
>> the Tweet Button itself and not my website.  Upon further inspection
>> I've noticed the following added to the end of my page's url: _files/
>> widget2_markup.html.  The correct url doesn't have this info.  In
>> fact, deleting it from the address does bring up the page correctly.
>>
>> I have selected the Tweet Button to post the url for the page that
>> it's posted on and not a custom url.
>>
>> Is this an incompatibility with iWeb?  Any help would be 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?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
>



-- 
 - Bruce
   "What if the Hokey-Pokey really is what it's all about?"

-- 
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: Install twurl without root access?

2010-08-27 Thread @epc
I know nothing about Ruby, however "gem install twurl" appears to
install it into ~/.gem/ruby/1.8/bin on OS X.  You then need to put
that directory in your shell’s path variable.
--
-ed costello

-- 
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] Get all the statuses for an specific hashtag

2010-08-27 Thread gabitoju
Hi everyone.
I've been reading the API documentation and the streaming API docs but
I haven't been able to find a way to get all the statuses for an
specific hashtag.
I've tried with the search API using the page and the rpp parameters
but couldn't get what I want.
Is there a way to do this?

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


Re: [twitter-dev] Re: 401 errors calling access_token

2010-08-27 Thread Marc Mims
* Taylor Singletary  [100827 11:11]:
> Can you provide any more details about the error response you're
> giving (like the actual body of the error response)?

Taylor, I will capture the full request and response.  I assume they are
not suitable for posting in a public forum.  Should I email the to
a...@twitter.com instead?

> Can you share an example of a signature base string and POST body that
> failed in this example?
> 
> Have you verified that the clock on the device/system originating the
> request is in sync with Twitter's (returned in the Date header of
> every request) by about 5 minutes?

Times are within 1 second.

> Do you have any successes to compare against?

The error seems to occur infrequently.  The vast majority of calls
succeed on exactly the same code path.

The calls are being made with Perl the Net::Twitter library (of which I
am the author).  Net::Twitter is used by many twitter apps and web apps.

> Are your HTTP methods in agreement between what your client is
> actually using (a GET) and the method declared in your signature base
> string?

Yes.

-Marc

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


Re: [twitter-dev] Re: Strange problem searching from:shakira

2010-08-27 Thread Matt Harris
Thanks for the update. It's strange it wasn't working at all and now is. If 
this happens again let us know like you did below and we'll check it out.

Best,

Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

On Aug 27, 2010, at 12:44, quenotacom  wrote:

> Working now ... !
> 
> qn
> 
> On 26 ago, 23:39, quenotacom  wrote:
>> Hi,
>> 
>> I am having a 0 records / statuses when i try to search shakira
>> screenname, is there any special consideration for that account?
>> 
>> http//search.twitter.com/search.atom?from=shakira
>> 
>> Thank you in advance.
>> 
>> Quenotacom
> 
> -- 
> 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] Client using "old school" retweets

2010-08-27 Thread PJM
I was using the "TwitterFox" plugin for Firefox (now called EchoFon),
an old version using the original twitter way of displaying retweets -
I fear it will break after twitters upcoming change.

So any of you know of a firefox plugin which will display retweets the
old (and proper way) or am i forced to learn how to make one myself?

-- 
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] Getting 401 in the past 2 days

2010-08-27 Thread D. Smith
Hello! I started getting 401 'count not authenticate' errors starting
about 2 days ago when I try to send tweet via API.
I use OAuth, use php pecl OAuth for that, just like I did before. The
last tweet was successfully posted from my website was 2 days ago

Here are the headers from the debug (I changed the values of my token/
secret here for security)

[headers_sent] => POST /1/statuses/update.json HTTP/1.1

User-Agent: PECL-OAuth/1.0-dev

Host: api.twitter.com

Accept: */*

Content-Length: 249

Content-Type: application/x-www-form-urlencoded



status=%20Hey
%20everyone&oauth_consumer_key=gdsfgdsfgdfgdf&oauth_signature_method=HMAC-
SHA1&oauth_nonce=12299221034c78207659bdc5.73793953&oauth_timestamp=1282941046&oauth_version=1.0&oauth_token=&oauth_signature=1s8wiINcB9FKX0UjYc
%3D

And this is the received headers from API:

[headers_recv] => HTTP/1.1 401 Unauthorized

Date: Fri, 27 Aug 2010 20:30:46 GMT

Server: hi

Status: 401 Unauthorized

WWW-Authenticate: Basic realm="Twitter API"

X-Runtime: 0.00273

Content-Type: application/json; charset=utf-8

Content-Length: 75

Cache-Control: no-cache, max-age=300

Set-Cookie: k=67.19.114.2.1282941046438939; path=/; expires=Fri, 03-
Sep-10 20:30:46 GMT; domain=.twitter.com

Set-Cookie: guest_id=128294104644479603; path=/; expires=Sun, 26 Sep
2010 20:30:46 GMT

Set-Cookie:
_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCK3OPrUqAToHaWQiJWVhNjkyYjRiMTJlM2Uw
%250AMzUwOWYyNDQxNWI1MThmNzk5IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--428e590fbfbf78ddef85c177fb4f958444ef969c;
domain=.twitter.com; path=/

Expires: Fri, 27 Aug 2010 20:35:46 GMT

Vary: Accept-Encoding

Connection: close
[body_recv] => {"request":"/1/statuses/
update.json","error":"Could not authenticate you."}

-- 
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: Strange problem searching from:shakira

2010-08-27 Thread quenotacom
Working now ... !

qn

On 26 ago, 23:39, quenotacom  wrote:
> Hi,
>
> I am having a 0 records / statuses when i try to search shakira
> screenname, is there any special consideration for that account?
>
> http//search.twitter.com/search.atom?from=shakira
>
> Thank you in advance.
>
> Quenotacom

-- 
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] Need Twitter Developer for Open Auth

2010-08-27 Thread M. Edward (Ed) Borasky

What language? What part of the world?

--
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 "m...@iplusmarketing.com" :


I need a developer to make sure that my Twitter application will work
with the new Open Auth and without it as well. I also have some other
programing work.

--
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: 401 errors calling access_token

2010-08-27 Thread Taylor Singletary
Can you provide any more details about the error response you're
giving (like the actual body of the error response)?

Can you share an example of a signature base string and POST body that
failed in this example?

Have you verified that the clock on the device/system originating the
request is in sync with Twitter's (returned in the Date header of
every request) by about 5 minutes?

Do you have any successes to compare against?

Are your HTTP methods in agreement between what your client is
actually using (a GET) and the method declared in your signature base
string?

Thanks,
Taylor

On Aug 26, 3:05 pm, Marc Mims  wrote:
> I occasionally see 401 responses calling access_token.
>
> At the point of call, I have valid request tokens.  The user has been
> redirected to Twitter, has authorized the app (as evidenced by the
> fact
> that the user is redirected to the apps's callback URL).
>
> The application uses the oauth_token parameter to retrieve the request
> token secret from session data.  The stored request token and
> oauth_token parameters match, so I'm confident the correct request
> token
> secret is retrieved.
>
> Yet, calling access_token with the request token/secret and verifier
> fails.
>
> I thought it was perhaps a spurious error, so I wrote a retry loop.
> Here's a brief snippet from the application log:
>
>        access_token returned 401; retrying in 0.25 seconds
>        access_token returned 401; retrying in 0.5 seconds
>        access_token returned 401; retrying in 1 seconds
>        access_token returned 401; retrying in 2 seconds
>        final error => GEThttps://api.twitter.com/oauth/access_token
> failed: 401 Unauthorized
>
> Why would a call to access_token fail immediately after the user has
> authorized the application?
>
>        -Marc

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


[twitter-dev] Since Id on Favourites (recap)

2010-08-27 Thread Daniel Ribeiro
This issue has came up two years ago (http://groups.google.com/group/
twitter-development-talk/browse_thread/thread/4e6b9b0ae26db3bf/
84a9f110942a07b9?lnk=gst&q=since_id+favorites#84a9f110942a07b9).

The feature is still working, and still undocumented (as far as I
know). Am i wrong? Is it documented somehwere other than its api
(somewhere like global search parameters), and is it supported? If
not, what is that status update on this issue (will it be supported,
can it be removed without warnings)?

-- 
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] Sorting Followers and Following

2010-08-27 Thread M. Edward (Ed) Borasky
I've got a Perl script that pulls the whole follower/friend list down  
as a CSV file. You get 100 names with each API call and 350 calls per  
hour with oAuth, so unless you're Breaking News, you should be able to  
grab your complete contact list in a reasonable amount of time and do  
the sort in Excel or OpenOffice.org


See Github

http://github.com/znmeb/smart-at-znmeb/tree/master/Desktop/Demos/Contacts/

for the source. This is the non-oAuth version, which only gets 150 API  
calls per hour. As soon as Twitter gets the open source oAuth  
functionality deployed, I'll be releasing the oAuth version.


--
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 Taylor Singletary :


Hi there,

We don't currently offer any sorting methods for followers and followings.
However, you should be able to easily sort by screen_name, even for users
with many followers and followings, by using a combination of followers/ids
& friends/ids in conjunction with users/lookup. In most cases, you should be
able to get all the screen names for both within 3 or 4 API calls, then
cache the results and store and sort locally.

Finding out who is on your lists is also possible with the lists/members
methods described here:
http://dev.twitter.com/doc/get/:user/:list_id/members -- compare the ids of
the members of a list with the ids you have in friends/ids and you can
easily calculate the delta.

Taylor

On Fri, Aug 27, 2010 at 9:37 AM, playadancer  wrote:


Can we please get the ability to sort followers and following
alphabetically?

It is extremely difficult to find a follower/followee in the list,
espcially if they are one of your first followers and you have
hundreds or thousands.

Also, there's no way to see a list of people on my lists. I can only
see their tweets. If they haven't tweeted recently, there's no way to
know who all is on the list.

--
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] Need Twitter Developer for Open Auth

2010-08-27 Thread m...@iplusmarketing.com
I need a developer to make sure that my Twitter application will work
with the new Open Auth and without it as well. I also have some other
programing work.

-- 
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] Sorting Followers and Following

2010-08-27 Thread Taylor Singletary
Hi there,

We don't currently offer any sorting methods for followers and followings.
However, you should be able to easily sort by screen_name, even for users
with many followers and followings, by using a combination of followers/ids
& friends/ids in conjunction with users/lookup. In most cases, you should be
able to get all the screen names for both within 3 or 4 API calls, then
cache the results and store and sort locally.

Finding out who is on your lists is also possible with the lists/members
methods described here:
http://dev.twitter.com/doc/get/:user/:list_id/members -- compare the ids of
the members of a list with the ids you have in friends/ids and you can
easily calculate the delta.

Taylor

On Fri, Aug 27, 2010 at 9:37 AM, playadancer  wrote:

> Can we please get the ability to sort followers and following
> alphabetically?
>
> It is extremely difficult to find a follower/followee in the list,
> espcially if they are one of your first followers and you have
> hundreds or thousands.
>
> Also, there's no way to see a list of people on my lists. I can only
> see their tweets. If they haven't tweeted recently, there's no way to
> know who all is on the list.
>
> --
> 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] Sorting Followers and Following

2010-08-27 Thread playadancer
Can we please get the ability to sort followers and following
alphabetically?

It is extremely difficult to find a follower/followee in the list,
espcially if they are one of your first followers and you have
hundreds or thousands.

Also, there's no way to see a list of people on my lists. I can only
see their tweets. If they haven't tweeted recently, there's no way to
know who all is on the list.

-- 
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: Error messages during authorize and redirect processes (OAuth)

2010-08-27 Thread Matt Harris
Thanks! I'll get this looked at.

Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

On Aug 27, 2010, at 5:27, Richard Barnett  wrote:

> On Aug 27, 11:16 am, Matt Harris  wrote:
>> To allow us to track the issue and to make sure it gets fixed can you
>> file a bug report on our issues list:
>>  http://code.google.com/p/twitter-api/issues/list
> 
> http://code.google.com/p/twitter-api/issues/detail?id=1827
> 
> -- R
> 
> -- 
> 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: home_timeline request fails after deleting a tweet

2010-08-27 Thread jsleuth
Hi Matt,

Thanks for looking into this.  Here is our serialized object data from
a set of requests that exhibit the described behavior (http codes and
urls are early in each chunk).  In this instance I was using the
user_timeline, but the same thing is happening on the home_timeline
too.  Here I am deleting a retweet, the same behavior occurs when
deleting an originally authored tweet.

Thanks,
Jeff


Initial user_timeline request:
Fri, 27 Aug 2010 10:57:17 EDT - REST request - O:12:"TwitterOAuth":14:
{s:9:"http_code";i:200;s:3:"url";s:341:"https://api.twitter.com/1/
statuses/user_timeline.atom?
count=15&oauth_consumer_key=SWD0LerZcjFWTm9defmStg&oauth_nonce=143d02a039c208f53dd19600aa4a2e92&oauth_signature=pYF9Z
%2B4Y%2F1qvH0R88R0tRmJuToY%3D&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1282921036&oauth_token=138138618-
t5aUdBh7z59uVsv1ulsDsbjQfIXbL1Hxv6JSlhRM&oauth_version=1.0";s:
4:"host";s:26:"https://api.twitter.com/1/";s:7:"timeout";i:30;s:
14:"connecttimeout";i:30;s:14:"ssl_verifypeer";b:0;s:6:"format";s:
4:"atom";s:11:"decode_json";b:0;s:9:"http_info";a:20:{s:3:"url";s:
341:"https://api.twitter.com/1/statuses/user_timeline.atom?
count=15&oauth_consumer_key=SWD0LerZcjFWTm9defmStg&oauth_nonce=143d02a039c208f53dd19600aa4a2e92&oauth_signature=pYF9Z
%2B4Y%2F1qvH0R88R0tRmJuToY%3D&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1282921036&oauth_token=138138618-
t5aUdBh7z59uVsv1ulsDsbjQfIXbL1Hxv6JSlhRM&oauth_version=1.0";s:
12:"content_type";s:35:"application/atom+xml; charset=utf-8";s:
9:"http_code";i:200;s:11:"header_size";i:1116;s:12:"request_size";i:
410;s:8:"filetime";i:-1;s:17:"ssl_verify_result";i:0;s:
14:"redirect_count";i:0;s:10:"total_time";d:
0.5660730092768459580838680267333984375;s:
15:"namelookup_time";d:
0.0097878100187187665142118930816650390625;s:
12:"connect_time";d:
0.103936999050714905024506151676177978515625;s:
16:"pretransfer_time";d:
0.30967899931645788819878362119197845458984375;s:
11:"size_upload";d:0;s:13:"size_download";d:11295;s:
14:"speed_download";d:19953;s:12:"speed_upload";d:0;s:
23:"download_content_length";d:11295;s:21:"upload_content_length";d:
0;s:18:"starttransfer_time";d:
0.5658859977916331772576086223125457763671875;s:
13:"redirect_time";d:0;}s:9:"useragent";s:25:"TwitterOAuth v0.2.0-
beta2";s:11:"sha1_method";O:30:"OAuthSignatureMethod_HMAC_SHA1":0:{}s:
8:"consumer";O:13:"OAuthConsumer":3:{s:3:"key";s:
22:"SWD0LerZcjFWTm9defmStg";s:6:"secret";s:
42:"iy6Q12d8cusG14q6q5IZ7i7ji2fewn9S5Vk9NMC3T4";s:12:"callback_url";N;}
s:5:"token";O:13:"OAuthConsumer":3:{s:12:"callback_url";N;}s:
11:"http_header";a:20:{s:4:"date";s:29:"Fri, 27 Aug 2010 14:57:16
GMT";s:6:"server";s:2:"hi";s:6:"status";s:6:"200 OK";s:
13:"x_transaction";s:22:"1282921036-18779-13377";s:
17:"x_ratelimit_limit";s:3:"350";s:4:"etag";s:
34:""8c0caf1a160340044b5f59c62a2c4161"";s:13:"last_modified";s:
29:"Fri, 27 Aug 2010 14:57:16 GMT";s:21:"x_ratelimit_remaining";s:
3:"341";s:9:"x_runtime";s:7:"0.03461";s:12:"content_type";s:
35:"application/atom+xml; charset=utf-8";s:14:"content_length";s:
5:"11295";s:6:"pragma";s:8:"no-cache";s:17:"x_ratelimit_class";s:
14:"api_identified";s:10:"x_revision";s:3:"DEV";s:7:"expires";s:
29:"Tue, 31 Mar 1981 05:00:00 GMT";s:13:"cache_control";s:62:"no-
cache, no-store, must-revalidate, pre-check=0, post-check=0";s:
17:"x_ratelimit_reset";s:10:"1282923478";s:10:"set_cookie";s:
255:"_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCJR6DbQqAToHaWQiJWQ3ZGJhNzVlNGRjZDAw
%250AN2FkMmMyZjdmNzZjOGNhNDg1IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy
%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--
cbf711c902084a1193269bf76b186669e659a953; domain=.twitter.com;
path=/";s:4:"vary";s:15:"Accept-Encoding";s:10:"connection";s:
5:"close";}}


Request just the tweet we're about to delete:
Fri, 27 Aug 2010 10:57:34 EDT - findTweet request - url="http://
api.twitter.com/1/statuses/show.xml?id=21602265248";


Delete tweet (seems to work just fine, returns http header 200), with
response xml:
Fri, 27 Aug 2010 10:57:37 EDT - Delete Request - O:12:"TwitterOAuth":
14:{s:9:"http_code";i:200;s:3:"url";s:337:"https://api.twitter.com/1/
statuses/destroy/21602265248.xml?
oauth_consumer_key=SWD0LerZcjFWTm9defmStg&oauth_nonce=bcb8dac55e63fe2ea1aec3971ec38a4a&oauth_signature=MKc
%2BytIZ5sMMd9n%2FcKCZg3TMBew%3D&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1282921057&oauth_token=138138618-
t5aUdBh7z59uVsv1ulsDsbjQfIXbL1Hxv6JSlhRM&oauth_version=1.0";s:
4:"host";s:26:"https://api.twitter.com/1/";s:7:"timeout";i:30;s:
14:"connecttimeout";i:30;s:14:"ssl_verifypeer";b:0;s:6:"format";s:
3:"xml";s:11:"decode_json";b:0;s:9:"http_info";a:20:{s:3:"url";s:
337:"https://api.twitter.com/1/statuses/destroy/21602265248.xml?
oauth_consumer_key=SWD0LerZcjFWTm9defmStg&oauth_nonce=bcb8dac55e63fe2ea1aec3971ec38a4a&oauth_signature=MKc
%2BytIZ5sMMd9n%2FcKCZg3TMBew%3D&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1282921057&oauth_token=138138618-
t5aUdBh7z59uVsv1ulsDsbjQfIXbL1Hxv6JSlhRM&oauth_version=1

Re: [twitter-dev] Apl error

2010-08-27 Thread Taylor Singletary
Can you tell us more about your implementation? Are you using OAuth?
@Anywhere? How are you performing login?

Taylor

On Thu, Aug 26, 2010 at 8:43 PM, Cryoutloud net wrote:

> Hello guys, I created a Apl for my website but today I've changed my
> domain and obviously after the change the Apl did not work. I deleted
> the old Apl created a new one and I am getting this message.
> "Sorry, but the API "auth_url" requested is not correct.
> This may occur if the API "auth_url" has already been used.
> Developers please note: for the security of your members the API
> "auth_url" is valid for 1 login only."
> what can I do? can you help me pls?
>
> --
> 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] Why Applications seem to be unlimited ? how do they get informations ?

2010-08-27 Thread Taylor Singletary
Whitelisting is a privilege granted occasionally to applications that show
merit and cannot otherwise reasonably operate within the basic limits we
provide (350 requests per hour, per OAuth-authorized users). You can apply
for whitelisting at http://twitter.com/help/request_whitelisting -- due to
the volume of requests you may not get a reply if you're request has been
denied.

Taylor

On Fri, Aug 27, 2010 at 2:26 AM, Rom's  wrote:

> Hello,
>
> with the API, we are limited to 150 requests within one hour. But all
> applications we use, how do they request to twitter to be unlimited ?
>
> Thank you for your replies ;-)
>
> --
> 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] Request of xAuth access

2010-08-27 Thread Taylor Singletary
Hi Liga,

We get many requests for xAuth access, along with many other API support
tickets. The queue is large and it sometimes takes several days to get a
response. Thank you for your patience.

Taylor

On Fri, Aug 27, 2010 at 1:31 AM, Liga  wrote:

> Hi everybody,
> we need to use the xAuth access to our twitter application.
>
> We tried 3 times to send an email to a...@twitter.com with all the info
> requested but no response received :(
>
> Someone knows if it's normal or if there is another way to get this
> access?
>
> Thanks in advance
> Liga
>
> --
> 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] Migrate application from basu auth to oauth

2010-08-27 Thread Taylor Singletary
Please send an email to a...@twitter.com with as much information as possible
about your application -- the exact name you use as a source tag when using
basic auth, the account you used to register your new application, and if
you've already created an application with a different, placeholder name,
the app id or consumer key of that new application.

Taylor

On Fri, Aug 27, 2010 at 7:54 AM, funkyboy  wrote:

> Hi,
>
> I am trying to migrate my app from basic auth to oauth.
> I re-register my app here: http://dev.twitter.com/apps/new
> I says the name is already taken.
>
> Is there a way to "migrate" an already existing app to an oauth app?
>
> Thanks.
>
> -c.
>
> --
> 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: Testing 3rd party twitter application

2010-08-27 Thread Taylor Singletary
One use of providing an it is providing us information in exchange for
giving you access to the API. It provides accountability for your
application should anything go wrong (or right), and allows users to
discover more about your application when they see a tweet with your app in
the source tag. If you're at a loss for an URL to provide, consider a URL
shortened link to your Twitter profile or another profile of you or your
company online.

Taylor


On Fri, Aug 27, 2010 at 2:56 AM, Srinivas Chakravarty <
contact.s...@gmail.com> wrote:

> Hi Mr.Taylor,
>
> Yes, I don't have any URL to provide.
> Also I don't understand the use of providing it.
> Kindly reply.
>
> regards,
> Srinivas
>
> On Aug 20, 7:58 pm, Taylor Singletary 
> wrote:
> > Hi Srinivas,
> >
> > I'm not sure if I understand your question well. Are you unable to
> register
> > an application on dev.twitter.com because you don't have a URL to
> provide in
> > the form?
> >
> > Taylor
> >
> > On Fri, Aug 20, 2010 at 2:57 AM, Srinivas Chakravarty <
> >
> > contact.s...@gmail.com> wrote:
> > > hi,
> >
> > > I am developing a SNS application using Twitter REST API. But I am
> > > unable to test my application.I don't have any application web-site
> > > for registering my third party application.
> > > Please tell me how to test my application with twitter.
> >
> > > regards,
> > > Srinivas
>
> --
> 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] Problems with Oauth / Twitter and special characters like minus/hyphen

2010-08-27 Thread Taylor Singletary
Hi Leon,

Your authorization header should contain only oauth_* parameters -- you
don't need to include other parameters involved in the request.

You'll also need to encode your POST body appropriately before sending it to
Twitter. I also recommend normalizing your space characters to use %20
instead of plus. In this case, your POST body should be:

status=%23job%20Accountmanager%20%27s-Hertogenbosch.

Your signature base string is almost correct, assuming you had normalized
the "+" into "%20" and were sending the properly encoded POST bod. A hyphen
"-" is not a reserved character and shouldn't be encoded.

Taylor


On Fri, Aug 27, 2010 at 3:15 AM, Leon Buijsman wrote:

> We have oauth/twitter running now from a self-built Oracle PL/SQL
> procedure, but are running in problems with a few characters. The
> hyphen/minus is the most pressing one. It is correctly encoded to %2D,
> but whatever we try, it is giving me back a 401.
>
> See below a print-out from our base string, header, post and response
> code. Could you run a tweet like [#job Accountmanager 's-
> Hertogenbosch.] through your code and see whether it posts at all?
>
> signature base string:
> POST&https%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
> %2Fupdate.xml&oauth_consumer_key%3DGoUO2h7f9eAARwHnEMuAQ%26oauth_nonce
> %3D3cb55e8592ab4dcd71fa129aad78b139%26oauth_signature_method%3DHMAC-
> SHA1%26oauth_timestamp%3D1282903253%26oauth_token%3D183257949-
> xFjBpQpKdwuqF3Qjk9bG7AEXvJNIoBSU995tg8CM%26oauth_version%3D1.0%26status
> %3D%2523job%2520Accountmanager%2520%2527s%252DHertogenbosch.
> header:
> OAuth realm="", oauth_nonce="3cb55e8592ab4dcd71fa129aad78b139",
> oauth_signature_method="HMAC-SHA1", oauth_timestamp="1282903253",
> oauth_consumer_key="GoUO2h7f9eAARwHnEMuAQ", oauth_token="183257949-
> xFjBpQpKdwuqF3Qjk9bG7AEXvJNIoBSU995tg8CM", oauth_signature="Bv6Cz
> %2Frj2J6fMd%2B8UvwtUYuMkgE%3D", oauth_version="1.0", status=%23job
> %20Accountmanager%20%27s%2DHertogenbosch.
>
> body:
> status=#job+Accountmanager+'s-Hertogenbosch.
>
> statuscode:
> 401
>
> response:
> /1/statuses/update.xml Incorrect signature
>
> --
> 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] Migrate application from basu auth to oauth

2010-08-27 Thread funkyboy
Hi,

I am trying to migrate my app from basic auth to oauth.
I re-register my app here: http://dev.twitter.com/apps/new
I says the name is already taken.

Is there a way to "migrate" an already existing app to an oauth app?

Thanks.

-c.

-- 
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] IP Banned

2010-08-27 Thread Taylor Singletary
Hi Rohit,

Please follow up with an email to a...@twitter.com from an email address
associated with your application. Include the IP address that you believe to
be blacklisted. Our trust & safety team will be able to research why this
happened and give you criteria to meet in order to have the blacklisting
removed.

Thanks,
Taylor

On Fri, Aug 27, 2010 at 5:38 AM, rohit  wrote:

> Hi,
>
> Its seems my production IP has been banned, since this morning I am
> getting the “Connection Refused” error on my application,
>
> curl  -i -u  rohitgu:x
> http://api.twitter.com/1/account/rate_limit_status.json
> -v
> * About to connect() to api.twitter.com port 80 (#0)
> *   Trying 128.242.240.29... Connection refused
> *   Trying 128.242.240.125... Connection refused
> *   Trying 128.242.240.157... Connection refused
> *   Trying 128.242.245.125... Connection refused
>
> Could you please help as to what might be the problem of issue causing
> this and how I might be able to resolve this. We are getting a lot of
> complaints from our users.
>
> Regards,
> Rohit
>
> --
> 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] Tweet Button Not Working

2010-08-27 Thread Taylor Singletary
You might find some help with working with the Tweet Button and iWeb here:
http://bit.ly/tweet-button-iweb

Taylor

On Fri, Aug 27, 2010 at 7:20 AM, Yensid98  wrote:

> I've added the Tweet Button to my website for easy sharing of my
> content, but it's not working properly.  FYI, I'm operating at a very
> basic level here and have designed my website with iWeb.
>
> I've added the button to my page with no trouble but when I click on
> the Tweet Button, the link that gets posted only shows a tiny image of
> the Tweet Button itself and not my website.  Upon further inspection
> I've noticed the following added to the end of my page's url: _files/
> widget2_markup.html.  The correct url doesn't have this info.  In
> fact, deleting it from the address does bring up the page correctly.
>
> I have selected the Tweet Button to post the url for the page that
> it's posted on and not a custom url.
>
> Is this an incompatibility with iWeb?  Any help would be 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?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] Tweet Button Not Working

2010-08-27 Thread Yensid98
I've added the Tweet Button to my website for easy sharing of my
content, but it's not working properly.  FYI, I'm operating at a very
basic level here and have designed my website with iWeb.

I've added the button to my page with no trouble but when I click on
the Tweet Button, the link that gets posted only shows a tiny image of
the Tweet Button itself and not my website.  Upon further inspection
I've noticed the following added to the end of my page's url: _files/
widget2_markup.html.  The correct url doesn't have this info.  In
fact, deleting it from the address does bring up the page correctly.

I have selected the Tweet Button to post the url for the page that
it's posted on and not a custom url.

Is this an incompatibility with iWeb?  Any help would be 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?hl=en


Re: [twitter-dev] Re: Tweeting from a CMS

2010-08-27 Thread Matthew Terenzio
Wheras formerly you must have supplied the Company's Twitter account
username and password, you will now need to supply the OAuth credentials of
the company account.

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentials

If the case happens to be you were using third party code and you don't know
how it works but just supplied the the username and password, then it is
very possible that that code will no longer work. You will need to use a
library that supports OAuth. There are many.

On Fri, Aug 27, 2010 at 7:44 AM, stevew  wrote:

> > You mean *from* your company's account? With OAuth, you don't need
> > username/password, because these are replaced by credentials. It's still
> > very much possible.
>
> bah, I got shifted onto other projects and completely forgot about
> this... any ideas where I can find information about doing this? I am
> stuck
>
> Everything I have seen seems to rely on the user getting a token, and
> re-inputting that into the web app, but I can't seem to get to the
> satge of twitter offering me a token without being logged in :-(
>
> Basically to sum up, I want this :: a user loges into our CMS using
> their company credentials, they can tweet from/as the company account
> and all of the twitter stuff is hidden from them.
>
> --
> 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] Change in error response objects

2010-08-27 Thread Marc Mims
* Raffi Krikorian  [100827 06:54]:
> All newer API methods have been returning API error codes for a while
> now.  We have been extremely sensitive to not breaking older behavior
> (for backwards compatbility reasons), so older methods still return
> the old format.  We have been toying with the ability to get error
> codes on all methods if developers pass in a special parameter, or
> header, but we haven't gotten very far down that route yet.

Is there documentation for the error codes and format of error responses
for those newer methods?  Which methods support error codes in error
responses?

-Marc

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


Re: [twitter-dev] Change in error response objects

2010-08-27 Thread Raffi Krikorian
All newer API methods have been returning API error codes for a while
now.  We have been extremely sensitive to not breaking older behavior
(for backwards compatbility reasons), so older methods still return
the old format.  We have been toying with the ability to get error
codes on all methods if developers pass in a special parameter, or
header, but we haven't gotten very far down that route yet.

On Friday, August 27, 2010, Marc Mims  wrote:
> * Raffi Krikorian  [100827 06:03]:
>> this is most certainly a mistake on our part - we'll be reverting this
>> change.
>
> The new error format looks useful, especially if the error code allows
> us to deal with multi-lingual error messages consistently.  Obviously,
> some advanced notice and consistency across the API will be helpful.
>
> I'm still very interested in seeing Twitter provide library developers
> with advanced notice under non-disclosure for changes like this.
>
>         -Marc
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group: 
> http://groups.google.com/group/twitter-development-talk?hl=en
>

-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi

-- 
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] IP Banned

2010-08-27 Thread rohit
Hi,

Its seems my production IP has been banned, since this morning I am
getting the “Connection Refused” error on my application,

curl  -i -u  rohitgu:x  
http://api.twitter.com/1/account/rate_limit_status.json
-v
* About to connect() to api.twitter.com port 80 (#0)
*   Trying 128.242.240.29... Connection refused
*   Trying 128.242.240.125... Connection refused
*   Trying 128.242.240.157... Connection refused
*   Trying 128.242.245.125... Connection refused

Could you please help as to what might be the problem of issue causing
this and how I might be able to resolve this. We are getting a lot of
complaints from our users.

Regards,
Rohit

-- 
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: Error messages during authorize and redirect processes (OAuth)

2010-08-27 Thread Richard Barnett
On Aug 27, 11:16 am, Matt Harris  wrote:
> To allow us to track the issue and to make sure it gets fixed can you
> file a bug report on our issues list:
>  http://code.google.com/p/twitter-api/issues/list

http://code.google.com/p/twitter-api/issues/detail?id=1827

-- R

-- 
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] Change in error response objects

2010-08-27 Thread Marc Mims
* Raffi Krikorian  [100827 06:03]:
> this is most certainly a mistake on our part - we'll be reverting this
> change.

The new error format looks useful, especially if the error code allows
us to deal with multi-lingual error messages consistently.  Obviously,
some advanced notice and consistency across the API will be helpful.

I'm still very interested in seeing Twitter provide library developers
with advanced notice under non-disclosure for changes like this.

-Marc

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


Re: [twitter-dev] Change in error response objects

2010-08-27 Thread Raffi Krikorian
hi all.

this is most certainly a mistake on our part - we'll be reverting this
change.

On Fri, Aug 27, 2010 at 4:45 AM, Cameron Kaiser wrote:

> > It looks like error responses have changed, at least for users/show.
> >
> > I used to get:
> > {"error":"User has been suspended"}
> >
> > Now, I get:
> > {"errors":[{"code":63,"message":"User has been suspended"}]}
>
> I'm seeing that too. When did this change?
>
> --
>  personal:
> http://www.cameronkaiser.com/ --
>  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
> ckai...@floodgap.com
> -- They told me I was gullible ... and I believed them.
> ---
>
> --
> 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
>



-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi

-- 
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: Tweeting from a CMS

2010-08-27 Thread stevew
> You mean *from* your company's account? With OAuth, you don't need
> username/password, because these are replaced by credentials. It's still
> very much possible.

bah, I got shifted onto other projects and completely forgot about
this... any ideas where I can find information about doing this? I am
stuck

Everything I have seen seems to rely on the user getting a token, and
re-inputting that into the web app, but I can't seem to get to the
satge of twitter offering me a token without being logged in :-(

Basically to sum up, I want this :: a user loges into our CMS using
their company credentials, they can tweet from/as the company account
and all of the twitter stuff is hidden from them.

-- 
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: New SSL certificate issue with WTK 2.5.2

2010-08-27 Thread Netroboost

Hi Matt,

Thank you for your response. Yes, I was finally able to get rid of the
exception with the method you suggested.

However as far as I know the issue extends beyond the Sun Java WTK.
Various handset manufacturers have different implementations of this
JSR and while some do accept wildcard SSL certificates, some do not.

In such a case wouldn't it be sensible for mobile app developers to
use the HTTP method as a fail-safe method for authentication? Is there
any catch to this?

Regards,

Amit.


On Aug 26, 6:22 am, Matt Harris  wrote:
> Hi Amit,
>
> This is an issue with the Sun WTK 2.5.2 not accepting wildcard SSL
> certificates and not with the Twitter API. In the future we would like
> to move to a single domain certificate but there is no date as to when
> that will be.
>
> Whilst it isn't something we like you to do, the OAuth process isn't
> forbidden over SSL, just strongly discouraged. This means HTTP could
> be used - but again, this is discouraged.
>
> Instead, as wildcard SSL certificates are perfectly valid I recommend
> asking on the developer forums for the Sun WTK to see if support will
> be added to the toolkit itself.
>
> Best,
> Matt
>
>
>
> On Mon, Aug 23, 2010 at 12:35 AM, Netroboost  wrote:
> > Hi,
>
> > Has this issue been resolved yet?
>
> > I am using Sun WTK 2.5.2 and facing the same issue. The error message
> > reads:
>
> > "Subject alternative name did not match site name"
>
> > Please help if anyone knows how to deal with this.
>
> > Thanks,
>
> > Amit.
>
> > On Jul 23, 10:18 pm, Matt Harris  wrote:
> >> Hi,
>
> >> I've seen similar reports for other service providers about this issue as
> >> well. My concern is wildcard certificates are perfectly valid and are
> >> described in RFC2818 [1]. I'm not sure why Sun WTK doesn't support them or
> >> of any workarounds but I would suggest asking on their support channels.
>
> >> If there are any changes on our systems we will be communicate them through
> >> this developer mailing list.
>
> >> Best,
> >> Matt
>
> >> 1.http://www.ietf.org/rfc/rfc2818.txt
>
> >> On Fri, Jul 23, 2010 at 4:56 AM, bjcoredev  wrote:
> >> > How  will we be warned when  api.twitter.com fixed SSL certificate
> >> > will be effective ?
>
> >> > On 22 juil, 21:17, John Adams  wrote:
> >> > > Unfortunately, the current situation is that api.twitter.com is on a
> >> > > wildcard certificate.
>
> >> > > We have plans to move it a fixed SSL certificate in the near future, 
> >> > > but
> >> > no
> >> > > definite date yet.
>
> >> > > -j
>
> >> > > On Thu, Jul 22, 2010 at 11:50 AM, bjcoredev  wrote:
>
> >> > > > My app doesn't use the mobile site.
>
> >> > > > My twitter client is written in J2ME (Java Micro Edition) and is not
> >> > > > using the mobile site but the Twitter API.
>
> >> > > > I m coding  my client with WTK 2.5.2 Sun Wireless Toolkit (like many
> >> > > > other Java mobile developers) and since  the 21/07/2001 1AM GMT
> >> > > > my app  running under WTK can't access the url
> >> > > >https://api.twitter.com/oauth/access_token
> >> > > > because the WTK CAN'T HANDLE WILDCARD SSL certificates.
> >> > > > returning the error:"Subject alternative name did not match site
> >> > > > name".
>
> >> > > > I'have read that real (real devices opposite to the emulator) mobile
> >> > > > JAVA platforms (Sony ericsson,WM 5.0,..)  don't accept wildcard SSL
> >> > > > certificates so twitter clients using twitter API  written in J2ME
> >> > > > running under these platform can't access the url
> >> > > >https://api.twitter.com/oauth/access_token
> >> > > > anymore so can't process xAuth authentication wich will be mandatory
> >> > > > on 15 august
> >> > > > So .
>
> >> > > > On 22 juil, 20:20, John Adams  wrote:
> >> > > > > The mobile site has used a wildcard certificate for the last two
> >> > years;
> >> > > > Did
> >> > > > > you recently begin experiencing this issue or was your code working
> >> > in
> >> > > > the
> >> > > > > past?
>
> >> > > > > -j
>
> >> > > > > On Thu, Jul 22, 2010 at 6:43 AM, bjcoredev  
> >> > > > > wrote:
> >> > > > > > It seems that SUN WTK 2.5.2 doesn't accept wildcard certificates
> >> > > > > > I hope that mobile platforms accept wildcard SSL certificates. If
> >> > this
> >> > > > > > not the case, it will make twitter xAuth/oAuth unusable
>
> >> > > > > > Regards
>
> >> > > > > > On 22 juil, 14:57, bjcoredev  wrote:
> >> > > > > > > Hi
>
> >> > > > > > > My mobile app logged to twitter using xAuth and was working 
> >> > > > > > > like
> >> > a
> >> > > > > > > charm until the last SSL certicate changed
> >> > > > > > > (seehttp://
> >> > > > > > groups.google.com/group/twitter-development-talk/browse_thread...)
>
> >> > > > > > > My app logs correctly with the new certicate on real device 
> >> > > > > > > (N97)
> >> > > >  but
> >> > > > > > > failed with the 2.5.2 Sun Wireless Toolkit wich i use to 
> >> > > > > > > develop
> >> > my
> >> > > > > > > app.
>
> >> > > > > > > when i request token with the url (w

[twitter-dev] Problems with Oauth / Twitter and special characters like minus/hyphen

2010-08-27 Thread Leon Buijsman
We have oauth/twitter running now from a self-built Oracle PL/SQL
procedure, but are running in problems with a few characters. The
hyphen/minus is the most pressing one. It is correctly encoded to %2D,
but whatever we try, it is giving me back a 401.

See below a print-out from our base string, header, post and response
code. Could you run a tweet like [#job Accountmanager 's-
Hertogenbosch.] through your code and see whether it posts at all?

signature base string:
POST&https%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Fupdate.xml&oauth_consumer_key%3DGoUO2h7f9eAARwHnEMuAQ%26oauth_nonce
%3D3cb55e8592ab4dcd71fa129aad78b139%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1282903253%26oauth_token%3D183257949-
xFjBpQpKdwuqF3Qjk9bG7AEXvJNIoBSU995tg8CM%26oauth_version%3D1.0%26status
%3D%2523job%2520Accountmanager%2520%2527s%252DHertogenbosch.
header:
OAuth realm="", oauth_nonce="3cb55e8592ab4dcd71fa129aad78b139",
oauth_signature_method="HMAC-SHA1", oauth_timestamp="1282903253",
oauth_consumer_key="GoUO2h7f9eAARwHnEMuAQ", oauth_token="183257949-
xFjBpQpKdwuqF3Qjk9bG7AEXvJNIoBSU995tg8CM", oauth_signature="Bv6Cz
%2Frj2J6fMd%2B8UvwtUYuMkgE%3D", oauth_version="1.0", status=%23job
%20Accountmanager%20%27s%2DHertogenbosch.

body:
status=#job+Accountmanager+'s-Hertogenbosch.

statuscode:
401

response:
/1/statuses/update.xml Incorrect signature

-- 
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: Testing 3rd party twitter application

2010-08-27 Thread Srinivas Chakravarty
Hi Mr.Taylor,

Yes, I don't have any URL to provide.
Also I don't understand the use of providing it.
Kindly reply.

regards,
Srinivas

On Aug 20, 7:58 pm, Taylor Singletary 
wrote:
> Hi Srinivas,
>
> I'm not sure if I understand your question well. Are you unable to register
> an application on dev.twitter.com because you don't have a URL to provide in
> the form?
>
> Taylor
>
> On Fri, Aug 20, 2010 at 2:57 AM, Srinivas Chakravarty <
>
> contact.s...@gmail.com> wrote:
> > hi,
>
> > I am developing a SNS application using Twitter REST API. But I am
> > unable to test my application.I don't have any application web-site
> > for registering my third party application.
> > Please tell me how to test my application with twitter.
>
> > regards,
> > Srinivas

-- 
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] Why Applications seem to be unlimited ? how do they get informations ?

2010-08-27 Thread Rom's
Hello,

with the API, we are limited to 150 requests within one hour. But all
applications we use, how do they request to twitter to be unlimited ?

Thank you for your replies ;-)

-- 
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] Request of xAuth access

2010-08-27 Thread Liga
Hi everybody,
we need to use the xAuth access to our twitter application.

We tried 3 times to send an email to a...@twitter.com with all the info
requested but no response received :(

Someone knows if it's normal or if there is another way to get this
access?

Thanks in advance
Liga

-- 
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] Using the Twitter button on 1 page with multiple buttons

2010-08-27 Thread payme...@whostore.co.uk
I am trying to add the twitter button to each news item on the same
page (http://www.drwho-online.co.uk/news. Each item has a hashtag
extension which is accessed on the same page e.g:

http://www.drwho-online.co.uk/news/Default.aspx#general-doctor-who-live-more-details
http://www.drwho-online.co.uk/news/Default.aspx#merchandise-tv-movie-to-get-usa-dvd-release
http://www.drwho-online.co.uk/news/Default.aspx#merchandise-new-doctor-who-computer-games

When my news page loads, each of those items show the same number of
retweets. How can I set it so that they each display their own unique
retweets?

Here is the current code Im using:


   http://twitter.com/share"; class="twitter-share-button"
rel="canonical"
  data-url="http://www.drwho-online.co.uk/news/
Default.aspx#merchandise-new-doctor-who-computer-games"
  data-via="drwhoonline"
  data-text="#DoctorWho News - New Doctor Who Computer Games"
  data-related="comparethedalek:The Doctor Who Price Comparison
website!"
  data-count="vertical">Tweet


Any help will be greatly appreciated.

Seb.

-- 
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] Change in error response objects

2010-08-27 Thread Cameron Kaiser
> It looks like error responses have changed, at least for users/show.
> 
> I used to get:
> {"error":"User has been suspended"}
> 
> Now, I get:
> {"errors":[{"code":63,"message":"User has been suspended"}]}

I'm seeing that too. When did this change?

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- They told me I was gullible ... and I believed them. ---

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