Re: [twitter-dev] Can I tell how many tweets have been made by users of my app?

2010-10-07 Thread pradeep senanayake
hi All,

Can any one give me sample code which can be used to do twits in mobile J2ME
application,

Thanks in advance.
Pradeep.

On Thu, Oct 7, 2010 at 6:15 AM, jnardone tapt...@gmail.com wrote:

 Hi:

 Is there a way to tell how may tweets have been sent by my app?  It
 uses Oath so people's tweets say from xxx app

 Also, is there a way to track the number of users who have made a
 tweet through my app?

 Thanks,
 Joseph

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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] Related Tweets and HTTP 406 error

2010-10-07 Thread Rich
Hi

I'm trying to implement the related tweets feature, and the screen
name I'm testing from does have access to #newtwitter as described in
the pinned post at the top.

The URL I'm trying is
http://api.twitter.com/1/related_results/show/26630532248.xml?include_rts=truecount=20include_entities=true
but whenever I call it I get an HTTP 406 error back.

Can anyone shed some light on what might be causing it?

Richard

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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 - sometimes success response, sometimes Error-response

2010-10-07 Thread andy
The credentials are the same. It will only generate a new nonce and
timestamp.



On 5 Okt., 19:05, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 It's likely not the nonce that is invalid in this case -- or the timestamp.

 In this case, the error specifically is indicating that it couldn't validate
 the request.

 Does the alternate 401 vs success happen with the exact same credentials, or
 are you using different credentials?

 Taylor

 On Mon, Oct 4, 2010 at 11:41 PM, andy andreas-wilkeme...@andreazw.dewrote:

  Hello,

  I´m using xAuth in an ActionScript 3.0 Project.
  I still have problems that I sometimes get a successful response, and
  a couple of times a faulty response.
  If I get a bad response, then I have the HTTP status code 401 with
  following error message:
  Failed to validate oauth signature and token

  The values that are different are the oAuth_nonce and oAuth_timestamp.
  The oAuth_nonce is determined by a random number. This is determined
  by the uuid of the current date. Subcontent special characters such
  as: - removed. Such uuid should be unique. I wonder why I for similar
  calculations of the nonce, etc. sometimes successful and sometimes get
  a bad response!

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements 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: xAuth - sometimes success response, sometimes Error-response

2010-10-07 Thread andy
The credentials are the same. It will only generate a new nonce and
timestamp.



On 5 Okt., 19:05, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 It's likely not the nonce that is invalid in this case -- or the timestamp.

 In this case, the error specifically is indicating that it couldn't validate
 the request.

 Does the alternate 401 vs success happen with the exact same credentials, or
 are you using different credentials?

 Taylor

 On Mon, Oct 4, 2010 at 11:41 PM, andy andreas-wilkeme...@andreazw.dewrote:

  Hello,

  I´m using xAuth in an ActionScript 3.0 Project.
  I still have problems that I sometimes get a successful response, and
  a couple of times a faulty response.
  If I get a bad response, then I have the HTTP status code 401 with
  following error message:
  Failed to validate oauth signature and token

  The values that are different are the oAuth_nonce and oAuth_timestamp.
  The oAuth_nonce is determined by a random number. This is determined
  by the uuid of the current date. Subcontent special characters such
  as: - removed. Such uuid should be unique. I wonder why I for similar
  calculations of the nonce, etc. sometimes successful and sometimes get
  a bad response!

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements 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] custom twitter button

2010-10-07 Thread S. M. Ibrahim (Lavlu)
hi,

for one of our site, we need custom twitter button to share. we can
implement the twitter button with help of custom js and twitter share
link. but how can we display the count ?


-- 
S. M. Ibrahim Lavlu
software engineer, php
somewhere in...
http://www.somewherein.net

bangla blog: http://www.somewhereinblog.net
my blog: http://www.lavluda.com
mac blog: htttp://www.mac-talks.com
my book: http://www.lavluda.com/2009/07/08/my-book-on-cacti/

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] Rate limiting Retry-After in Flash

2010-10-07 Thread Philip Bulley
It's not possible to access HTTP Response Headers in web-based
Flash :'(

Therefore web-based Flash applications have no chance of honouring the
seconds in the Retry-After header when rate limited using the Search
API (http://search.twitter.com/search.atom?q=foo).

Would it be possible for twitter to modify the output XML to include
this value?

The current output is not very useful at all:

?xml version=1.0 encoding=UTF-8?
hash
  errorYou have been rate limited. Enhance your calm./error
/hash

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] The remote server returned an error: (401) Unauthorized. + asp.net

2010-10-07 Thread Mansi
I have to post text on Twitter through my web site.
For that I've created one application on Twitter. And have done all
the related changes in site source code.

I am using .net Framework 2.0.

But having issue while redirecting to Twitter
(oAuth.AuthorizationLinkGet()).
It throws bug The remote server returned an error: (401) Unauthorized
in below code. (oAuthTwitter.cs file)
  public string WebResponseGet(HttpWebRequest webRequest)
{
StreamReader responseReader = null;
string responseData = ;

try
{
responseReader = new
StreamReader(webRequest.GetResponse().GetResponseStream()); //HERE IT
THROWS EXCEPTION.
responseData = responseReader.ReadToEnd();
}
catch
{
throw;
}
finally
{
webRequest.GetResponse().GetResponseStream().Close();
responseReader.Close();
responseReader = null;
}

return responseData;
}



What causes this bug? And what is the solution?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] Related Tweets and HTTP 406 error

2010-10-07 Thread Taylor Singletary
I'm not familiar with that error yet, but will look into it.

Related results, and a number of the other new APIs, are still relatively
unstable. They will be unavailable at times, and are not necessarily
prepared for widespread use yet. Early adopters will have to tolerate a
certain amount of mystery from them.

Taylor

On Thu, Oct 7, 2010 at 2:06 AM, Rich rhyl...@gmail.com wrote:

 Hi

 I'm trying to implement the related tweets feature, and the screen
 name I'm testing from does have access to #newtwitter as described in
 the pinned post at the top.

 The URL I'm trying is

 http://api.twitter.com/1/related_results/show/26630532248.xml?include_rts=truecount=20include_entities=true
 but whenever I call it I get an HTTP 406 error back.

 Can anyone shed some light on what might be causing it?

 Richard

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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] Can I tell how many tweets have been made by users of my app?

2010-10-07 Thread Taylor Singletary
There's no way to track how many tweets your application has sent currently,
save for tracking it yourself. The Search API does provide some facilities
for searching by application source, but does not contain all tweets in the
system. Also, tweets created by an application is not necessarily the
best/only signal of its usage.

Taylor

On Thu, Oct 7, 2010 at 12:07 AM, pradeep senanayake beta034...@gmail.comwrote:

 hi All,

 Can any one give me sample code which can be used to do twits in mobile
 J2ME application,

 Thanks in advance.
 Pradeep.


 On Thu, Oct 7, 2010 at 6:15 AM, jnardone tapt...@gmail.com wrote:

 Hi:

 Is there a way to tell how may tweets have been sent by my app?  It
 uses Oath so people's tweets say from xxx app

 Also, is there a way to track the number of users who have made a
 tweet through my app?

 Thanks,
 Joseph

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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: Miscellaneous #newtwitter glitches

2010-10-07 Thread M. Edward (Ed) Borasky

Quoting M. Edward (Ed) Borasky zn...@borasky-research.net:


2. There's some kind of Javascript / CSS issue with the left panel in
Chrome / Chromium 7. Everything is cool in Firefox 3.6, and I haven't
tried older versions of Chrome. I'm not quite sure how to reproduce
this reliably yet, but sometimes, when I'm following a trail into the
right panel, when I have the mouse in the right panel, the left panel
goes completely black. If I move the mouse back into the left panel, it
comes back, but slowly - like it's running some kind of intensive
Javascript to repaint or making a bunch of API calls to refill a
buffer. I'm a total Javascript / CSS / DOM ignoramus, so if someone has
some clues as to how I can diagnose this in the Chrome / Chromium
debugger, let me know.

3. A related phenomenon - I went to @scobleizer and opened up a tweet.
When I moused back into the *left* panel, the left one went blank,
exposing the background! But when I mouse back into the right panel,
the left one came back rapidly. Again, this is on Chrome / Chromium.


I have quite a bit more on these. First of all, it is one issue, not  
two. They symptom is


   a. View a timeline in the left panel - this appears to be any timeline.
   b. Click on the arrow to open a tweet in the right panel. *If* the  
tweet is tagged with a location, the timeline in the left panel  
disappears and you see only the background. When I do it on my  
timeline, I see black - actually a semi-transparent dark grey. On  
@scobleizer, the background is different. The key is that both of us  
have location turned on - it's something tied to the display of the  
little map for the tweet in the right panel.
   c. Move the mouse into the right panel - the timeline display  
