[twitter-dev] is there any working code sample for oauth for twitter

2010-12-15 Thread kumar Gaurav
i'm no where getting any working sample that teaches how to authorize
for twitter. please post any code sample to get started

-- 
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] is there any working code sample for oauth for twitter

2010-12-15 Thread Yusuke Yamamoto
Hi,

Which language do you prefer?
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/

On Dec 15, 2010, at 19:09 , kumar Gaurav wrote:

 i'm no where getting any working sample that teaches how to authorize
 for twitter. please post any code sample to get started
 
 -- 
 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


Re: [twitter-dev] is there any working code sample for oauth for twitter

2010-12-15 Thread kumar Gaurav
i prefer c#, and want to develop windows  application

On Wed, Dec 15, 2010 at 3:58 PM, Yusuke Yamamoto yus...@mac.com wrote:

 Hi,

 Which language do you prefer?
 --
 Yusuke Yamamoto
 yus...@mac.com

 this email is: [x] bloggable/tweetable [ ] private
 follow me on : http://twitter.com/yusukeyamamoto
 subscribe me at : http://samuraism.jp/

 On Dec 15, 2010, at 19:09 , kumar Gaurav wrote:

  i'm no where getting any working sample that teaches how to authorize
  for twitter. please post any code sample to get started
 
  --
  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 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 parameter in the friendships create request

2010-12-15 Thread Kei Noguchi
Hi team,

This is regarding the follow parameter in the friendships create
request.  Based on the API document below, the follow parameter is to
control the notifications from the specified user.

follow
Enable notifications for the target user.
http://api.twitter.com/1/friendships/create.xml?follow=true

http://dev.twitter.com/doc/post/friendships/create

My question is: can we create a friendships without receiving a
notification from the user, meaning creating a friendship, so that we
can receive a direct messages from the user, without having a tweets
from that user in the home timeline?

Here is the sample REST request for your reference.

https://api.twitter.com/1/friendships/create?screen_name=somebodyfollow=false

Thank you in advance,

Kei Noguchi
@keinoguchi

-- 
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] Need help to develop twitter application, Plz reply me

2010-12-15 Thread Roopesh Rai
Hi all,


  I am developing twitter application. In this application without
browser user can use Twitter, I am providing user a interface to use
twitter.

  I registered my application with twitter . By Oauth I am accessing
twiiter. My doubts starts here

1) In my application I need to develop such that any user can enter
his user name and password, and he can enter to  twitter home page(In
my application), But now I am not using any username and password,
Directly using consumer key, consumer secret key, token key, token
secret key, PIN I am entering to twitter home. how i can allow other
users to use my application just by there user name and password 

2) By using statuses/home_timeline.json, I am getting only 14
timelines, How I can get all the timeline.

Thank you for Your valuable reply.

Regards,
S.R Rai

-- 
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] Switch owner of app

2010-12-15 Thread GregAC
Hello,

I've got a twitter application which I'd like to switch the owner of
from my twitter account to another, is this possible?

Cheers,

Greg

-- 
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] xAuth Approval

2010-12-15 Thread Iman Zarrabian
Hi all, I'm new to the whole OAuth/xAuth thing 
I'd like t know how long it's gonna take to twitter api team to
authorize a xAuth use request ? any feedback on that ? I guess you got
this question 100 times a day, no ? sorry ;)

thx 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


Re: [twitter-dev] Switch owner of app

2010-12-15 Thread Taylor Singletary
Hi Greg,

Transferring applications between accounts is handled by the hard-working
folks behind a...@twitter.com. Send an email to that address from the email
address currently associated with the account that owns the application,
provide the consumer key or other identifying information, provide the
target account you want to own the account, and they'll follow up with a few
more questions and take care of it for you.

Taylor

On Wed, Dec 15, 2010 at 2:21 AM, GregAC gre...@gmail.com wrote:

 Hello,

 I've got a twitter application which I'd like to switch the owner of
 from my twitter account to another, is this possible?

 Cheers,

 Greg

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


