[twitter-dev] Getting number of retweets

2010-07-05 Thread Lumpizaver
Hey!

I am using c# for streaming tweets into my application. What I know
about a tweet is it's author and text. I would like to get the total
count of retweets on the imported tweet.


[twitter-dev] Re: @replies missing

2010-07-05 Thread Naveen Ayyagari
John it seems to me that people still may be having some issues with
@replies right now long after 2300UTC.. I have not specifically seen
any reports for us, but its late and I assume they will start up again
in the morning if there are still issues.

http://search.twitter.com/search?q=replies

Some samples from the past 10 minutes, missing replies, no replies,
replies from 2009 only...:

http://twitter.com/cenkbaban/statuses/1104103
http://twitter.com/mindcaster/statuses/1223601
http://twitter.com/phoenixemk/statuses/1163872
http://twitter.com/ak_hepcat/statuses/1163458
http://twitter.com/fredfiigglehorn/statuses/1065440
http://twitter.com/happyBeSacky/statuses/1057244
http://twitter.com/dcorsetto/statuses/17776966516


--Naveen

On Jul 4, 9:42 pm, John Kalucki j...@twitter.com wrote:
 I don't have all the details, but there was at least one deploy today around
 this issue. Any reports of missing mentions from tweets sent after about say
 23:00 UTC (4pm PDT) ?

 -John Kaluckihttp://twitter.com/jkalucki
 Infrastructure, Twitter Inc.

 On Sun, Jul 4, 2010 at 6:25 PM, Mike Champion mike.champ...@gmail.comwrote:

  I can see at least 1 missing tweet from my mentions list (at 9:20pm
  EDT 7/4/2010)

  This tweet:http://twitter.com/RodBegbie/status/17703020160

 http://api.twitter.com/1/statuses/show.json?id=17703020160

  doesn't appear in my mentions (permalink to my mentions via twitter
  hurl, but requires login. Is there a better permalink to send?):

 http://bit.ly/c79poT

  The tweet was sent ~20 hours ago, and doesn't appear in the mentions,
  even though newer mentions do.

  -mike

  On Jul 4, 4:25 pm, John Kalucki j...@twitter.com wrote:
   The mentions timelines were updating with additional latency, perhaps a
  few
   minutes, for about a day, but they were updating. They should be updating
  in
   near real time now.

   -John Kaluckihttp://twitter.com/jkalucki
   Infrastructure, Twitter Inc.

   On Sun, Jul 4, 2010 at 1:16 PM, Naveen Ayyagari
   nav...@getsocialscope.comwrote:

Hello,
   Hoping  we can get post on status.twitter.com about @replies not
showing up... We have been getting a lot of reports that they are
missing, and a quick twitter search seems to indicate it is not
limited to our application.

   http://search.twitter.com/search?had_popular=trueq=repliesresult_ty.
  ..


[twitter-dev] Re: Widget to follow a particular user

2010-07-05 Thread LansyJ
Thanks Furkan. Just what I wanted!

On Jul 3, 8:21 pm, Furkan Kuru furkank...@gmail.com wrote:
 Have a look at twitter anywhere:

 http://dev.twitter.com/anywhere/begin



 On Sat, Jul 3, 2010 at 1:26 AM, LansyJ lans...@gmail.com wrote:
  hi guys,

  I am promoting a site (www.cashpax.com). Today, I have placed an icon
  which the user needs to click to be taken to the twitter page of
  cashpax.com. Once there, he can click the link to follow us.

  I want to reduce this process to a single click...something similar to
  the like feature on facebook. So, the expected behaviour would be as
  follows:

  1. Check if twitter session is live for a browser
  2. If yes, check he is already a follower. If yes, show a link to
  unfollow. Else, show a link to follow.
  3. If the user is not logged in, show him the follow link. On clicking
  the link, he should be prompted to login on a popup window/lightbox.
  Post login, he should be automatically be following cashpax.com.

  Would like to know if there is any widget which already does this.
  Else, I plan to develop the same.

  Does anyone know how to check if the user is logged in? If he is
  already following?

  Thanks in advance!

 --
 Furkan Kuru


[twitter-dev] Invitations API

2010-07-05 Thread Johnny Honestly
Dear Please Sir to Your Kindness,

Please consider the following:

Open the find friends function to developers. I.e. Developer can
submit a bulk of email addresses of user to Twitter for purpose of
friend matching.

And while you're at it:

Allow developers to subscribe new users to your service, also via API.
It's like kids selling magazine subscriptions. It works.

Finally:

Get your asses out of the clouds.

When these are done, please notify me.


[twitter-dev] unable to get the previous trend...

2010-07-05 Thread awahid
I am trying to fetch the weekly trends of previous dates.

making a curl call
http://search.twitter.com/trends/daily.json?date=2010-06-03
http://search.twitter.com/trends/weekly.json?date=2010-06-03

and empty in trend result ...

Am I not able to fetch the previous trends???
Is there any possibility to get the trends of previous days?

please enlighten me.

Thanks


[twitter-dev] Re: @replies missing

2010-07-05 Thread Brad
Hey John -

Thanks for the update, though it appears that it's not only a matter
of latency.  Some users are reporting that their replies are missing
entirely.