comes back! Move the mouse back into the left panel and the timeline  
disappears, leaving you with the background. But wait! There's more!
   d. There's a scrollbar on the right of the browser. This is the  
*browser* scrollbar, not the scrollbar in the right panel. When I  
pull the browser scrollbar down, the little map tied to the tweet  
stays where it is and the whole page moves up underneath it! If I pull  
the scrollbar down far enough, I see the background and the little map  
and a few other things only - everything else on the page disappeared  
to the top.


Again, this is only on Chrome or Chromium 7.0, developer builds - it  
works fine on Firefox. So I'm willing to call it a Chrome problem - I  
can post this on the Chrome help forum if you'd like. ;-)


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

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


--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] GET Querystring for status update not working on new Twitter

2010-10-07 Thread woodsytime
I need to update my status through an external link using the GET
method.

For example...the linked I would like to pass into the browser URL
querystring is...

http://twitter.com/home?status=ASOS%20embellished%20dress%20http://www.asos.com/pgehtml.aspx?cid%3D8745affId%3D2833

This has been working, however, I'm using the updated version of
Twitter as of today, and this way of updating my status is not working
now?

It seems to stop at the '=' sign (escape character %3D) in the 'cid
%3D8745' part of the querystring towards the end.

Any suggestions?

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


Re: [twitter-dev] GET Querystring for status update not working on new Twitter

2010-10-07 Thread Taylor Singletary
Hi there woodsytime,

I'd recommend using a Tweet Button for this kind of integration instead --
your approach is kind of the most low rent approach you can take for this,
and is less and less supported -- really, it's a hack.

The URL you're presenting in your status update has an unencoded question
mark.

But even if you properly encoded it, it doesn't look like this kind of URL
is passable in this way. Bug on our end? Maybe.

What's the context that users would share this URL? Have you considered the
Tweet Button?

I noticed that even with all of those query parameters, the page you're
posting still redirects to the site's home page. What value do the links
have to Twitter users who post, read, or click?

Taylor

On Thu, Oct 7, 2010 at 8:59 AM, woodsytime kr.wood...@gmail.com wrote:

 I need to update my status through an external link using the GET
 method.

 For example...the linked I would like to pass into the browser URL
 querystring is...


 http://twitter.com/home?status=ASOS%20embellished%20dress%20http://www.asos.com/pgehtml.aspx?cid%3D8745affId%3D2833

 This has been working, however, I'm using the updated version of
 Twitter as of today, and this way of updating my status is not working
 now?

 It seems to stop at the '=' sign (escape character %3D) in the 'cid
 %3D8745' part of the querystring towards the end.

 Any suggestions?

 Thanks

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


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] Is authentication required to use Streaming API?

2010-10-07 Thread D. Smith
Hello! I want to start using streaming API to monitor all tweets with
certain keywords in them. Do I need to provide any authentication in
order to connect?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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 authentication required to use Streaming API?

2010-10-07 Thread Matthew Terenzio
Yes, for the streaming api,

http://dev.twitter.com/pages/streaming_api

but it sounds like you may want the search api which doesn't require
authentication:

http://dev.twitter.com/doc/get/search


On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote:

 Hello! I want to start using streaming API to monitor all tweets with
 certain keywords in them. Do I need to provide any authentication in
 order to connect?

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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 authentication required to use Streaming API?

2010-10-07 Thread Tom van der Woerdt
Yes, you do.

http://stream.twitter.com/statuses/sample.json -- click it, it will ask
for authentication and when you click Cancel, it will give you an error
page.

Tom


On 10/7/10 6:49 PM, D. Smith wrote:
 Hello! I want to start using streaming API to monitor all tweets with
 certain keywords in them. Do I need to provide any authentication in
 order to connect?
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] Invalid / expired Token

2010-10-07 Thread Don Neumann
I'm trying to use the latest twitter-async libraries and can't get
this to work at all. I've registered an application and have the
consumer key and consumer secret and am using some simple code:

include 'epitwitter/EpiOAuth.php';
include 'epitwitter/EpiCurl.php';
include 'epitwitter/EpiTwitter.php';

$twit = new EpiTwitter($consumer_key, $consumer_secret);
$resp = $twit-post_statusesUpdate(array('status' = 'foo'));

And I get this:
PHP Fatal error:  Uncaught exception
'EpiTwitterNotAuthorizedException' with message '{request:/1/
statuses/update.json,error:Invalid / expired Token}' in []:
255

I was using an oauth token and secret which twitter gave me before but
that is unusable now..

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


[twitter-dev] Re: Is authentication required to use Streaming API?

2010-10-07 Thread D. Smith
OK, but when I entered my login/password, is says page unavailable. Is
it supposed to do that?


On Oct 7, 12:56 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 Yes, you do.

 http://stream.twitter.com/statuses/sample.json-- click it, it will ask
 for authentication and when you click Cancel, it will give you an error
 page.

 Tom

 On 10/7/10 6:49 PM, D. Smith wrote:



  Hello! I want to start using streaming API to monitor all tweets with
  certain keywords in them. Do I need to provide any authentication in
  order to connect?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: Is authentication required to use Streaming API?

2010-10-07 Thread D. Smith
I'm confused now. Which API should I use Streaming or Search?
What I want is to monitor Twitter and every time someone uses certain
words (maybe a total of about 20 words that I want to monitor
continuously), I want to show the tweet on the screen (or record it
into database)

Should I use search api or streaming api?

On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote:
 Yes, for the streaming api,

 http://dev.twitter.com/pages/streaming_api

 but it sounds like you may want the search api which doesn't require
 authentication:

 http://dev.twitter.com/doc/get/search



 On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote:
  Hello! I want to start using streaming API to monitor all tweets with
  certain keywords in them. Do I need to provide any authentication in
  order to connect?

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements 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: Is authentication required to use Streaming API?

2010-10-07 Thread John Kalucki
stream.twitter.com/1/statuses/filter.json
track=keyword1,keyword2

etc.

-John


On Thu, Oct 7, 2010 at 10:13 AM, D. Smith emai...@sharedlog.com wrote:
 I'm confused now. Which API should I use Streaming or Search?
 What I want is to monitor Twitter and every time someone uses certain
 words (maybe a total of about 20 words that I want to monitor
 continuously), I want to show the tweet on the screen (or record it
 into database)

 Should I use search api or streaming api?

 On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote:
 Yes, for the streaming api,

 http://dev.twitter.com/pages/streaming_api

 but it sounds like you may want the search api which doesn't require
 authentication:

 http://dev.twitter.com/doc/get/search



 On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote:
  Hello! I want to start using streaming API to monitor all tweets with
  certain keywords in them. Do I need to provide any authentication in
  order to connect?

  --
  Twitter developer documentation and resources:http://dev.twitter.com/doc
  API updates via Twitter:http://twitter.com/twitterapi
  Issues/Enhancements 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: Is authentication required to use Streaming API?

2010-10-07 Thread D. Smith
Can I use any Twitter account username/password or does the account
have to be registered with Twitter API?

On Oct 7, 1:18 pm, John Kalucki j...@twitter.com wrote:
 stream.twitter.com/1/statuses/filter.json
 track=keyword1,keyword2

 etc.

 -John



 On Thu, Oct 7, 2010 at 10:13 AM, D. Smith emai...@sharedlog.com wrote:
  I'm confused now. Which API should I use Streaming or Search?
  What I want is to monitor Twitter and every time someone uses certain
  words (maybe a total of about 20 words that I want to monitor
  continuously), I want to show the tweet on the screen (or record it
  into database)

  Should I use search api or streaming api?

  On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote:
  Yes, for the streaming api,

 http://dev.twitter.com/pages/streaming_api

  but it sounds like you may want the search api which doesn't require
  authentication:

 http://dev.twitter.com/doc/get/search

  On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote:
   Hello! I want to start using streaming API to monitor all tweets with
   certain keywords in them. Do I need to provide any authentication in
   order to connect?

   --
   Twitter developer documentation and resources:http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements 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: Is authentication required to use Streaming API?

2010-10-07 Thread Taylor Singletary
Hi D,

There are a few different levels of the streaming API. You can use the
sample endpoint without any kind of approval from Twitter, using a Twitter
account under your control for login.

Access beyond the sample end point requires approval -- the process for
approval begins at http://twitter.com/help/request_streaming

When getting familiar with the streaming API it's best to take a crawl -
walk - run approach. Crawling is using the sample stream, walking is
moving up to garden hose, and running is going beyond.

Taylor