Re: [twitter-dev] Re: #newtwitter and the API

2010-12-15 Thread Taylor Singletary
Hi Yusuke,

We'll probably graduate the majority of these APIs to the official
documentation next month. A number of them are still in active iteration.

Thanks,
Taylor

On Tue, Dec 14, 2010 at 10:15 PM, Yusuke yus...@mac.com wrote:

 Hi,

 Is there any plan to make these new API methods available in the
 official document?

 Thanks,
 Yusuke

 On Sep 24, 2:52 am, Matt Harris thematthar...@twitter.com wrote:
  Thanks for all the questions and feedback everyone. Hopefully my
  comments below will answer your questions.
 
  Robert/Tom: The API limit for #newtwitter applies the same as other
  applications so the requests are deducted from the authenticated users
  rate limit.
  Ed: There are plans to allow more customisation than currently exists
  on twitter.com. With the new design many users may want to update
  their images to work with the new padding and width though. The space
  in the lower right is empty at the moment, but like twitter before,
  new features/enhancements may occupy or use it. Analytics wise there
  are no plans to do something like this - if it was a project what kind
  of things would you find useful?
  Dewald: The default format ofhttp://twitter.com/themattharrisis not
  being phased out. We just wanted to let you know the new format (with
  /#!) is expected, and is something apps may find users giving them.
  You don't need to update the links in your application unless you wish
  to.
  Brian: We intend to have entities support in results from the Search
  API. At the moment they are not yet supported there.
  Damon: the retweet and retweet_count fields are currently disabled.
  Some issues were identified soon after they were released which we are
  working through.
 
  Best,
  @themattharris
 
 
 
  On Thu, Sep 23, 2010 at 9:55 AM, Damon Clinkscales sca...@pobox.com
 wrote:
   Brian,
 
   Thanks for the info.
 
   retweet_count
   The status object now includes a retweet_count field. When enabled
   this field will indicate the number of times a Tweet has been
   retweeted using the Twitter retweet function.
 
   What does when enabled mean?
 
   I have a couple of tweets for which I am trying to find out the
   absolute count of retweets.  All I know is that the Twitter UI says
   100+ retweets.
 
   But when I pull the status objects, retweet_count is blank.  These
   tweets are from 2 days ago.
 
   Can someone point me to the best way to find out?
 
   Thanks!
   /damon
 
   --
   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 developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Re: #newtwitter and the API

2010-12-15 Thread Yusuke Yamamoto
Got it.

Thanks!
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/

On Dec 15, 2010, at 23:57 , Taylor Singletary wrote:

 Hi Yusuke,
 
 We'll probably graduate the majority of these APIs to the official 
 documentation next month. A number of them are still in active iteration.
 
 Thanks,
 Taylor
 
 On Tue, Dec 14, 2010 at 10:15 PM, Yusuke yus...@mac.com wrote:
 Hi,
 
 Is there any plan to make these new API methods available in the
 official document?
 
 Thanks,
 Yusuke
 
 On Sep 24, 2:52 am, Matt Harris thematthar...@twitter.com wrote:
  Thanks for all the questions and feedback everyone. Hopefully my
  comments below will answer your questions.
 
  Robert/Tom: The API limit for #newtwitter applies the same as other
  applications so the requests are deducted from the authenticated users
  rate limit.
  Ed: There are plans to allow more customisation than currently exists
  on twitter.com. With the new design many users may want to update
  their images to work with the new padding and width though. The space
  in the lower right is empty at the moment, but like twitter before,
  new features/enhancements may occupy or use it. Analytics wise there
  are no plans to do something like this - if it was a project what kind
  of things would you find useful?
  Dewald: The default format ofhttp://twitter.com/themattharrisis not
  being phased out. We just wanted to let you know the new format (with
  /#!) is expected, and is something apps may find users giving them.
  You don't need to update the links in your application unless you wish
  to.
  Brian: We intend to have entities support in results from the Search
  API. At the moment they are not yet supported there.
  Damon: the retweet and retweet_count fields are currently disabled.
  Some issues were identified soon after they were released which we are
  working through.
 
  Best,
  @themattharris
 
 
 
  On Thu, Sep 23, 2010 at 9:55 AM, Damon Clinkscales sca...@pobox.com wrote:
   Brian,
 
   Thanks for the info.
 
   retweet_count
   The status object now includes a retweet_count field. When enabled
   this field will indicate the number of times a Tweet has been
   retweeted using the Twitter retweet function.
 
   What does when enabled mean?
 
   I have a couple of tweets for which I am trying to find out the
   absolute count of retweets.  All I know is that the Twitter UI says
   100+ retweets.
 
   But when I pull the status objects, retweet_count is blank.  These
   tweets are from 2 days ago.
 
   Can someone point me to the best way to find out?
 
   Thanks!
   /damon
 
   --
   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 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] Re: How're Special Characters Treated in the Search API?

2010-12-15 Thread Brian Medendorp
I'm not sure what are considered special characters either, but from
what I can tell this particular case seems to be a combination of
factors. For some reason, by using the +OR+ it seems to be matching
anything that has a period character in it. However, if you do the
queries separately, they seem to work (albeit the second one doesn't
return any data).

http://search.twitter.com/search.atom?q=Battle+for+Bean+Streetpage=1rpp=11
http://search.twitter.com/search.atom?q=Battle+for+Bean+St.page=1rpp=11

I don't know if doing separate queries will work for you, but maybe
that's another option.

On Dec 14, 2:52 pm, Howard h0w4...@gmail.com wrote:
 Hi Everyone,

 The following query, which includes a period, returns nonsensical
 results:http://search.twitter.com/search.atom?q=%22Battle+for+Bean+Street%22+...

 Removing the period fixes it. I've looked 
 athttp://apiwiki.twitter.com/w/page/22554756/Twitter-Search-API-Method:...
 and can't find anything about how special characters are treated.

 Which characters are considered special and what're the rules
 regarding them?

 Thanks all!

-- 
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-15 Thread Yusuke Yamamoto
Just FYI, John Corwin should be also aware of this issue.
He gave me a pull request which workarounds it.
https://github.com/yusuke/twitter4j/pull/10

Thanks,
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/

On Dec 15, 2010, at 10:10 , Taylor Singletary 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 the same issue pops up
 there.  Will report any findings...
 
 Thanks,
 Dan
 
 On Tue, Dec 14, 2010 at 6:19 PM, Taylor Singletary
 taylorsinglet...@twitter.com wrote:
 
 Hi Dan,
 
 Do you continue to see events like this happening? Can you provide a
 recent example in as-provided JSON or XML?
 
 Thanks,
 Taylor
 
 On Tue, Dec 14, 2010 at 2:13 PM, Dan Checkoway dchecko...@gmail.com
 wrote:
 Anybody else seeing user.listed_count occasionally coming back as
 4294967295?  That value just happens to equate to:  1 + (2 *
 Integer.MAX_VALUE)  Sure looks like an unsigned version of -1 to me...
 
 Anyway, it's breaking twitter4j.TwitterStream stuff.  I've mentioned
 that
 separately on the twitter4j list, but I wanted to raise the issue here
 since
 the root cause is twitter sending the weird value.
 
 Thanks,
 Dan
 
 --
 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 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
 
 -- 
 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] Re: Search API cURL strangeness