On Jul 4, 3:25 pm, John Kalucki j...@twitter.com wrote:
 The mentions timelines were updating with additional latency, perhaps a few
 minutes, for about a day, but they were updating. They should be updating in
 near real time now.

 -John Kaluckihttp://twitter.com/jkalucki
 Infrastructure, Twitter Inc.

 On Sun, Jul 4, 2010 at 1:16 PM, Naveen Ayyagari
 nav...@getsocialscope.comwrote:



  Hello,
     Hoping  we can get post on status.twitter.com about @replies not
  showing up... We have been getting a lot of reports that they are
  missing, and a quick twitter search seems to indicate it is not
  limited to our application.

 http://search.twitter.com/search?had_popular=trueq=repliesresult_ty...


[twitter-dev] Pulling data from Twitter

2010-07-05 Thread lauthiamkok
Hi,

I am new to Twitter API and only know that we can pull someone's
Twitter feed from Twitter through RSS feed on that person's Twitter
page/ profile.

But, how can I pull more information of that person's Twitter page?
For instance,

1. His/ Her followers.
2. Total of his/ her retweet items.

You can take a look here for what I mean above,

http://www.qapture.net/

There are a couple of interesting things I still cannot figure them
out how they did this website,

1. If you compare the particular person's twitter feed on this website
with that person's twitter page, some of the items are pull in qapture
website, but some are not, so I think they must have select certain
items of feed only - how do they do that??

2. If you mouse over an item of feed on qapture website, you can see
other information of that feed item, such as '9 hours ago', '6
tweet(s)', etc - how do you get that information from?

Which area of Twitter API that I should look into to achieve the
matters above...?

Many thanks!

Lau


[twitter-dev] How can I check xauth request approved?

2010-07-05 Thread Nara
I sent email to request xauth access,

and I got reply that my application now has the ability to use xAuth.

but I'm having problem that

[401 error - Failed to validate oauth signature and token] when
requesting access token.

So I want to check that my application is supporting xauth or not,

How can I check?

In my application page in twitter, there is no change.


Re: [twitter-dev] Previous_Cursor Not Working

2010-07-05 Thread Thomas Billenstein
I had the same problem with next_cursor. next_cursor_str worked fine.

Thomas


2010/7/5 Ron rbther...@gmail.com:
 Anyone else seeing a problem on Followers or Friends with
 Previous_Cursor not working (returning a blank response)?



[twitter-dev] Need example about get info twittercounter api

2010-07-05 Thread doremon
Hi everybody,
- Now i want to make site get some info like twittercounter.com, But i
can not get full information like twittercounter . So i have some
questions.
1.The information at twittercounter.com only twittercounter can get
from twitter ?
ex : 866 Followers  616 Following   111 Tweets  #107,543
Twitter rank
-1 yesterday -48 yesterday+0 yesterday
107,482
   +101 on average -6 on average   +2 on averageyesterday

- And information follow weekly, monthly, 3 monthly,... for draw
amcharts.

2. If twitter has support please help me how can register for get this
information ( or i must payment for get this information).


Re: [twitter-dev] Farsi Twitter App

2010-07-05 Thread Jean-Charles Campagne
Hello Lucas,

We do not provide, yet, exactly what you are looking for, but for now
we might help you on the language filtering part.
We provide an API for language and location filtering for
micro-messages (Tweets and Facebook messages, etc.).

You'll find more info on the API website: http://developer.semiocast.com

Regarding the feature you are looking for, we made a request to
Twitter to be able to redistribute a filtered API, so we will be
able to provide something closer to what you are looking for. You can,
more or less, achieve the same today with our current state of the API
but it'll be more plumbing on your side.


Best regards,
Jean-Charles Campagne
Semiocast

On Sat, Jul 3, 2010 at 12:36 AM, Lucas Vickers lucasvick...@gmail.com wrote:
 Hello,

 I am trying to create an app that will show tweets and trends in
 Farsi, for native speakers.  I would like to somehow get a sample
 'garden hose' of Farsi based tweets, but I am unable to come up with
 an elegant solution.



[twitter-dev] Need example about get info twittercounter api

2010-07-05 Thread doremon
- Now i want to make site get some info like twittercounter.com, But i
can not get full information like twittercounter . So i have some
questions.
1.The information at twittercounter.com only twittercounter can get
from twitter ?
ex : 866 Followers  616 Following   111 Tweets  #107,543
Twitter rank
-1 yesterday -48 yesterday+0 yesterday
107,482
   +101 on average -6 on average   +2 on averageyesterday

- And information follow weekly, monthly, 3 monthly,... for draw
amcharts.

2. If twitter has support please help me how can register for get this
information ( or i must payment for get this information).


Re: [twitter-dev] Previous_Cursor Not Working

2010-07-05 Thread CWorster
Same problem here. I'm using previous_cursor_str and next_cursor_str.

previous_cursor_str stopped working.

next_cursor_str works as expected.


2010/7/5 Ron rbther...@gmail.com:
 Anyone else seeing a problem on Followers or Friends with
 Previous_Cursor not working (returning a blank response)?



[twitter-dev] Re: Previous_Cursor Not Working