On Thu, Oct 7, 2010 at 10:26 AM, D. Smith emai...@sharedlog.com wrote:

 Can I use any Twitter account username/password or does the account
 have to be registered with Twitter API?

 On Oct 7, 1:18 pm, John Kalucki j...@twitter.com wrote:
  stream.twitter.com/1/statuses/filter.json
  track=keyword1,keyword2
 
  etc.
 
  -John
 
 
 
  On Thu, Oct 7, 2010 at 10:13 AM, D. Smith emai...@sharedlog.com wrote:
   I'm confused now. Which API should I use Streaming or Search?
   What I want is to monitor Twitter and every time someone uses certain
   words (maybe a total of about 20 words that I want to monitor
   continuously), I want to show the tweet on the screen (or record it
   into database)
 
   Should I use search api or streaming api?
 
   On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote:
   Yes, for the streaming api,
 
  http://dev.twitter.com/pages/streaming_api
 
   but it sounds like you may want the search api which doesn't require
   authentication:
 
  http://dev.twitter.com/doc/get/search
 
   On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com
 wrote:
Hello! I want to start using streaming API to monitor all tweets
 with
certain keywords in them. Do I need to provide any authentication in
order to connect?
 
--
Twitter developer documentation and resources:
 http://dev.twitter.com/doc
API updates via Twitter:http://twitter.com/twitterapi
Issues/Enhancements 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


Re: [twitter-dev] Re: Is authentication required to use Streaming API?

2010-10-07 Thread John Kalucki
Every account has default-level access.


On Thu, Oct 7, 2010 at 10:26 AM, D. Smith emai...@sharedlog.com wrote:
 Can I use any Twitter account username/password or does the account
 have to be registered with Twitter API?

 On Oct 7, 1:18 pm, John Kalucki j...@twitter.com wrote:
 stream.twitter.com/1/statuses/filter.json
 track=keyword1,keyword2

 etc.

 -John



 On Thu, Oct 7, 2010 at 10:13 AM, D. Smith emai...@sharedlog.com wrote:
  I'm confused now. Which API should I use Streaming or Search?
  What I want is to monitor Twitter and every time someone uses certain
  words (maybe a total of about 20 words that I want to monitor
  continuously), I want to show the tweet on the screen (or record it
  into database)

  Should I use search api or streaming api?

  On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote:
  Yes, for the streaming api,

 http://dev.twitter.com/pages/streaming_api

  but it sounds like you may want the search api which doesn't require
  authentication:

 http://dev.twitter.com/doc/get/search

  On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote:
   Hello! I want to start using streaming API to monitor all tweets with
   certain keywords in them. Do I need to provide any authentication in
   order to connect?

   --
   Twitter developer documentation and resources:http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements 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: twitter api throwing lots of technical errors

2010-10-07 Thread Eric T. Peterson
We are seeing same at Twitalyzer. Seems to be isolated to the search
API but we haven't had a chance to dig in.

The problems seem to be correlated to Twitter's announcement of the
new search platform as well.  Anyone else seeing lower rate limits on
the search API last few days?

@erictpeterson



On Oct 7, 9:56 am, Adam Covati cov...@gmail.com wrote:
 Is anyone else seeing an elevated rate of API errors right now? It
 seems to be throwing a lot technical errors (the one with the image
 of the robot) right now.

 Any help or response on this would be appreciated.

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


Re: [twitter-dev] twitter api throwing lots of technical errors

2010-10-07 Thread Tiago Teresa Teodosio
Yes, I noticed a lot of 500 error codes in API responses, while trying
to post tweet on behalf of my users, from 2010-10-07 16:41:53 UTC until
2010-10-07 16:58:25 UTC.


Adam Covati wrote:
 Is anyone else seeing an elevated rate of API errors right now? It
 seems to be throwing a lot technical errors (the one with the image
 of the robot) right now.
 
 Any help or response on this would be appreciated.
 

-- 
Tiago Teresa Teodósio
Tlm. 919 537 151
Equipa de desenvolvimento
SAPO / Portugal Telecom

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: User Streaming API and use of OAuth from web browser

2010-10-07 Thread Jonathon Hill
Have you looked at xAuth? It was designed for desktop clients but it
may work well with Javascript clients.

Jonathon Hill


On Oct 6, 4:54 pm, Tim Bull tim.b...@binaryplex.com wrote:
 Hi,

 We are building an application client that is browser based.  We're
 very comfortable with using OAuth from our server side code and are
 using it fine with the REST API (users sign in, authenticate with
 Twitter, we store their access tokens and reuse as requested - at the
 moment we mimic the required Twitter API on our server and when a user
 does something like a POST, we call our stub, use their token to then
 make the call via OAuth to Twitter).

 So far so good, but we'd like to implement User Streaming directly
 into the client side application.

 I've been browsing the Twitter Development documentation and there's a
 couple of points I'd like clarification on:

 *http://dev.twitter.com/pages/auth_overviewsays Streaming supports
 Basic and OAuth.

 *http://dev.twitter.com/pages/user_streamssays that the user streams
 supports OAuth only HTTPS, OAuth and JSON only.  No problems here, I
 just raise it to point out the auth_overview doco is slightly out of
 date.

 *http://dev.twitter.com/pages/oauth_librariestalks about a JS
 library but says Javascript really shouldn't be used for OAuth 1.0A
 with respect to websites in web browsers. Ideally, you'll only use
 Javascript to perform OAuth operations when using server-side.

 The points I'd like some clarification on:

 1. Given user_streams API is the intended way for clients to access
 Twitter going forwards, I presume it's intended not just for desktop,
 but also web clients too?
 2. If 1 is correct, then is it OK to use JavaScript for the OAuth?  If
 it's not, what is the recommended approach for a client side web
 application to connect and authenticate to the user_stream?

 Thanks,

 Tim

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


Re: [twitter-dev] twitter api throwing lots of technical errors

2010-10-07 Thread Tom van der Woerdt
http://status.twitter.com/post/1263165935/issue-posting-new-tweets

Tom


On 10/7/10 7:44 PM, Tiago Teresa Teodosio wrote:
 Yes, I noticed a lot of 500 error codes in API responses, while trying
 to post tweet on behalf of my users, from 2010-10-07 16:41:53 UTC until
 2010-10-07 16:58:25 UTC.
 
 
 Adam Covati wrote:
 Is anyone else seeing an elevated rate of API errors right now? It
 seems to be throwing a lot technical errors (the one with the image
 of the robot) right now.

 Any help or response on this would be appreciated.

 

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


Re: [twitter-dev] Re: User Streaming API and use of OAuth from web browser

2010-10-07 Thread Tom van der Woerdt
What? Absolutely not. Desktop applications are already an unsafe way of
using OAuth, and JavaScript is even worse. You'd be exposing your Client
Secret which is against the rules.

Tom


On 10/7/10 7:47 PM, Jonathon Hill wrote:
 Have you looked at xAuth? It was designed for desktop clients but it
 may work well with Javascript clients.
 
 Jonathon Hill
 
 
 On Oct 6, 4:54 pm, Tim Bull tim.b...@binaryplex.com wrote:
 Hi,

 We are building an application client that is browser based.  We're
 very comfortable with using OAuth from our server side code and are
 using it fine with the REST API (users sign in, authenticate with
 Twitter, we store their access tokens and reuse as requested - at the
 moment we mimic the required Twitter API on our server and when a user
 does something like a POST, we call our stub, use their token to then
 make the call via OAuth to Twitter).

 So far so good, but we'd like to implement User Streaming directly
 into the client side application.

 I've been browsing the Twitter Development documentation and there's a
 couple of points I'd like clarification on:

 *http://dev.twitter.com/pages/auth_overviewsays Streaming supports
 Basic and OAuth.

 *http://dev.twitter.com/pages/user_streamssays that the user streams
 supports OAuth only HTTPS, OAuth and JSON only.  No problems here, I
 just raise it to point out the auth_overview doco is slightly out of
 date.

 *http://dev.twitter.com/pages/oauth_librariestalks about a JS
 library but says Javascript really shouldn't be used for OAuth 1.0A
 with respect to websites in web browsers. Ideally, you'll only use
 Javascript to perform OAuth operations when using server-side.

 The points I'd like some clarification on:

 1. Given user_streams API is the intended way for clients to access
 Twitter going forwards, I presume it's intended not just for desktop,
 but also web clients too?
 2. If 1 is correct, then is it OK to use JavaScript for the OAuth?  If
 it's not, what is the recommended approach for a client side web
 application to connect and authenticate to the user_stream?

 Thanks,

 Tim
 

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


Re: [twitter-dev] Re: User Streaming API and use of OAuth from web browser