2010-12-15 Thread Brian Medendorp
So it must be based on the IP Address and the UserAgent...

I have changed the UserAgent, so it works now, but I don't
particularly like this solution. It would be nice to know what
happened, and what caused it, so I can try to prevent it from
happening in the future.

On Dec 14, 11:24 am, Tom van der Woerdt i...@tvdw.eu wrote:
 Tested it myself with :
 tom-mbp:~ tom$ curl --user-agent PivotalVeracity/0.4
 http://search.twitter.com/search.json?q=batteryoperatedcandles.netrp...;

 Result :
 {results:[],max_id:14696108638863361,since_id:9431322892177408,refresh_url:?since_id=14696108638863361q=batteryoperatedcandles.net,results_per_page:100,page:1,completed_in:0.006856,since_id_str:9431322892177408,max_id_str:14696108638863361,query:batteryoperatedcandles.net}

 Seems to work fine... Getting exactly the same results when using the
 default User Agent.

 Tom

 On 12/14/10 5:15 PM, Brian Medendorp wrote:

  UserAgent is 'PivotalVeracity/0.4'

  Here's the test script that helped me track down the problem:

  [code]
  ?php

  $timeout = 30;
  $useragent = 'PivotalVeracity/0.4';
  #$useragent = 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
  1.9.2.13) Gecko/20101203 Firefox/3.6.13';

  $url = 'http://search.twitter.com/search.json?
  q=batteryoperatedcandles.netrpp=100since_id=9431322892177408since=until=';
  #$url = 'http://search.twitter.com/search.json?
  q=carnationbreakfastessentials.comrpp=100since_id=since=2010-12-14until=';
  #$url = 'http://search.twitter.com/search.json?
  q=apple.comrpp=100since_id=since=2010-12-14until=';

  $ch = curl_init($url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
  curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
  $content = curl_exec($ch);
  if(curl_errno($ch))
  {
     print curl error: .curl_error($ch).\n;
     print_r(curl_getinfo($ch));
  }
  print_r($content);
  [/code]

  On Dec 14, 11:03 am, Tom van der Woerdti...@tvdw.eu  wrote:
  And your UserAgent is?

  Tom

  On 12/14/10 5:02 PM, Brian Medendorp wrote:

  I'm building an application that uses the search API to check for data
  related to particular domains, and suddenly (within the last week or
  so), I have started to experience a strange problem. Some of my
  requests are coming back with a cURL error Empty reply from server,
  but only when I am searching for a specific set of domains (all of the
  other domains work fine).

  I wrote a small test script to try and track down the problem, and it
  seems that the UserAgent I am setting with cURL seems to be causing
  the problem (or part of the problem). If I change the UserAgent to
  anything else, I get a normal response.

  I remember reading in the documentation that Twitter expects a unique
  UserAgent for the application, so that's what I did, but that seems to
  be causing problems. This seems like it's likely some sort of
  blacklist problem, but I can't figure out why it would work in this
  manner (only blocking a small subset of my queries, and not IP-based).

  Here are some sample queries I am trying to cURL:

 http://search.twitter.com/search.json?q=batteryoperatedcandles.netrp...
 http://search.twitter.com/search.json?q=carnationbreakfastessentials
 http://search.twitter.com/search.json?q=apple.comrpp=100since_id=s...

  The first two don't work unless I change my UserAgent to something
  else, but the last one works no matter what.

-- 
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] Incorrect signature while getting user time line