2010-07-05 Thread Ron
This is still not working.  Previous_Cursor_Str for current page less
than 4 returns an empty object on either Followers or Friends API
calls.  Nothing showing up on Twitter Status about this.  Does anyone
at Twitter care to comment?

On Jul 5, 6:38 am, CWorster cwors...@schlimmer.com wrote:
 Same problem here. I'm using previous_cursor_str and next_cursor_str.

 previous_cursor_str stopped working.

 next_cursor_str works as expected.

 2010/7/5 Ron rbther...@gmail.com:



  Anyone else seeing a problem on Followers or Friends with
  Previous_Cursor not working (returning a blank response)?


[twitter-dev] Re: Home_timeline and retweets

2010-07-05 Thread luisg
Can somebody help?

Maybe I'm doing something wrong.
For example, if account A has Account B as follower and vice-versa,
and if account A retweets tweet XPTO made by account B, shouldn't the
tweet XPTO appear with retweet_status property if we request the
home_timeline?

Please help,

Luis


On Jul 3, 4:45 pm, luisg luisfmgoncal...@gmail.com wrote:
 Hello everybody,

 I'm having a problem lately with the retweets. In the API
 documentation and about the home_timeline says:

 'Returns the 20 most recent statuses, including retweets, posted by
 the authenticating user and that user's friends. This is the
 equivalent of /timeline/home on the Web.'

 The problem is, when I request the home_timeline, none of my tweets
 have the 'retweeted_status' that should be present if it is a retweet.

 But if I request 'retweeted_by_me' I get all the information,
 including the 'retweeted_status'.

 Can someone tell me what's wrong? Something changed?

 Thanks,

 Luis


Re: [twitter-dev] Re: Home_timeline and retweets

2010-07-05 Thread Thomas Woolway
I don't think that you're doing anything wrong - it's just a quirk of the
API - you don't get any info in your home timeline on stuff you retweeted.

I think this is because of the condition that you should never see a retweet
if you would have seen it already in your timeline. This stops you from
seeing the latest popular tweet retweeted 100 times from each of your
followers if you follow the person who originally tweeted it. However, I
guess it also stops you seeing that you have retweeted a tweet, as
theoretically you've already seen it.

I think I've made that more complicated than it actually is...

The only thing that you can do is to get the Home Timeline and then merge
retweets_of_me in over the top.

Tom

On Mon, Jul 5, 2010 at 4:03 PM, luisg luisfmgoncal...@gmail.com wrote:

 Can somebody help?

 Maybe I'm doing something wrong.
 For example, if account A has Account B as follower and vice-versa,
 and if account A retweets tweet XPTO made by account B, shouldn't the
 tweet XPTO appear with retweet_status property if we request the
 home_timeline?

 Please help,

 Luis


 On Jul 3, 4:45 pm, luisg luisfmgoncal...@gmail.com wrote:
  Hello everybody,
 
  I'm having a problem lately with the retweets. In the API
  documentation and about the home_timeline says:
 
  'Returns the 20 most recent statuses, including retweets, posted by
  the authenticating user and that user's friends. This is the
  equivalent of /timeline/home on the Web.'
 
  The problem is, when I request the home_timeline, none of my tweets
  have the 'retweeted_status' that should be present if it is a retweet.
 
  But if I request 'retweeted_by_me' I get all the information,
  including the 'retweeted_status'.
 
  Can someone tell me what's wrong? Something changed?
 
  Thanks,
 
  Luis



[twitter-dev] oauth_sign - simple C code to generate an OAuth signature

2010-07-05 Thread Jef Poskanzer
Last week I finished converting my homebrew Twitter apps to OAuth.
There were four parts to this effort, one of which includes a significant
new piece of OAuth software.  I'll talk about each part in turn.


Part 0: Deciding to do it.  My apps are command-line based and call
Twitter using my equivalents of curl, called http_get and http_post.
These are simple command-line programs that make an HTTP call.  What
I needed was a simple command-line program to make an OAuth-signed HTTP
call.  Did that already exist?  Sort of - there was Marcel Molina's
twurl: http://github.com/marcel/twurl  Only problem is that it's written
in Ruby, which I do not have installed and am not really intrerested in
installing.  For those of us who want to stick with plain old C or
possibly C++, the only available OAuth code is liboauth:
http://liboauth.sourceforge.net/  This includes code to link with
libcurl and make signed HTTP calls.  It's pretty huge - 1.6 megabytes
of source.  I tried it anyway.  Unfortunately I couldn't get to work
on my system.  So I was kind of stuck, and decided to roll my own.


Part 1: Generating OAuth signatures.  I figured that instead of writing
a program to make signed HTTP calls directly, I would write something
that generates the signature header, and then use that with my existing
HTTP callers.  I worked my way through RFC5849 for a few weeks and came
up with this, which is the main reason for this message:

http://acme.com/software/oauth_sign/

There's both a library call and a command-line program.  Written in C,
20 KB of source, Berkeley-style license.  It interoperates with Twitter,
and I checked it for memory leaks - clean.  The only library it depends
on is OpenSSL's libcrypto, which should be present on any modern system.
If you try it, please let me know about any portability issues, for
example srandomdev() probably doesn't exist on non-FreeBSD systems.