2010-10-07 Thread Thomas Mango
xAuth is actually for exchanging usernames and passwords for OAuth keys. 
In the end, all of your requests are still using OAuth.


More about xAuth:
http://dev.twitter.com/pages/xauth

Jonathon Hill wrote:

Have you looked at xAuth? It was designed for desktop clients but it
may work well with Javascript clients.

Jonathon Hill


On Oct 6, 4:54 pm, Tim Bulltim.b...@binaryplex.com  wrote:

Hi,

We are building an application client that is browser based.  We're
very comfortable with using OAuth from our server side code and are
using it fine with the REST API (users sign in, authenticate with
Twitter, we store their access tokens and reuse as requested - at the
moment we mimic the required Twitter API on our server and when a user
does something like a POST, we call our stub, use their token to then
make the call via OAuth to Twitter).

So far so good, but we'd like to implement User Streaming directly
into the client side application.

I've been browsing the Twitter Development documentation and there's a
couple of points I'd like clarification on:

*http://dev.twitter.com/pages/auth_overviewsays Streaming supports
Basic and OAuth.

*http://dev.twitter.com/pages/user_streamssays that the user streams
supports OAuth only HTTPS, OAuth and JSON only.  No problems here, I
just raise it to point out the auth_overview doco is slightly out of
date.

*http://dev.twitter.com/pages/oauth_librariestalks about a JS
library but says Javascript really shouldn't be used for OAuth 1.0A
with respect to websites in web browsers. Ideally, you'll only use
Javascript to perform OAuth operations when using server-side.

The points I'd like some clarification on:

1. Given user_streams API is the intended way for clients to access
Twitter going forwards, I presume it's intended not just for desktop,
but also web clients too?
2. If 1 is correct, then is it OK to use JavaScript for the OAuth?  If
it's not, what is the recommended approach for a client side web
application to connect and authenticate to the user_stream?

Thanks,

Tim





--
Thomas Mango
tsma...@gmail.com


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


Re: [twitter-dev] GET Querystring for status update not working on new Twitter

2010-10-07 Thread Matt Harris
Hi woodsytime,

I wanted to add in here that if you URL encode the URL you are trying
to share it will work appropriately. Instead of what you have I would
expect the URL to look like this:

http://twitter.com/home?status=ASOS%20embellished%20dress%20http%3A%2F%2Fwww.asos.com%2Fpgehtml.aspx%3Fcid%3D8745%26affId%3D2833

One known issue right now is that %26 is converted to  in #newtwitter
so anything after it is ignored. The team is aware of this and it is
being tracked here:
http://code.google.com/p/twitter-api/issues/detail?id=1904

To second what Taylor said, consider using the Tweet Button instead of
the URL. It provides a better experience for your users and allows
them to Tweet without leaving your site.

Best
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris



On Thu, Oct 7, 2010 at 9:17 AM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 Hi there woodsytime,
 I'd recommend using a Tweet Button for this kind of integration instead --
 your approach is kind of the most low rent approach you can take for this,
 and is less and less supported -- really, it's a hack.
 The URL you're presenting in your status update has an unencoded question
 mark.

 But even if you properly encoded it, it doesn't look like this kind of URL
 is passable in this way. Bug on our end? Maybe.
 What's the context that users would share this URL? Have you considered the
 Tweet Button?
 I noticed that even with all of those query parameters, the page you're
 posting still redirects to the site's home page. What value do the links
 have to Twitter users who post, read, or click?
 Taylor
 On Thu, Oct 7, 2010 at 8:59 AM, woodsytime kr.wood...@gmail.com wrote:

 I need to update my status through an external link using the GET
 method.

 For example...the linked I would like to pass into the browser URL
 querystring is...


 http://twitter.com/home?status=ASOS%20embellished%20dress%20http://www.asos.com/pgehtml.aspx?cid%3D8745affId%3D2833

 This has been working, however, I'm using the updated version of
 Twitter as of today, and this way of updating my status is not working
 now?

 It seems to stop at the '=' sign (escape character %3D) in the 'cid
 %3D8745' part of the querystring towards the end.

 Any suggestions?

 Thanks

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

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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: Is it possible to search twitter for in_reply_to_status_id

2010-10-07 Thread Matt Harris
Hi Jan,

There isn't an API method that will return all replies for a Tweet
yet. It's on the list of enhancements requested by the community
though.

You may see some developers mention the related_tweets method as an
option. This method isn't generally available yet and, as the name
suggests, returns only related tweets (rather than guaranteed
replies).

Hope that answers your question,

@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris



On Wed, Sep 29, 2010 at 10:20 AM, Jan Paricka jpari...@gmail.com wrote:
 Alternatively, is it possible to get ALL replies for a specific tweet id?
 I cannot seem to get my head around this

 Thanks again,
 Jan


 On Wed, Sep 29, 2010 at 7:14 PM, jparicka jpari...@gmail.com wrote:

 Hi there,

 Is it possible to search twitter based on in_reply_to_status_id ?

 I am looking for a way to collect in_replies for a specific status
 ids.

 How can I do that?


 Thank you in advance,

 Jan

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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] Sign up as a developer

2010-10-07 Thread martinh666
Hi

Anyone know how to sign up as a developer.  I've tried the API link
and it takes me to the Developer sign in page. My regular
credentials do't work here and I've not seen a link to register as a
developer.

If anyone can help, I'd appreciate it.

Thanks
Martin

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] Sign up as a developer

2010-10-07 Thread Tom van der Woerdt
http://dev.twitter.com - Login (using your username and password),
create an app and you are ready to go.

Tom


On 10/7/10 8:18 PM, martinh666 wrote:
 Hi
 
 Anyone know how to sign up as a developer.  I've tried the API link
 and it takes me to the Developer sign in page. My regular
 credentials do't work here and I've not seen a link to register as a
 developer.
 
 If anyone can help, I'd appreciate it.
 
 Thanks
 Martin
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: Is authentication required to use Streaming API?

2010-10-07 Thread M. Edward (Ed) Borasky
Real time tracking is best done with Streaming, but can be done with  
Search. Historical search back in time is done only with Search and  
only covers the indexed tweets that Twitter makes available.  
Long-term historical search can be done with Topsy, but I'm not  
familiar with the details.


--
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 D. Smith emai...@sharedlog.com:


I'm confused now. Which API should I use Streaming or Search?
What I want is to monitor Twitter and every time someone uses certain
words (maybe a total of about 20 words that I want to monitor
continuously), I want to show the tweet on the screen (or record it
into database)

Should I use search api or streaming api?

On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote:

Yes, for the streaming api,

http://dev.twitter.com/pages/streaming_api

but it sounds like you may want the search api which doesn't require
authentication:

http://dev.twitter.com/doc/get/search



On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com wrote:
 Hello! I want to start using streaming API to monitor all tweets with
 certain keywords in them. Do I need to provide any authentication in
 order to connect?

 --
 Twitter developer documentation and resources:http://dev.twitter.com/doc
 API updates via Twitter:http://twitter.com/twitterapi
 Issues/Enhancements 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: Is authentication required to use Streaming API?

2010-10-07 Thread D. Smith
Sorry for asking all these questions, but what is the sample endpoint?
Does it contain real tweets or just some sample tweets for testing
purposes only?


On Oct 7, 1:33 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi D,

 There are a few different levels of the streaming API. You can use the
 sample endpoint without any kind of approval from Twitter, using a Twitter
 account under your control for login.

 Access beyond the sample end point requires approval -- the process for
 approval begins athttp://twitter.com/help/request_streaming

 When getting familiar with the streaming API it's best to take a crawl -
 walk - run approach. Crawling is using the sample stream, walking is
 moving up to garden hose, and running is going beyond.

 Taylor



 On Thu, Oct 7, 2010 at 10:26 AM, D. Smith emai...@sharedlog.com wrote:
  Can I use any Twitter account username/password or does the account
  have to be registered with Twitter API?

  On Oct 7, 1:18 pm, John Kalucki j...@twitter.com wrote:
   stream.twitter.com/1/statuses/filter.json
   track=keyword1,keyword2

   etc.

   -John

   On Thu, Oct 7, 2010 at 10:13 AM, D. Smith emai...@sharedlog.com wrote:
I'm confused now. Which API should I use Streaming or Search?
What I want is to monitor Twitter and every time someone uses certain
words (maybe a total of about 20 words that I want to monitor
continuously), I want to show the tweet on the screen (or record it
into database)

Should I use search api or streaming api?

On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote:
Yes, for the streaming api,

   http://dev.twitter.com/pages/streaming_api

but it sounds like you may want the search api which doesn't require
authentication:

   http://dev.twitter.com/doc/get/search