2010-12-15 Thread Tom van der Woerdt

Hi George,

There have been some changes to Twitter's API and while not all of them 
have been activated yet, some of them may apply to you.


Incorrect signature usually means that your signature is bad. This can 
mean a lot of things, but if only your user_timeline part is broken, you 
can start by looking at these :
 * Make sure that the URL in the Base String does not contain the query 
part of an URL (= anything after (and including) the ? part of the URL)

  - Good: https://api.twitter.com/1/statuses/user_timeline.json
  - Bad: https://api.twitter.com/1/statuses/user_timeline.json?count=200
  Of course, this only applies to the Base String. Making a GET request 
is still fine.

 * Make sure that you specify the correct method in the Base String.
  - If you are making a GET request, put GET in the Base String.
 * Make sure that you properly URL-encode all values in the Base String
  - Good: Hello%20Twitter
  - Bad: Hello+Twitter
  - (This does not really apply to user_timeline)

If you checked the above and the issue is still there, please show us a 
sample Base String and a dump of the request you make to the Twitter API.


Tom



On 12/15/10 6:06 PM, Georgooty varghese wrote:

Dear Twitter,

I have been created a twitter application. I got xauth token for my
application. I have implemented twitter functionalities like home
tweets, user info, follower details, following details, user time line.
These functionalities working smoothly. Also get each user time line . But
Todat, usser time url is not working right now. I got incorrect
signature exception..