Part 2: Getting OAuth tokens.  Once I had the signature generator
working, this part took about a day to set up.  You can see it here:
http://acme.com/twitter/ - one HTML/JavaScript page that calls
a few CGIs.  Feel free to run through the authorization process
if you like, and/or read the .js file.  Even though this was relatively
easy, I feel I should not have needed to do it.  Rather than making
every app developer write pretty much the same thing, Twitter should
provide, as an option, a generic authorization page that works for any app.
Given that, writing simple command-line Twitter apps would once again
be nice and easy.


Part 3: Adapting my apps to use the new code.  This part was trivial.
Where they used to call http_get/http_post, now they first call
oauth_sign and then pass the signature header to http_get/http_post.
It's literally just a couple extra lines of code.  However, my app's
consumer token  secret have to be built into the code, therefore I can
no longer distribute these apps for others to use.  Supposedly
Twitter has a solution in the works for open-source apps like this.
When that becomes available I'll check it out and see if it solves
this.
---
Jef

 Jef Poskanzer  j...@mail.acme.com  http://acme.com/jef/


[twitter-dev] to create Api on my website

2010-07-05 Thread vivek
 how can i create a Api on my website.


[twitter-dev] Re: @replies missing

2010-07-05 Thread jamescrowley
Hi guys - my replies are missing too on two of my accounts
(@jamescrowley and @thetecheye).

Got one reply 16h ago, the next one 10 days ago, and the one after
that 141 days ago.

They appear in the search results though :) 
http://search.twitter.com/search?q=%40jamescrowley

What's up?

On Jul 5, 9:43 am, Naveen Ayyagari nav...@getsocialscope.com wrote:
 John it seems to me that people still may be having some issues with
 @replies right now long after 2300UTC.. I have not specifically seen
 any reports for us, but its late and I assume they will start up again
 in the morning if there are still issues.

 http://search.twitter.com/search?q=replies

 Some samples from the past 10 minutes, missing replies, no replies,
 replies from 2009 only...:

 http://twitter.com/cenkbaban/statuses/1104103http://twitter.com/mindcaster/statuses/1223601http://twitter.com/phoenixemk/statuses/1163872http://twitter.com/ak_hepcat/statuses/1163458http://twitter.com/fredfiigglehorn/statuses/1065440http://twitter.com/happyBeSacky/statuses/1057244http://twitter.com/dcorsetto/statuses/17776966516



[twitter-dev] Can't get geotagging to work.

2010-07-05 Thread meto
Hi guys,

I'm having problems with submitting my geo-location with a status.

I'm using the twitteroauth (PHP, by abraham on github) which works
pretty fine. My call looks like this


$parameters = array(
'status'= 'This is a call',
'lat'   = 37.78,
'long'  = -122.40,
'display_coordinates'   = 1,
);
$status = $connection-post('statuses/update', $parameters);

The status is being submitted, though the result doesn't contain any
geodata.

It looks like this:

Object
(
[coordinates] =
[in_reply_to_screen_name] =
[truncated] =
[source] = My Test App
[created_at] = Mon Jul 05 14:51:37 + 2010
[geo] =
[in_reply_to_status_id] =
[contributors] =
[user] = stdClass Object
(
[favourites_count] = 0
[description] =
[location] = Berlin
[verified] =
[profile_text_color] = 00
[time_zone] = Greenland
[profile_link_color] = ff
[lang] = de
[profile_background_image_url] =
http://s.twimg.com/a/1278188204/images/themes/theme1/bg.png
[created_at] = Tue May 11 13:36:19 + 2010
[profile_sidebar_fill_color] = e0ff92
[notifications] =
[profile_background_tile] =
[profile_image_url] = 
http://s.twimg.com/a/1278188204/images/default_profile_3_normal.png
[statuses_count] = 20
[following] =
[profile_sidebar_border_color] = 87bc44
[protected] =
[profile_use_background_image] = 1
[followers_count] = 0
[screen_name] = MyTestAccount
[name] = Well this is a Test
[contributors_enabled] =
[friends_count] = 0
[url] =
[id] = 1234567890
[geo_enabled] = 1
[utc_offset] = -10800
[profile_background_color] = fff
)

[in_reply_to_user_id] =
[place] =
[favorited] =
[id] = 1234567890
[text] = This is a call
)

As you can see geo_enabled is true, coordinates and geo are empty.
So my lat and long parameters are ignored.

Also with a place_id it doesn't work.

This is definitely not a problem with twitteroauth.

I tested with the old API, which is still available.

curl -u {USER}:{PASSWORD} -d status=This is a
calllat=51.52362long=12.38064 https://api.twitter.com/1/statuses/update.xml

Which results in the same result. This exact same call worked back on
may 11th, when I took my first steps with the Twitter API.

Can anyone pls point me in the right direction? Is this working at all
at the moment or is it just disabled?

Kind regards,
Daniel


[twitter-dev] Re: oauth_sign - simple C code to generate an OAuth signature