On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com
  wrote:
 Hello! I want to start using streaming API to monitor all tweets
  with
 certain keywords in them. Do I need to provide any authentication in
 order to connect?

 --
 Twitter developer documentation and resources:
 http://dev.twitter.com/doc
 API updates via Twitter:http://twitter.com/twitterapi
 Issues/Enhancements 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


Re: [twitter-dev] Re: Is authentication required to use Streaming API?

2010-10-07 Thread Tom van der Woerdt
Basically: sample will send you 1% of all tweets that are sent. ;-)

However: I believe that you will want to use filter.json. Taylor forgot
to mention that filter.json is also free to use.

Sample URL which uses filter :
http://stream.twitter.com/1/statuses/filter.json?track=Twitter

Tom


On 10/7/10 9:10 PM, D. Smith wrote:
 Sorry for asking all these questions, but what is the sample endpoint?
 Does it contain real tweets or just some sample tweets for testing
 purposes only?
 
 
 On Oct 7, 1:33 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
 Hi D,

 There are a few different levels of the streaming API. You can use the
 sample endpoint without any kind of approval from Twitter, using a Twitter
 account under your control for login.

 Access beyond the sample end point requires approval -- the process for
 approval begins athttp://twitter.com/help/request_streaming

 When getting familiar with the streaming API it's best to take a crawl -
 walk - run approach. Crawling is using the sample stream, walking is
 moving up to garden hose, and running is going beyond.

 Taylor



 On Thu, Oct 7, 2010 at 10:26 AM, D. Smith emai...@sharedlog.com wrote:
 Can I use any Twitter account username/password or does the account
 have to be registered with Twitter API?

 On Oct 7, 1:18 pm, John Kalucki j...@twitter.com wrote:
 stream.twitter.com/1/statuses/filter.json
 track=keyword1,keyword2

 etc.

 -John

 On Thu, Oct 7, 2010 at 10:13 AM, D. Smith emai...@sharedlog.com wrote:
 I'm confused now. Which API should I use Streaming or Search?
 What I want is to monitor Twitter and every time someone uses certain
 words (maybe a total of about 20 words that I want to monitor
 continuously), I want to show the tweet on the screen (or record it
 into database)

 Should I use search api or streaming api?

 On Oct 7, 12:55 pm, Matthew Terenzio mteren...@gmail.com wrote:
 Yes, for the streaming api,

 http://dev.twitter.com/pages/streaming_api

 but it sounds like you may want the search api which doesn't require
 authentication:

 http://dev.twitter.com/doc/get/search

 On Thu, Oct 7, 2010 at 12:49 PM, D. Smith emai...@sharedlog.com
 wrote:
 Hello! I want to start using streaming API to monitor all tweets
 with
 certain keywords in them. Do I need to provide any authentication in
 order to connect?

 --
 Twitter developer documentation and resources:
 http://dev.twitter.com/doc
 API updates via Twitter:http://twitter.com/twitterapi
 Issues/Enhancements 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


Re: [twitter-dev] custom twitter button

2010-10-07 Thread Abraham Williams
This his the API Twitter uses. Keep in mind it is not documented or
officially supported and could break at anytime. http://goo.gl/ydfK

Abraham
-
Abraham Williams | Hacker Advocate | http://abrah.am
Update: http://blog.abrah.am/2010/10/organizing-my-life.html
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Thu, Oct 7, 2010 at 01:27, S. M. Ibrahim (Lavlu) smibra...@gmail.comwrote:

 hi,

 for one of our site, we need custom twitter button to share. we can
 implement the twitter button with help of custom js and twitter share
 link. but how can we display the count ?


 --
 S. M. Ibrahim Lavlu
 software engineer, php
 somewhere in...
 http://www.somewherein.net

 bangla blog: http://www.somewhereinblog.net
 my blog: http://www.lavluda.com
 mac blog: htttp://www.mac-talks.com
 my book: http://www.lavluda.com/2009/07/08/my-book-on-cacti/

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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] custom twitter button

2010-10-07 Thread Tom van der Woerdt
Are you even *allowed* to use it? ;-)

Tom


On 10/7/10 9:33 PM, Abraham Williams wrote:
 This his the API Twitter uses. Keep in mind it is not documented or
 officially supported and could break at anytime. http://goo.gl/ydfK
 
 Abraham
 -
 Abraham Williams | Hacker Advocate | http://abrah.am
 Update: http://blog.abrah.am/2010/10/organizing-my-life.html
 @abraham | http://projects.abrah.am | http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.
 
 
 
 On Thu, Oct 7, 2010 at 01:27, S. M. Ibrahim (Lavlu) smibra...@gmail.com
 mailto:smibra...@gmail.com wrote:
 
 hi,
 
 for one of our site, we need custom twitter button to share. we can
 implement the twitter button with help of custom js and twitter share
 link. but how can we display the count ?
 
 
 --
 S. M. Ibrahim Lavlu
 software engineer, php
 somewhere in...
 http://www.somewherein.net
 
 bangla blog: http://www.somewhereinblog.net
 my blog: http://www.lavluda.com
 mac blog: htttp://www.mac-talks.com http://www.mac-talks.com
 my book: http://www.lavluda.com/2009/07/08/my-book-on-cacti/
 
 --
 Twitter developer documentation and resources:
 http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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] Still Seeing things twice? Still Seeing things twice? Yes.

2010-10-07 Thread Cassie Lynn
Hi everyone,

I know Twitter says this was resolved (http://status.twitter.com/post/
1258614492/seeing-things-twice-seeing-things-twice) but:

Direct messages sent through the api are appearing twice for me on the
receiver's end (but not for the sender). Is anyone else having this
issue? I am confident that I am only sending them once, and this is
reaffirmed by the fact that the sender appears to only have sent 1.

Thanks!
- Cassie

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: Still Seeing things twice? Still Seeing things twice? Yes.

2010-10-07 Thread Cassie Lynn
Also as an update to this: I get emails when I am direct messaged, and
I am only getting 1 email.

On Oct 7, 2:39 pm, Cassie Lynn cassie.schwendi...@gmail.com wrote:
 Hi everyone,

 I know Twitter says this was resolved (http://status.twitter.com/post/
 1258614492/seeing-things-twice-seeing-things-twice) but:

 Direct messages sent through the api are appearing twice for me on the
 receiver's end (but not for the sender). Is anyone else having this
 issue? I am confident that I am only sending them once, and this is
 reaffirmed by the fact that the sender appears to only have sent 1.

 Thanks!
 - Cassie

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] Use twitterapi.update method to my own account via .net web app without human intervention

2010-10-07 Thread bob
I have an application that maintains sport fields playing status.
When it rains, I'd like to update my account to show the closures via
my .net application.  Problem is when using oAuth, I must sign in to
allow the app access to my Twitter account.  Is there any way that
oAuth can do this without needing this step.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: Sign up as a developer

2010-10-07 Thread martinh666
Thanks Tom,

I've tried this, e.g. I log into my account but when I click the apps,
it asks me to log in again, so I do, then it says the website
declined to show you this page.

I'm wondering if my browser settings are messed up.  I also had to
check the show mixed content in my IE security options to stop the
pop up warnings about security each time I viewed a page.

Ta
Martin

On 7 Oct, 19:33, Tom van der Woerdt i...@tvdw.eu wrote:
 http://dev.twitter.com- Login (using your username and password),
 create an app and you are ready to go.

 Tom

 On 10/7/10 8:18 PM, martinh666 wrote:



  Hi

  Anyone know how to sign up as a developer.  I've tried the API link
  and it takes me to the Developer sign in page. My regular
  credentials do't work here and I've not seen a link to register as a
  developer.

  If anyone can help, I'd appreciate it.

  Thanks
  Martin- Hide quoted text -

 - Show quoted text -

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: Sign up as a developer

2010-10-07 Thread Tom van der Woerdt
Try using a different (proper) browser. It may work.

Tom


On 10/7/10 9:26 PM, martinh666 wrote:
 Thanks Tom,
 
 I've tried this, e.g. I log into my account but when I click the apps,
 it asks me to log in again, so I do, then it says the website
 declined to show you this page.
 
 I'm wondering if my browser settings are messed up.  I also had to
 check the show mixed content in my IE security options to stop the
 pop up warnings about security each time I viewed a page.
 
 Ta
 Martin
 
 On 7 Oct, 19:33, Tom van der Woerdt i...@tvdw.eu wrote:
 http://dev.twitter.com- Login (using your username and password),
 create an app and you are ready to go.

 Tom

 On 10/7/10 8:18 PM, martinh666 wrote:



 Hi

 Anyone know how to sign up as a developer.  I've tried the API link
 and it takes me to the Developer sign in page. My regular
 credentials do't work here and I've not seen a link to register as a
 developer.

 If anyone can help, I'd appreciate it.

 Thanks
 Martin- Hide quoted text -

 - Show quoted text -
 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] Use twitterapi.update method to my own account via .net web app without human intervention