Though usertime line qury is not working yesterday. I have no change any
line code.
If any change need to my coding?



Anybody please help me..

I am waiting for your reply.

Regards,
George

--
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] Re: api@twitter not responding?

2010-12-15 Thread Brian Sutorius
Hi Shachar,
Sorry for the delay. I've located your ticket and will follow up with
you shortly.

Brian

On Dec 13, 10:53 pm, Shachar shach...@gmail.com wrote:
 Hi,

 I'm a web app developer and I'm looking to get my track access level
 raised beyond the default of 400 keywords.
 I've tried to contact a...@twitter.com for over a week now, and I'm
 getting zero response from them.

 On their support pages, Twitter state that they answer their email
 within 72 hours... I'm looking for advice on how to get in touch with
 Twitter dev support.

 Best,
 Shachar

-- 
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: xAuth Approval

2010-12-15 Thread Iman Zarrabian
cool thanks ;)
I just wrote you back with all the details

Iman

On 15 déc, 19:51, Brian Sutorius bsutor...@twitter.com wrote:
 We attempt to respond to these requests within a couple business days.
 I just located your ticket and will follow up now.

 Brian Sutorius

 On Dec 15, 4:53 am, Iman Zarrabian iman.zarrab...@gmail.com wrote:



  Hi all, I'm new to the whole OAuth/xAuth thing 
  I'd like t know how long it's gonna take to twitter api team to
  authorize a xAuth use request ? any feedback on that ? I guess you got
  this question 100 times a day, no ? sorry ;)

  thx 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


[twitter-dev] Twitter Oauth and Coldfusion

2010-12-15 Thread Steven Neiland
Can anybody see why the following authorization header would return a
401 when trying to get a request token?

OAuth oauth_signature=UlAaUlR5A5uJfCcz%2FUVJl53aRy4%3D,
oauth_timestamp=1292450596, oauth_signature_method=HMAC-SHA1,
oauth_version=1.0, oauth_consumer_key=w50vPfRyCVgzBxtdAsoxwg,
oauth_nonce=OAUTH389651810F52376E300436587FC78694

I have tried testing using the netflix oauth tester and that also
fails with a 401

-- 
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] retweeted_by does not work if one of the retweeters is protected

2010-12-15 Thread Craig
When I request a URL like:
http://api.twitter.com/1/statuses/15152144575373312/retweeted_by.xml
(status 15152144575373312 has been retweeted 3 times at time or
writing, once by a protected user), an HTML page of Something is
technically wrong.
 is returned, which means I cannot find out who retweeted a certain
tweet.  Usually, the user details are returned.

Is this a known issue, is there anything I can do?

I'm just 15 and working on my first twitter app for iPhone.  I know
the iPhone SDK fine, I'm just not too sure about the twitter API.

-- 
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] Twitter Oauth and Coldfusion

2010-12-15 Thread Tom van der Woerdt

@Taylor:
This isn't the API itself, this is OAuth. request_token is definitely 
two-legged


@Steven:
Your header looks fine, the values are properly URL encoded and the time 
appears to be valid. To help you debug this issue, we need to know the 
Base String you are testing with, the request you are making (URL, query 
parameters and post body) and the error code (401 Unauthorized isn't the 
only 401 code).


Tom


On 12/15/10 11:23 PM, Taylor Singletary wrote:

Hi Steven,

I don't see an oauth_token in this header -- all
authentication-requiring OAuth-based requests with the Twitter API are
3-legged and require an oauth_token to represent the user.

Taylor

On Wed, Dec 15, 2010 at 2:11 PM, Steven Neiland
steven.sterlingmarket...@gmail.com
mailto:steven.sterlingmarket...@gmail.com wrote:

Can anybody see why the following authorization header would return a
401 when trying to get a request token?