2010-07-05 Thread Ross Burton
On Jul 5, 5:48 pm, Jef Poskanzer j...@mail.acme.com wrote:
 Part 0: Deciding to do it.  My apps are command-line based and call
 Twitter using my equivalents of curl, called http_get and http_post.
 These are simple command-line programs that make an HTTP call.  What
 I needed was a simple command-line program to make an OAuth-signed HTTP
 call.  Did that already exist?  Sort of - there was Marcel Molina's
 twurl:http://github.com/marcel/twurl Only problem is that it's written
 in Ruby, which I do not have installed and am not really intrerested in
 installing.  For those of us who want to stick with plain old C or
 possibly C++, the only available OAuth code is 
 liboauth:http://liboauth.sourceforge.net/ This includes code to link with
 libcurl and make signed HTTP calls.  It's pretty huge - 1.6 megabytes
 of source.  I tried it anyway.  Unfortunately I couldn't get to work
 on my system.  So I was kind of stuck, and decided to roll my own.

Another option is librest -- http://meego.gitorious.org/meego-middleware/librest

It uses GObject and libsoup which is either a big plus or a huge
negative, depending on your point of view.

Ross


Re: [twitter-dev] oauth_sign - simple C code to generate an OAuth signature

2010-07-05 Thread Decklin Foster
Excerpts from Jef Poskanzer's message of Mon Jul 05 12:48:27 -0400 2010:
 I needed was a simple command-line program to make an OAuth-signed HTTP
 call.  Did that already exist?  Sort of - there was Marcel Molina's
 twurl: http://github.com/marcel/twurl  Only problem is that it's written
 in Ruby, which I do not have installed and am not really intrerested in
 installing.

There is also Curlicue, which I've written:

http://github.com/decklin/curlicue

I've been waiting on the open source workflow to announce it here,
but may already be useful for those who don't have a need for directly
linking to C code.

-- 
things change.
deck...@red-bean.com


[twitter-dev] Failed to validate oauth signature and token using ColdFusion8

2010-07-05 Thread Carlos Villarreal Mora
Hello I've been trying to solve this since Friday to no avail. I've
searched and used tips from a bunch of other discussions here but I
still haven't gotten it right.

I'm using ColdFusion 8 to generate my OAuth signature. These are the
tweaks I've done from tips in this discussion list:
1) For the timestamp I convert to UTC time with this function:
var nowUTC = dateConvert('local2UTC', now());
var epochStart = CreateDateTime('1970','1','1','00','00','00');
var timestamp = dateDiff(s, epochStart, nowUTC);

This results in these values:
nowUTC = {ts '2010-07-05 17:22:30'}
epochStart = {ts '1970-01-01 00:00:00'}
timestamp = 1278346950

2) For the Nonce I use ColdFusion's createUUID function and then,
based on this (http://www.cflib.org/udf/CreateGUID) from CFLib.org I
convert that UUID into a GUID like so:
var uuid = createUUID();
//Convert the UUID to a GUID by inserting a dash in the 23rd position
var nonce = insert(-, uuid, 23);

This is an example of a resulting nonce:
A3A1648E-F1F0-4032-75F4-712F676BE7E6

3) The most difficult part, and where I'm sure the error is, is the
SHA1 hashing, ColdFusion sucks at it so I'm using Java in the
function:
cffunction name=javaHMAC returntype=string access=public
output=false
cfargument name=signKey   type=string required=true 
/
cfargument name=signMessage type=string required=true /
cfscript
var jMsg =
javaCast(string,arguments.signMessage).getBytes(UTF8);
var jKey = 
javaCast(string,arguments.signKey).getBytes(UTF8);
var key  = 
createObject(java,javax.crypto.spec.SecretKeySpec);
var mac  = createObject(java,javax.crypto.Mac);
var ret  = ;

key = key.init(jKey,HmacSHA1);
mac = mac.getInstance(key.getAlgorithm());
mac.init(key);
mac.update(jMsg);

ret = lCase(binaryEncode(mac.doFinal(), 'Hex'));

return(ret);
/cfscript
/cffunction

When I sign the base using my Consumer Secret appended by a  using
this function the result is something like this:
01eb730a110b1e09ccc9bbff9dbca73c5047f4d4

Here's the Signature Base and the Header I create (my consumer key is
masked for security reasons):
- Signature Base:
POSThttps%3A%2F%2Fapi%2Etwitter%2Ecom%2Foauth%2Frequest
%5Ftokenoauth_callback%3Dhttp%3A%2F%2Fcommunitydev%2Epaperthin%2Ecom
%2FTwitter%2FoAuth%2Ecfm%26oauth_consumer_key%3D
%26oauth_nonce%3DA394B8B8-
F1F0-4032-72C8-701CEC482A20%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1278328119

- OAuht Authorization Header:
OAuth oauth_nonce=A394B8B8-F1F0-4032-72C8-701CEC482A20,
oauth_callback=http%3A%2F%2Fcommunitydev%2Epaperthin%2Ecom%2FTwitter
%2FoAuth%2Ecfm, oauth_signature_method=HMAC-SHA1,
oauth_timestamp=1278328119, oauth_consumer_key=xxx,
oauth_signature=4799dd5a6891474d603a3546c14e9b41ea47088d,
oauth_version=1.0