2010-10-07 Thread Thomas Mango
You should save the oauth access key/secret you get for the account you 
want to post to (if it's your application's account, you can get the 
access keys from the application's page on dev.twitter.com). You can 
then use your client key/secret and user access key/secret to make calls 
to the API on that user's behalf without them logging into an actual 
session of your application.


This page is a good overview of OAuth:
http://dev.twitter.com/pages/auth

bob wrote:

I have an application that maintains sport fields playing status.
When it rains, I'd like to update my account to show the closures via
my .net application.  Problem is when using oAuth, I must sign in to
allow the app access to my Twitter account.  Is there any way that
oAuth can do this without needing this step.




--
Thomas Mango
tsma...@gmail.com


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


[twitter-dev] Re: Use twitterapi.update method to my own account via .net web app without human intervention

2010-10-07 Thread bob
Update:  I was using TwitterVB.GetAuthorizationLink() and when I
changed to GetAuthenticationLink(), it worked.

On Oct 7, 3:45 pm, bob bobkoon...@gmail.com wrote:
 I have an application that maintains sport fields playing status.
 When it rains, I'd like to update my account to show the closures via
 my .net application.  Problem is when using oAuth, I must sign in to
 allow the app access to my Twitter account.  Is there any way that
 oAuth can do this without needing this step.

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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] status/update in_reply_to_user_id not being acknowledged

2010-10-07 Thread Matthew
Hello,

Been working on a project that will allow users to reply to tweets. I
am having difficulty in getting the 'in_reply_to_message_id' to be
acknowledged. I have been using the latest version of Abraham's
TwitterOAuth library, also confirmed the problem through apigee.

Example request (over POST):
http://api.twitter.com/1/statuses/update.json?in_reply_to_status_id=26673308442status=looks
like its not working for apigee either

I can confirm the in_reply_to_status_id message is a message I posted
earlier.
http://api.twitter.com/1/statuses/show/26673308442.json


I get a response back from twitter with field populated except with
in_reply_to_status_id : null.
Is there currently a glitch in the twitterapi, or am I using this
function improperly?


Thanks in advance!

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


[twitter-dev] Re: status/update in_reply_to_user_id not being acknowledged

2010-10-07 Thread Matthew
Opps I meant to mark the title as 'in_reply_to_status_id'.

On Oct 7, 1:37 pm, Matthew matt.c.w...@gmail.com wrote:
 Hello,

 Been working on a project that will allow users to reply to tweets. I
 am having difficulty in getting the 'in_reply_to_message_id' to be
 acknowledged. I have been using the latest version of Abraham's
 TwitterOAuth library, also confirmed the problem through apigee.

 Example request (over 
 POST):http://api.twitter.com/1/statuses/update.json?in_reply_to_status_id=2...
 like its not working for apigee either

 I can confirm the in_reply_to_status_id message is a message I posted
 earlier.http://api.twitter.com/1/statuses/show/26673308442.json

 I get a response back from twitter with field populated except with
 in_reply_to_status_id : null.
 Is there currently a glitch in the twitterapi, or am I using this
 function improperly?

 Thanks in advance!

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


Re: [twitter-dev] status/update in_reply_to_user_id not being acknowledged

2010-10-07 Thread Taylor Singletary
With as often as this comes up, it's obvious that we aren't communicating
this clearly and the historical aspect of this isn't obvious:

An @reply requires that it begins with the @username of the user being
replied to. The in_reply_to_status_id field is not enough to associate the
tweets as a reply -- the username must also be present.

Also: When using a POST method, don't include your fields/parameters on the
query string. Instead, put them in the POST body. You may find someday that
passing such parameters on the query string just stops working.

Taylor

On Thu, Oct 7, 2010 at 1:37 PM, Matthew matt.c.w...@gmail.com wrote:

 Hello,

 Been working on a project that will allow users to reply to tweets. I
 am having difficulty in getting the 'in_reply_to_message_id' to be
 acknowledged. I have been using the latest version of Abraham's
 TwitterOAuth library, also confirmed the problem through apigee.

 Example request (over POST):

 http://api.twitter.com/1/statuses/update.json?in_reply_to_status_id=26673308442status=looks
 like its not working for apigee either

 I can confirm the in_reply_to_status_id message is a message I posted
 earlier.
 http://api.twitter.com/1/statuses/show/26673308442.json


 I get a response back from twitter with field populated except with
 in_reply_to_status_id : null.
 Is there currently a glitch in the twitterapi, or am I using this
 function improperly?


 Thanks in advance!

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


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: status/update in_reply_to_user_id not being acknowledged

2010-10-07 Thread Matthew
Thanks Taylor, I appreciate it. I didnt see mention of that in the
http://developer.twitter.com/doc/post/statuses/update documentation.

-Matt

On Oct 7, 1:42 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 With as often as this comes up, it's obvious that we aren't communicating
 this clearly and the historical aspect of this isn't obvious:

 An @reply requires that it begins with the @username of the user being
 replied to. The in_reply_to_status_id field is not enough to associate the
 tweets as a reply -- the username must also be present.

 Also: When using a POST method, don't include your fields/parameters on the
 query string. Instead, put them in the POST body. You may find someday that
 passing such parameters on the query string just stops working.

 Taylor



 On Thu, Oct 7, 2010 at 1:37 PM, Matthew matt.c.w...@gmail.com wrote:
  Hello,

  Been working on a project that will allow users to reply to tweets. I
  am having difficulty in getting the 'in_reply_to_message_id' to be
  acknowledged. I have been using the latest version of Abraham's
  TwitterOAuth library, also confirmed the problem through apigee.

  Example request (over POST):

 http://api.twitter.com/1/statuses/update.json?in_reply_to_status_id=2...
  like its not working for apigee either

  I can confirm the in_reply_to_status_id message is a message I posted
  earlier.
 http://api.twitter.com/1/statuses/show/26673308442.json

  I get a response back from twitter with field populated except with
  in_reply_to_status_id : null.
  Is there currently a glitch in the twitterapi, or am I using this
  function improperly?

  Thanks in advance!

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

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: can't follow more than one user

2010-10-07 Thread Malte
Hi,

because I'm using the same library and was not finding the same
problems when connecting to site streams I looked for what I was doing
differently: Turns out, if one URL encodes the komma in the follow
list the OAuth connection works

Bye
Malte