OAuth oauth_signature=UlAaUlR5A5uJfCcz%2FUVJl53aRy4%3D,
oauth_timestamp=1292450596, oauth_signature_method=HMAC-SHA1,
oauth_version=1.0, oauth_consumer_key=w50vPfRyCVgzBxtdAsoxwg,
oauth_nonce=OAUTH389651810F52376E300436587FC78694

I have tried testing using the netflix oauth tester and that also
fails with a 401

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

x

--
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] getUserTimeline failing error 401 - getFriendsTimeline and getHomeTimeline still work

2010-12-15 Thread Joey
Hi,

My twitter app, that has been working up until the last couple of
days, stopped being able to retrieve the user timeline. I can hit many
other pieces of the api, with Oauth authentication, and everything
there works fine. It is only failing on the getting of the user
timeline.

Anyone having the same problems? Looks like there are some trending
google searches for it the last couple of days.

Thanks in advance,
Joey

-- 
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] getUserTimeline failing error 401 - getFriendsTimeline and getHomeTimeline still work

2010-12-15 Thread Taylor Singletary
Can you share the exact URL you are hitting when this fails? Can you provide
an example of how you are presenting your authentication (all of the request
headers of your request would be helpful) -- in addition, it would be
helpful if you could provide an OAuth signature basestring, and the HTTP
headers sent to you in the response.

Thanks,
Taylor

On Wed, Dec 15, 2010 at 3:18 PM, Joey joeybl...@gmail.com wrote:

 Hi,

 My twitter app, that has been working up until the last couple of
 days, stopped being able to retrieve the user timeline. I can hit many
 other pieces of the api, with Oauth authentication, and everything
 there works fine. It is only failing on the getting of the user
 timeline.

 Anyone having the same problems? Looks like there are some trending
 google searches for it the last couple of days.

 Thanks in advance,
 Joey

 --
 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] statuses/friends json incomplete data

2010-12-15 Thread Tonatiuh Martinez
Hi,

I'm making a request for a list of people I follow, but the data of
some of them is incomplete when I ask for it in json. for example, for
screen_name Rax_vGs, with json I get this:

{follow_request_sent:false,
contributors_enabled:false,
description:,
show_all_inline_media:false,
geo_enabled:false,
favourites_count:4,
profile_link_color:050505,
profile_sidebar_border_color:0f0f0e,
profile_image_url:http:\/\/a2.twimg.com\/profile_images\/
1148600046\/RASHEL_normal.jpg,
id_str:116634142,
listed_count:68,
notifications:false,
profile_use_background_image:true,
followers_count:3866,
location:Miami,
screen_name:Rax_vGs,
profile_background_color:0a0a09,
lang:es,
statuses_count:351,
profile_background_image_url:http:\/\/s.twimg.com\/a\/1291760612\/
images\/themes\/theme19\/bg.gif,
url:null,
friends_count:13,
protected:false,
is_translator:false,
profile_text_color:ede6ed,
name:\u0631\u0627\u0634\u064a\u0644,
following:false,
profile_sidebar_fill_color:080807,
id:116634142,
verified:false,
profile_background_tile:true,
time_zone:Mountain Time (US  Canada),
utc_offset:-25200,
created_at:Tue Feb 23 04:08:46 + 2010}

As you can see, there is no status on it, and if I go to that user's
timeline it has statuses, and recent ones.
On the other side, if I ask the same info but with xml, I get this:

user
id116634142/id
nameراشيل/name
screen_nameRax_vGs/screen_name
locationMiami/location
description/
−
profile_image_url
http://a2.twimg.com/profile_images/1148600046/RASHEL_normal.jpg
/profile_image_url
url/
protectedfalse/protected
followers_count3866/followers_count
profile_background_color0a0a09/profile_background_color
profile_text_colorede6ed/profile_text_color
profile_link_color050505/profile_link_color
profile_sidebar_fill_color080807/profile_sidebar_fill_color
profile_sidebar_border_color0f0f0e/profile_sidebar_border_color
friends_count13/friends_count
created_atTue Feb 23 04:08:46 + 2010/created_at
favourites_count4/favourites_count
utc_offset-25200/utc_offset
time_zoneMountain Time (US  Canada)/time_zone
−
profile_background_image_url
http://s.twimg.com/a/1291760612/images/themes/theme19/bg.gif
/profile_background_image_url
profile_background_tiletrue/profile_background_tile
profile_use_background_imagetrue/profile_use_background_image
notificationsfalse/notifications
geo_enabledfalse/geo_enabled
verifiedfalse/verified
followingfalse/following
statuses_count351/statuses_count
langes/lang
contributors_enabledfalse/contributors_enabled
follow_request_sentfalse/follow_request_sent
listed_count68/listed_count
show_all_inline_mediafalse/show_all_inline_media
is_translatorfalse/is_translator
−
status
created_atThu Dec 09 06:27:47 + 2010/created_at
id12755269830316032/id
−
text
RT @VH1_Chik El erotismo monta mecanismos que sustituyen el amor por
un álgebra de sexos de combinaciones muy conocidas.
/text
sourceweb/source
truncatedfalse/truncated
favoritedfalse/favorited
in_reply_to_status_id12753647519666176/in_reply_to_status_id
in_reply_to_user_id65537737/in_reply_to_user_id
in_reply_to_screen_nameRax_vGi/in_reply_to_screen_name
retweet_count0/retweet_count
retweetedfalse/retweeted
geo/
coordinates/
place/
contributors/
/status
/user

As you can see the whole status data is missing from the json response
while it is complete on the xml response. And I'm using a json api to
retrieve all info for another app. How can I correct this, or why is
it happening? Thanks in advance for an answer or for telling me where
to find it.

-- 
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: Different crossdomains for a0.twimg.com a2.twimg.com, a3 etc

2010-12-15 Thread WildFoxMedia
Im currently seeing the same issue, however, in completely reverse.

As of this moment, a0  a1 are not allowing other domains and a2  a3
are allowing all domains.

The other day, all 4 were not allowing other domains.

Is there any reason or rhyme for this and more importantly, what is
the expectation? Are we supposed to be able to make calls from Flash
for profile images or not?

On Nov 28, 3:57 pm, stephen sno...@bcm.com.au wrote:
 Hey,

 It appears the crossdomains for a2, a3, etc are different and are
 preventing flash from accessing profile images on these domains.  a0
 and a1 are fine, however the api returns profile image urls using all
 of these domains (a0 - a?).

 Are the crossdomains suppose to be all the same or are we suppose to
 target only the first two?  From the few that I've tested, it seems
 all profile images are accessible through the a0 or a1 domains despite
 what the api returns.

 Crossdomains

 http://a0.twimg.com/crossdomain.xmlhttp://a1.twimg.com/crossdomain.xmlhttp://a2.twimg.com/crossdomain.xmlhttp://a3.twimg.com/crossdomain.xml

 Stephen

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


Re: [twitter-dev] Re: Different crossdomains for a0.twimg.com a2.twimg.com, a3 etc

2010-12-15 Thread John Adams
a0 through a4 should offer identical crossdomain.xml files.
They are all going through a CDN, so it might be the case that the CDN
endpoint you are hitting has a stale file.

I just checked all of the CDN endpoints from here and they are returning the
same data. Try again?

-john