There are no line breaks in either of them btw. Can anybody help me
with this? Try as I might I haven't been able to get beyond the
Failed to validate oauth signature and token response.

Thank you.


[twitter-dev] Geo XML Format Query

2010-07-05 Thread Steve
Hi all,

I've done a search here for this info, and looked through the docs,
but I can't find what I'm looking for documented anywhere.

What I'm after is a full sample of what data might appear in the geo/
, coordinates/ and place/ tags, when they're populated. At
present I've only seen some inner georss:point tags, but I'm curious
what else may appear within these.

I'm creating a tweet backup type thing, and pulling out various data
items from the tweet to stick into SQL and analyse, and knowing what
data might be in here would be handy.

Thanks!


[twitter-dev] Re: oauth_sign - simple C code to generate an OAuth signature

2010-07-05 Thread Jef Poskanzer
On Jul 5, 10:52 am, Decklin Foster deck...@red-bean.com wrote:
 There is also Curlicue, which I've written:
 http://github.com/decklin/curlicue

Ooo a sh script!  Very nice.


Re: [twitter-dev] Re: oauth_sign - simple C code to generate an OAuth signature

2010-07-05 Thread Cameron Kaiser
  There is also Curlicue, which I've written:
  http://github.com/decklin/curlicue
 
 Ooo a sh script!  Very nice.

Hey, that *is* pretty slick. I like the way it handles openssl.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Gravity is a myth. The Earth just sucks. ---


[twitter-dev] Streaming API and Oauth

2010-07-05 Thread Zhami
The Oauth Overview page http://dev.twitter.com/pages/auth_overview
has sections for three APIs: REST, Search, and Streaming. The bottom
of the page displays a ribbon stating that The @twitterapi team will
be shutting of basic authentication for the Twitter API.  Does this
mean all of the Twitter APIs (REST, Search, and Streaming)? or just
the REST API?

Most specifically, while I know that the Streaming API end-point now
supports OAuth, I do not know if Streaming will require OAuth come
August 16th...  can someone please clarify. TIA.


Re: [twitter-dev] Streaming API and Oauth

2010-07-05 Thread Pascal Jürgens
Quoting John Kalucki:

 We haven't announced our plans for streaming and oAuth, beyond stating that 
 User Streams will only be on oAuth.


Right now, basic auth and oAuth both work on streaming, and that won't change 
when basic for REST turns off. Since there's no set shutdown date yet for 
basic/streaming, I wouldn't expect it to happen soon.

Pascal

On Jul 5, 2010, at 20:25 , Zhami wrote:

 The Oauth Overview page http://dev.twitter.com/pages/auth_overview
 has sections for three APIs: REST, Search, and Streaming. The bottom
 of the page displays a ribbon stating that The @twitterapi team will
 be shutting of basic authentication for the Twitter API.  Does this
 mean all of the Twitter APIs (REST, Search, and Streaming)? or just
 the REST API?
 
 Most specifically, while I know that the Streaming API end-point now
 supports OAuth, I do not know if Streaming will require OAuth come
 August 16th...  can someone please clarify. TIA.



[twitter-dev] Invalid timescale error on location trends

2010-07-05 Thread Heidi Hysell
I'm trying to use the trends/location/woeid functionality (http://
dev.twitter.com/doc/get/trends/location/:woeid) and keep on getting
the following error:
code: 31 message: Invalid timescale: must be 'current', 'hourly', or
'daily'

The documentation doesn't specify anything about sending in a
timescale. I try and send in the timescale=current as a parameter,
however it still gives me the same error.
I've tried using different woeid's and they all result in the same
error.
Using the twitter provided console also yields the same error (http://
dev.twitter.com/console).

Any insight is appreciated.

Thanks,
Heidi


[twitter-dev] Re: Home_timeline and retweets

2010-07-05 Thread luisg
So, instead of 1, now I have to do 2 call (one for the home_timeline
and another for the retweets_of_me).

I started to understand the 'Tiwtter is over capacity' error!

...ridiculous...


On Jul 5, 6:17 pm, Thomas Woolway priv...@tswoolway.co.uk wrote:
 I don't think that you're doing anything wrong - it's just a quirk of the
 API - you don't get any info in your home timeline on stuff you retweeted.

 I think this is because of the condition that you should never see a retweet
 if you would have seen it already in your timeline. This stops you from
 seeing the latest popular tweet retweeted 100 times from each of your
 followers if you follow the person who originally tweeted it. However, I
 guess it also stops you seeing that you have retweeted a tweet, as
 theoretically you've already seen it.

 I think I've made that more complicated than it actually is...

 The only thing that you can do is to get the Home Timeline and then merge
 retweets_of_me in over the top.

 Tom

 On Mon, Jul 5, 2010 at 4:03 PM, luisg luisfmgoncal...@gmail.com wrote:
  Can somebody help?

  Maybe I'm doing something wrong.
  For example, if account A has Account B as follower and vice-versa,
  and if account A retweets tweet XPTO made by account B, shouldn't the
  tweet XPTO appear with retweet_status property if we request the
  home_timeline?

  Please help,

  Luis

  On Jul 3, 4:45 pm, luisg luisfmgoncal...@gmail.com wrote:
   Hello everybody,

   I'm having a problem lately with the retweets. In the API
   documentation and about the home_timeline says:

   'Returns the 20 most recent statuses, including retweets, posted by
   the authenticating user and that user's friends. This is the
   equivalent of /timeline/home on the Web.'

   The problem is, when I request the home_timeline, none of my tweets
   have the 'retweeted_status' that should be present if it is a retweet.

   But if I request 'retweeted_by_me' I get all the information,
   including the 'retweeted_status'.

   Can someone tell me what's wrong? Something changed?

   Thanks,

   Luis