On 6 Oct, 23:38, JavaJunky ciar...@gmail.com wrote:
 Hi,

 The library in question is mine and not unreasonably Ruben has
 submitted a pull-request with his fix over on github.  Unfortunately
 this fix seems to break existing (working) OAuth consumer
 relationships :(

 I'm actually at a bit of a loss how to progress it, I've 
 read:http://dev.twitter.com/pages/auth(Signing Requests) a few times.
 I've cross-referenced againsthttp://oauth.net/core/1.0a/Sec. 9.1.1
 and even double checked 
 againsthttp://tools.ietf.org/html/rfc5849#section-3.4.1
 Sec. 3.4.1.3.2

 The last two resources appear to agree with each other, that the '='
 and the '' that join the parameter name-value pairs should appear in
 the 'plain' but then get encoded as a whole [which would re-encode any
 existing '%', hence a crucial difference in the twitter listed
 strategy]

 The important bit seems to be in the OAuth 1.0 RFC Section 3.4.1.1.
 String Construction, point 5:

    5.  The request parameters as normalized in Section 3.4.1.3.2,
 after
        being encoded (Section 3.6).

 Crucially this suggests to me that that the encoding is applied to the
 entire normalized string, which the documentation 
 athttp://dev.twitter.com/pages/auth
 seems to suggest isn't happening on the Twitter side :(

 It is (more than likely) entirely possible that I'm doing something
 incredibly stupid and obvious but is there anyone on the twitter side
 that can confirm that this deviation from the 'spec' is deliberate (or
 even better for consistency, a minor issue?)

 Many Thanks (and sorry if I'm wasting your time!)
  - Cj.

 On Oct 6, 6:31 pm, Ruben Fonseca fons...@gmail.com wrote:







  Hi John!

  On Oct 6, 5:54 pm, John Kalucki j...@twitter.com wrote:

   It might be an OAuth encoding error with the ','. Which OAuth library
   are you using?

  That was exactly the problem! I was using node-oauth (from 
  herehttp://github.com/ciaranj/node-oauth/) and realized the signature was
  being generated wrong.

  Patched the library and it now works great!! Thank 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


Re: [twitter-dev] Re: can't follow more than one user

2010-10-07 Thread Ciaran
On Thu, Oct 7, 2010 at 10:04 PM, Malte malte@gmail.com wrote:
 Hi,

 because I'm using the same library and was not finding the same
 problems when connecting to site streams I looked for what I was doing
 differently: Turns out, if one URL encodes the komma in the follow
 list the OAuth connection works

 Bye
 Malte

Hi,

Yes, another user reported this as a workaround too, I'd still like
some clarification from t'twitter as to whether the client is wrong
(my current plan will be to 'if-twitter' around the signing code ;) )

Thanks for the heads up though!

-cj


 On 6 Oct, 23:38, JavaJunky ciar...@gmail.com wrote:
 Hi,

 The library in question is mine and not unreasonably Ruben has
 submitted a pull-request with his fix over on github.  Unfortunately
 this fix seems to break existing (working) OAuth consumer
 relationships :(

 I'm actually at a bit of a loss how to progress it, I've 
 read:http://dev.twitter.com/pages/auth(Signing Requests) a few times.
 I've cross-referenced againsthttp://oauth.net/core/1.0a/Sec. 9.1.1
 and even double checked 
 againsthttp://tools.ietf.org/html/rfc5849#section-3.4.1
 Sec. 3.4.1.3.2

 The last two resources appear to agree with each other, that the '='
 and the '' that join the parameter name-value pairs should appear in
 the 'plain' but then get encoded as a whole [which would re-encode any
 existing '%', hence a crucial difference in the twitter listed
 strategy]

 The important bit seems to be in the OAuth 1.0 RFC Section 3.4.1.1.
 String Construction, point 5:

    5.  The request parameters as normalized in Section 3.4.1.3.2,
 after
        being encoded (Section 3.6).

 Crucially this suggests to me that that the encoding is applied to the
 entire normalized string, which the documentation 
 athttp://dev.twitter.com/pages/auth
 seems to suggest isn't happening on the Twitter side :(

 It is (more than likely) entirely possible that I'm doing something
 incredibly stupid and obvious but is there anyone on the twitter side
 that can confirm that this deviation from the 'spec' is deliberate (or
 even better for consistency, a minor issue?)

 Many Thanks (and sorry if I'm wasting your time!)
  - Cj.

 On Oct 6, 6:31 pm, Ruben Fonseca fons...@gmail.com wrote:







  Hi John!

  On Oct 6, 5:54 pm, John Kalucki j...@twitter.com wrote:

   It might be an OAuth encoding error with the ','. Which OAuth library
   are you using?

  That was exactly the problem! I was using node-oauth (from 
  herehttp://github.com/ciaranj/node-oauth/) and realized the signature was
  being generated wrong.

  Patched the library and it now works great!! Thank 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


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: can't follow more than one user

2010-10-07 Thread Ciaran
Ah you *are* that other user! Doh :)
- cj

On Thursday, October 7, 2010, Ciaran ciar...@gmail.com wrote:
 On Thu, Oct 7, 2010 at 10:04 PM, Malte malte@gmail.com wrote:
 Hi,

 because I'm using the same library and was not finding the same
 problems when connecting to site streams I looked for what I was doing
 differently: Turns out, if one URL encodes the komma in the follow
 list the OAuth connection works

 Bye
 Malte

 Hi,

 Yes, another user reported this as a workaround too, I'd still like
 some clarification from t'twitter as to whether the client is wrong
 (my current plan will be to 'if-twitter' around the signing code ;) )

 Thanks for the heads up though!

 -cj


 On 6 Oct, 23:38, JavaJunky ciar...@gmail.com wrote:
 Hi,

 The library in question is mine and not unreasonably Ruben has
 submitted a pull-request with his fix over on github.  Unfortunately
 this fix seems to break existing (working) OAuth consumer
 relationships :(

 I'm actually at a bit of a loss how to progress it, I've 
 read:http://dev.twitter.com/pages/auth(Signing Requests) a few times.
 I've cross-referenced againsthttp://oauth.net/core/1.0a/Sec. 9.1.1
 and even double checked 
 againsthttp://tools.ietf.org/html/rfc5849#section-3.4.1
 Sec. 3.4.1.3.2

 The last two resources appear to agree with each other, that the '='
 and the '' that join the parameter name-value pairs should appear in
 the 'plain' but then get encoded as a whole [which would re-encode any
 existing '%', hence a crucial difference in the twitter listed
 strategy]

 The important bit seems to be in the OAuth 1.0 RFC Section 3.4.1.1.
 String Construction, point 5:

    5.  The request parameters as normalized in Section 3.4.1.3.2,
 after
        being encoded (Section 3.6).

 Crucially this suggests to me that that the encoding is applied to the
 entire normalized string, which the documentation 
 athttp://dev.twitter.com/pages/auth
 seems to suggest isn't happening on the Twitter side :(

 It is (more than likely) entirely possible that I'm doing something
 incredibly stupid and obvious but is there anyone on the twitter side
 that can confirm that this deviation from the 'spec' is deliberate (or
 even better for consistency, a minor issue?)

 Many Thanks (and sorry if I'm wasting your time!)
  - Cj.

 On Oct 6, 6:31 pm, Ruben Fonseca fons...@gmail.com wrote:







  Hi John!

  On Oct 6, 5:54 pm, John Kalucki j...@twitter.com wrote:

   It might be an OAuth encoding error with the ','. Which OAuth library
   are you using?

  That was exactly the problem! I was using node-oauth (from 
  herehttp://github.com/ciaranj/node-oauth/) and realized the signature was
  being generated wrong.

  Patched the library and it now works great!! Thank 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



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


[twitter-dev] How to test for one user following another

2010-10-07 Thread Joe Rattz
I would like to determine if my registered application's user is
following another user.

First I tried friendships/show with a target_screen_name = someuser
and get this error:

hash
  request/1/friendships/show.xml/request
  errorTarget user not specified./error
/hash


Then I tried friendships/show with user_a = myusername and user_b =
someuser and get this error:

hash
  request/1/friendships/exists.xml/request
  errorTwo user ids or screen_names must be supplied./error
/hash

I would prefer to use the show method and without having to specify my
application's user's username.

These are both using the Twulr Console.  What am I missing?

Thanks.

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


[twitter-dev] Using a custom icon for the Twitter Tweet button

2010-10-07 Thread rosco
Hi there,

I want to use the same functionality as the Twitter Tweet button
displayed here http://twitter.com/goodies/tweetbutton

The only change I want to make is to use a custom icon that we have
created, rather than the button image displayed. Is it possible to
change the image, and if so, how can I do 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


Re: [twitter-dev] Unable to connect to the Streaming API over SSL

2010-10-07 Thread Hayes Davis
Thanks, Tayor. Will do. It'd be nice to have that explicitly stated in the
docs.

Hayes


On Wed, Oct 6, 2010 at 4:17 PM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 Hi Hayes,

 The public streaming API endpoint at stream.twitter.com had SSL support
 turned off recently -- we hadn't, I believe, ever explicitly documented that
 it supported SSL. I wasn't aware of this change and have some issues with it
 -- I'll see what I can do. In the meantime, please use non-SSL.

 Taylor

 On Wed, Oct 6, 2010 at 3:35 PM, Hayes Davis ha...@appozite.com wrote:

 Hi all,

 For several months now, we've been connecting to the streaming api filter
 resource over SSL without issue. Today it suddenly disconnected us and
 wouldn't let us reconnect. We tried from multiple IPs to connect without
 success so it doesn't appear to be some sort of blacklist issue. Is this a
 temporary outage or something more permanent? If it's temporary, is there
 any ETA on a resolution?

 Please let me know if there's more information I can provide to help
 resolve this.

 Hayes

  --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements 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 to test for one user following another

2010-10-07 Thread Joe Rattz
That doesn't work either:

hash
  request/1/friendships/show.xml/request
  errorTarget user not specified./error
/hash

That's right from Twurl despite the fact that I provided both the
source_screen_name and target_screen_name.

Besides, why shouldn't the other two methods work?  They are
documented methods.


On Oct 7, 7:09 pm, Thomas Mango tsma...@gmail.com wrote:
 You should be providing both the source and a target user to the
 /friendships/show method.

 You can use source_id  target_id or source_screen_name 
 target_screen_name with /friendships/show.

 Here's the API documentation:http://dev.twitter.com/doc/get/friendships/show





 Joe Rattz wrote:
  I would like to determine if my registered application's user is
  following another user.

  First I tried friendships/show with a target_screen_name = someuser
  and get this error:

  hash
     request/1/friendships/show.xml/request
     errorTarget user not specified./error
  /hash

  Then I tried friendships/show with user_a = myusername and user_b =
  someuser and get this error:

  hash
     request/1/friendships/exists.xml/request
     errorTwo user ids or screen_names must be supplied./error
  /hash

  I would prefer to use the show method and without having to specify my
  application's user's username.

  These are both using the Twulr Console.  What am I missing?

  Thanks.

 --
 Thomas Mango
 tsma...@gmail.com- Hide quoted text -

 - Show quoted text -

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: How to test for one user following another

2010-10-07 Thread Thomas Mango
I apologize, I was actually saying that you should specify both the 
source and the target. It was my understanding you needed both, but it 
looks like when you make an authenticated request (like you do with 
twurl), you can specify just the target.


With that said, I was able to use twurl and specify only the target and 
get it to work:


twurl /friendships/show.xml?target_screen_name=Alternate1985

This used my authenticated user, @tsmango, as the source and gave me the 
proper response. Is that what your twurl call looked like?


Also, if you don't quote the query, you'll have problems with multiple 
parameters:


This one works:
twurl 
/friendships/show.xml?source_screen_name=samvermettetarget_screen_name=Alternate1985


But this one fails with the error you were receiving:
twurl 
/friendships/show.xml?source_screen_name=samvermettetarget_screen_name=Alternate1985


Hope that helps and sorry again for the confusion about needed to 
specify the source.


Joe Rattz wrote:

That doesn't work either:

hash
   request/1/friendships/show.xml/request
   errorTarget user not specified./error
/hash

That's right from Twurl despite the fact that I provided both the
source_screen_name and target_screen_name.

Besides, why shouldn't the other two methods work?  They are
documented methods.


On Oct 7, 7:09 pm, Thomas Mangotsma...@gmail.com  wrote:

You should be providing both the source and a target user to the
/friendships/show method.

You can use source_id  target_id or source_screen_name
target_screen_name with /friendships/show.

Here's the API documentation:http://dev.twitter.com/doc/get/friendships/show





Joe Rattz wrote:

I would like to determine if my registered application's user is
following another user.
First I tried friendships/show with a target_screen_name = someuser
and get this error:
hash
request/1/friendships/show.xml/request
errorTarget user not specified./error
/hash
Then I tried friendships/show with user_a = myusername and user_b =
someuser and get this error:
hash
request/1/friendships/exists.xml/request
errorTwo user ids or screen_names must be supplied./error
/hash
I would prefer to use the show method and without having to specify my
application's user's username.
These are both using the Twulr Console.  What am I missing?
Thanks.

--
Thomas Mango
tsma...@gmail.com- Hide quoted text -

- Show quoted text -





--
Thomas Mango
tsma...@gmail.com


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


[twitter-dev] Re: How to test for one user following another

2010-10-07 Thread Norhidayah Azman
Sometimes it's the case of simply the URL parser not recognizing the
'' sign!

I tried using a couple of Python clients to make requests which need
more than one parameter -- thus needing the '' sign in the API
request URL -- but the clients just break, giving me the same 'Target
user not specified' error.

Try formulating your request URL in your web browser first (requesting
XML output preferably), with example screen names for
source_screen_name and target_screen_name. If you're getting a correct
response from the web browser, then that means your client needs
tweaking to accept multiple parameters.

Dayah



On Oct 7, 7:24 pm, Joe Rattz joeratt...@gmail.com wrote:
 That doesn't work either:

 hash
   request/1/friendships/show.xml/request
   errorTarget user not specified./error
 /hash

 That's right from Twurl despite the fact that I provided both the
 source_screen_name and target_screen_name.

 Besides, why shouldn't the other two methods work?  They are
 documented methods.

 On Oct 7, 7:09 pm, Thomas Mango tsma...@gmail.com wrote:

  You should be providing both the source and a target user to the
  /friendships/show method.

  You can use source_id  target_id or source_screen_name 
  target_screen_name with /friendships/show.

  Here's the API documentation:http://dev.twitter.com/doc/get/friendships/show

  Joe Rattz wrote:
   I would like to determine if my registered application's user is
   following another user.

   First I tried friendships/show with a target_screen_name = someuser
   and get this error:

   hash
      request/1/friendships/show.xml/request
      errorTarget user not specified./error
   /hash

   Then I tried friendships/show with user_a = myusername and user_b =
   someuser and get this error:

   hash
      request/1/friendships/exists.xml/request
      errorTwo user ids or screen_names must be supplied./error
   /hash

   I would prefer to use the show method and without having to specify my
   application's user's username.

   These are both using the Twulr Console.  What am I missing?

   Thanks.

  --
  Thomas Mango
  tsma...@gmail.com- Hide quoted text -

  - Show quoted text -

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements 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: Woe is me, I can't seek what I find (or Search is failing me)

2010-10-07 Thread Mack D. Male
I'm seeing this problem too, but it only started today, around five
hours ago. Here's an example search: 
http://search.twitter.com/search?q=near%3Aedmonton

That's returning a fraction of the tweets it was before. This problem
happens occasionally, but not usually for this long.

On Oct 7, 3:10 pm, @IDisposable idisposa...@gmail.com wrote:
 Over the last couple months, we've seen some wierd behavior in the
 responses to search queries. First, I understand the rules about
 search being non-covering, and that we are at the mercy of the index.
 That said, I've noticed some odd behavior lately.  As background
 material, we run many searches (and we're white-listed by IP and OAuth
 account), but the two I want to reference are the Mentions and the
 Location searches.

 The Mentions search seems pretty stable and uses this typical search
 (and then we exclude a bunch of things like Bay St. Louis, 
 etc.):http://search.twitter.com/search.atom?rpp=100q=stl+OR+%23stl+OR+stlo...

 The Location search has been VERY unstable, and uses this typical
 search:http://search.twitter.com/search.atom?rpp=100geocode=38.627522%2C-90...

 As the day progresses, we move up the high-water mark in the since_id
 to track what we've already received so we should be getting minimal
 gaps. We almost never see two 100-entry polls in a row, so I think
 we're keeping up with whatever coverage the search index is offering.

 I've posted in a Google Spreadsheet a graph of the tweet counts we're
 seeing since 7/1/2010 so you can see the trends  http://bit.ly/9wnnFM
 (sheet two is the graph).  Some interesting things to note:

 1) The Mentions search is very consistent.
 2) The Location search likes to bounce around a bit.
 3) In mid August, we started to have issues with more 403s and error
 about since_id being too old. We were also getting rate-limited in our
 calls to get the tweep details (since the ATOM feed is so meager). Due
 to a bug, I wasn't committing all the tweets when this happened.
 4) On or about Sept 1st, you guys did something that broke our ability
 to stay caught up... we started getting almost no tweets and lots of
 errors about since_id being too old. I thought this was due to your
 new tweet id assignment being rolled out.
 5) On Sept 5th, I got back from vacation and added logic to understand
 and use the no new tweets, roll the tweet id forward to this driven
 by parsing the link rel=refresh node in the ATOM feed.
 6) I also, around this time, added better logic to the tweep-lookup
 detail, only asking you for tweeps I don't have at least a minimal row
 on. This reduced the number of rate-limiting issues.
 7) We were very stable and until 9/23 when volume falls off a lot, and
 never really recovers. I think this is the new search engine
 rollout.

 To research a little more, I tried the Twitter advanced search page
 and asking for the RSS (atom, really) feed from the advanced search
 page I get this URL 
 now:http://search.twitter.com/search.atom?geocode=38.627522,-90.19841,30

 Which starts off like ours, but adds the (seemingly redundant) human-
 readable search criteria q=+near:38.627522,-90.19841+within:30mi.

 Oddly, if we remove that and do the same search at nearly the same
 instant, I DO get vastly different tweets sets... probably due to
 volume, possibly just sorting, but I would hope that with the same
 since_id value, I would get the same tweets... but I don't.

 So, I'm asking... what's going on?
 Why are we seeing so much volume fall-off?
 What can we do about it?
 Should I be running both searches (my current one and one with the
 human-readable query) to get better coverage?
 Is there any hope/expectation of the volume returning to normal?
 Doesn't anyone else care about tweep-location searches?

 Now, before you tell me that I should be using Site Streams (which I
 want to do), realize that I _NEED_ tweets from people whose profile
 location says they are in St. Louis (and similar) like the old Summize
 search honored. I can't just get by with the _tweet_ location being
 STL.

 Marc Brooks
 Chief guy getting yelled 
 at,http://stltweets.comhttp://taste.stltweets.comhttp://loufest.stltweets.com

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


[twitter-dev] rendering user profile in iFrame

2010-10-07 Thread Alex
Hi,
I'm working on a web application and would like to render a user's
Twitter profile page in an iFrame.

For some reason the profiles are not working, and I'm guessing you
have added some type of code to prevent this from happening?

Is there a reason why this is not allowed or a way I can enable it?

Thank 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