On Wed, Dec 15, 2010 at 5:20 PM, WildFoxMedia wildfoxme...@gmail.comwrote:

 Im currently seeing the same issue, however, in completely reverse.

 As of this moment, a0  a1 are not allowing other domains and a2  a3
 are allowing all domains.

 The other day, all 4 were not allowing other domains.

 Is there any reason or rhyme for this and more importantly, what is
 the expectation? Are we supposed to be able to make calls from Flash
 for profile images or not?

 On Nov 28, 3:57 pm, stephen sno...@bcm.com.au wrote:
  Hey,
 
  It appears the crossdomains for a2, a3, etc are different and are
  preventing flash from accessing profile images on these domains.  a0
  and a1 are fine, however the api returns profile image urls using all
  of these domains (a0 - a?).
 
  Are the crossdomains suppose to be all the same or are we suppose to
  target only the first two?  From the few that I've tested, it seems
  all profile images are accessible through the a0 or a1 domains despite
  what the api returns.
 
  Crossdomains
 
 
 http://a0.twimg.com/crossdomain.xmlhttp://a1.twimg.com/crossdomain.xmlhttp://a2.twimg.com/crossdomain.xmlhttp://a3.twimg.com/crossdomain.xml
 
  Stephen

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


Re: [twitter-dev] Incorrect signature while getting user time line

2010-12-15 Thread Georgooty varghese
Thanks twitter for your quick reply.

I have make only one modification into my code. Other code changes do only
when I get your reply.
I have changed url for user time line http to https.

Here I have copied my user time line base url and signature and base string.
Please suggest to me a correct way for this.

*Base 
URL*:oauth_consumer_key=*oauth_nonce=EF2k_xwovJInFfqoauth_signature_method=HMAC-SHA1oauth_timestamp=1292480095oauth_token=*oauth_version=1.0page=1screen_name=Sanoop_SP


* 
Signature*:FcKenujneOtQklp6HZYDkRc7BYzelW9Fsadj324REpV1owATZgqcsx3R6FaM0qGilyBRkkP95zwNVosGoSnc


 *Base 
string*:GEThttps%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fuser_timeline.jsonoauth_consumer_key%%26oauth_nonce%3DEF2k_xwovJInFfq%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1292480095%26oauth_token%**%26oauth_version%3D1.0%26page%3D1%26screen_name%3DSanoop_SP



What mistake I have made in this.

Please reply.

I am waiting for your reply.

Regards,
George



On Wed, Dec 15, 2010 at 11:21 PM, Tom van der Woerdt i...@tvdw.eu wrote:

 Hi George,

 There have been some changes to Twitter's API and while not all of them
 have been activated yet, some of them may apply to you.

 Incorrect signature usually means that your signature is bad. This can
 mean a lot of things, but if only your user_timeline part is broken, you can
 start by looking at these :
  * Make sure that the URL in the Base String does not contain the query
 part of an URL (= anything after (and including) the ? part of the URL)
  - Good: https://api.twitter.com/1/statuses/user_timeline.json
  - Bad: https://api.twitter.com/1/statuses/user_timeline.json?count=200
  Of course, this only applies to the Base String. Making a GET request is
 still fine.
  * Make sure that you specify the correct method in the Base String.
  - If you are making a GET request, put GET in the Base String.
  * Make sure that you properly URL-encode all values in the Base String
  - Good: Hello%20Twitter
  - Bad: Hello+Twitter
  - (This does not really apply to user_timeline)

 If you checked the above and the issue is still there, please show us a
 sample Base String and a dump of the request you make to the Twitter API.

 Tom




 On 12/15/10 6:06 PM, Georgooty varghese wrote:

 Dear Twitter,

 I have been created a twitter application. I got xauth token for my
 application. I have implemented twitter functionalities like home
 tweets, user info, follower details, following details, user time line.
 These functionalities working smoothly. Also get each user time line . But
 Todat, usser time url is not working right now. I got incorrect
 signature exception..

 Though usertime line qury is not working yesterday. I have no change any
 line code.
 If any change need to my coding?



 Anybody please help me..

 I am waiting for your reply.

 Regards,
 George

 --
 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 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] Mulitple Trending Topic Spam

2010-12-15 Thread M. Edward (Ed) Borasky
How difficult would it be to modify the Search response to a search for a
Trending Topic so it returned tweets that only matched the searched-for
topic? In other words, if a tweet matches more than one Trending Topic,
don't show it in the search.

-- 
http://twitter.com/znmeb http://borasky-research.net

A mathematician is a device for turning coffee into theorems. -- Paul
Erdő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