[twitter-dev] Re: Need example about get info twittercounter api

2010-07-05 Thread luisg
Not sure if you can get all that info with the Twitter API. But for
followers and tweets, you can get them using user/show:

...
followers_count1031/followers_count
...
statuses_count3390/statuses_count
...

check here: 
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0friends

The number of friends, maybe with this one:
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0friends

Luis

On Jul 5, 8:55 am, doremon dungdet...@gmail.com wrote:
 - Now i want to make site get some info like twittercounter.com, But i
 can not get full information like twittercounter . So i have some
 questions.
 1.The information at twittercounter.com only twittercounter can get
 from twitter ?
 ex : 866 Followers      616 Following   111 Tweets      #107,543
 Twitter rank
     -1 yesterday         -48 yesterday    +0 yesterday
 107,482
    +101 on average     -6 on average   +2 on average        yesterday

 - And information follow weekly, monthly, 3 monthly,... for draw
 amcharts.

 2. If twitter has support please help me how can register for get this
 information ( or i must payment for get this information).


[twitter-dev] @mention messages appear in the timeline

2010-07-05 Thread show3r
hi i want you to implement mention messages to appear in the timeline,
wont you think that would give the idea of twitter a boost?


[twitter-dev] Re: Geo XML Format Query

2010-07-05 Thread Steve
Forgot to mention that I mean in the context of any of the timelines,
where tweets are returned in XML form

On Jul 5, 6:56 pm, Steve 25tol...@gmail.com wrote:
 Hi all,

 I've done a search here for this info, and looked through the docs,
 but I can't find what I'm looking for documented anywhere.

 What I'm after is a full sample of what data might appear in the geo/, 
 coordinates/ and place/ tags, when they're populated. At

 present I've only seen some inner georss:point tags, but I'm curious
 what else may appear within these.

 I'm creating a tweet backup type thing, and pulling out various data
 items from the tweet to stick into SQL and analyse, and knowing what
 data might be in here would be handy.

 Thanks!


Re: [twitter-dev] Geo XML Format Query

2010-07-05 Thread Raffi Krikorian
hi steve.

there are two different ways to geotag a tweet.  there is geotagging with
an exact latitude and longitude, and then there is geotagging with a place.

when you geotag with an exact latitude and longitude, the coordinates (and
geo) attributes will be filled.  additionally, if twitter has data for that
area of the world, we will also immediately populate the place attribute
with the contextual information.  it is possible that we don't have data for
that location, at which point the place attribute will be empty.

you can also geotag with a place -- that's a neighborhood, a city, state,
point of interest, etc.  when somebody does that, only the place attribute
is filled.

take a look at http://api.twitter.com/1/statuses/show/17536619739.xml as
that has all the fields populated.

hope that helps!


On Mon, Jul 5, 2010 at 10:56 AM, Steve 25tol...@gmail.com wrote:

 Hi all,

 I've done a search here for this info, and looked through the docs,
 but I can't find what I'm looking for documented anywhere.

 What I'm after is a full sample of what data might appear in the geo/
 , coordinates/ and place/ tags, when they're populated. At
 present I've only seen some inner georss:point tags, but I'm curious
 what else may appear within these.

 I'm creating a tweet backup type thing, and pulling out various data
 items from the tweet to stick into SQL and analyse, and knowing what
 data might be in here would be handy.

 Thanks!




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


Re: [twitter-dev] @mention messages appear in the timeline

2010-07-05 Thread Raffi Krikorian
i'm sorry, i'm not sure what you're asking.  the mentions timeline has
mentions information in it: http://dev.twitter.com/doc/get/statuses/mentions

On Mon, Jul 5, 2010 at 12:12 PM, show3r sho...@gmail.com wrote:

 hi i want you to implement mention messages to appear in the timeline,
 wont you think that would give the idea of twitter a boost?




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


Re: [twitter-dev] Re: Home_timeline and retweets

2010-07-05 Thread Raffi Krikorian
i don't think ridiculous is the right term :P  we're constantly evolving
the API to match up with what our developers are trying to do!

so - that being said - what are you looking for?  are you trying to figure
out which tweets on the home timeline has the authenticating user retweeted?

On Mon, Jul 5, 2010 at 2:58 PM, luisg luisfmgoncal...@gmail.com wrote:

 So, instead of 1, now I have to do 2 call (one for the home_timeline
 and another for the retweets_of_me).

 I started to understand the 'Tiwtter is over capacity' error!

 ...ridiculous...


 On Jul 5, 6:17 pm, Thomas Woolway priv...@tswoolway.co.uk wrote:
  I don't think that you're doing anything wrong - it's just a quirk of the
  API - you don't get any info in your home timeline on stuff you
 retweeted.
 
  I think this is because of the condition that you should never see a
 retweet
  if you would have seen it already in your timeline. This stops you from
  seeing the latest popular tweet retweeted 100 times from each of your
  followers if you follow the person who originally tweeted it. However, I
  guess it also stops you seeing that you have retweeted a tweet, as
  theoretically you've already seen it.
 
  I think I've made that more complicated than it actually is...
 
  The only thing that you can do is to get the Home Timeline and then merge
  retweets_of_me in over the top.
 
  Tom
 
  On Mon, Jul 5, 2010 at 4:03 PM, luisg luisfmgoncal...@gmail.com wrote:
   Can somebody help?
 
   Maybe I'm doing something wrong.
   For example, if account A has Account B as follower and vice-versa,
   and if account A retweets tweet XPTO made by account B, shouldn't the
   tweet XPTO appear with retweet_status property if we request the
   home_timeline?
 
   Please help,
 
   Luis
 
   On Jul 3, 4:45 pm, luisg luisfmgoncal...@gmail.com wrote:
Hello everybody,
 
I'm having a problem lately with the retweets. In the API
documentation and about the home_timeline says:
 
'Returns the 20 most recent statuses, including retweets, posted by
the authenticating user and that user's friends. This is the
equivalent of /timeline/home on the Web.'
 
The problem is, when I request the home_timeline, none of my tweets
have the 'retweeted_status' that should be present if it is a
 retweet.
 
But if I request 'retweeted_by_me' I get all the information,
including the 'retweeted_status'.
 
Can someone tell me what's wrong? Something changed?
 
Thanks,
 
Luis




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


Re: [twitter-dev] Invalid timescale error on location trends

2010-07-05 Thread Raffi Krikorian
hey heidi.

can you provide more information?  i just tried the following few things:

http://api.twitter.com/1/trends/2487956.xml (trends in SF)
http://api.twitter.com/1/trends/2487956/current.xml (same as above)
http://api.twitter.com/1/trends/2487956/hourly.xml (hourly version of trends
from SF)
http://api.twitter.com/1/trends/2487956/daily.xml (the day's trends from SF)

and those worked.  what's the exact call you're trying?

On Mon, Jul 5, 2010 at 2:35 PM, Heidi Hysell heidi.hys...@gmail.com wrote:

 I'm trying to use the trends/location/woeid functionality (http://
 dev.twitter.com/doc/get/trends/location/:woeid) and keep on getting
 the following error:
 code: 31 message: Invalid timescale: must be 'current', 'hourly', or
 'daily'

 The documentation doesn't specify anything about sending in a
 timescale. I try and send in the timescale=current as a parameter,
 however it still gives me the same error.
 I've tried using different woeid's and they all result in the same
 error.
 Using the twitter provided console also yields the same error (http://
 dev.twitter.com/console).

 Any insight is appreciated.

 Thanks,
 Heidi




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


Re: [twitter-dev] How can I check xauth request approved?

2010-07-05 Thread Raffi Krikorian
it takes a few days for us to process xauth requests - you should hear back
from us soon!

On Sun, Jul 4, 2010 at 7:57 PM, Nara ijwc...@gmail.com wrote:

 I sent email to request xauth access,

 and I got reply that my application now has the ability to use xAuth.

 but I'm having problem that

 [401 error - Failed to validate oauth signature and token] when
 requesting access token.

 So I want to check that my application is supporting xauth or not,

 How can I check?

 In my application page in twitter, there is no change.




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


Re: [twitter-dev] Pulling data from Twitter

2010-07-05 Thread Raffi Krikorian
hi lau.

check out http://dev.twitter.com/doc - the methods that you need to call are
all documented there.

On Sun, Jul 4, 2010 at 2:12 PM, lauthiamkok lau.thiam...@googlemail.comwrote:

 Hi,

 I am new to Twitter API and only know that we can pull someone's
 Twitter feed from Twitter through RSS feed on that person's Twitter
 page/ profile.

 But, how can I pull more information of that person's Twitter page?
 For instance,

 1. His/ Her followers.
 2. Total of his/ her retweet items.

 You can take a look here for what I mean above,

 http://www.qapture.net/

 There are a couple of interesting things I still cannot figure them
 out how they did this website,

 1. If you compare the particular person's twitter feed on this website
 with that person's twitter page, some of the items are pull in qapture
 website, but some are not, so I think they must have select certain
 items of feed only - how do they do that??

 2. If you mouse over an item of feed on qapture website, you can see
 other information of that feed item, such as '9 hours ago', '6
 tweet(s)', etc - how do you get that information from?

 Which area of Twitter API that I should look into to achieve the
 matters above...?

 Many thanks!

 Lau




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


[twitter-dev] Friend and Follower count - since timestamp

2010-07-05 Thread nischalshetty
My app http://justunfollow.com extensively uses the friends/ids and
followers/ids API. Since twitter users have a lot of followers and
friends and this API is paginated, I find it repetitive to use it.

A since param that sends me all new friend and follower ids of a
user along with the deleted ids (when someone stops being a friend or
follower) would help a lot. I checked the documentation but found no
mention of this. Please help!