[twitter-dev] not getting unfollow and retweet event from User Stream

2010-12-08 Thread Yusuke Yamamoto
Hi all,

I'm not getting unfollow (from me) and retweet (from me) events from User 
Stream now.
I suppose I used to be getting that sort of events as documented.

--
• Friendship Events
• Created - To you, from you
...
• Retweet Events
• To you, from you. (Retweets from your followings are sent as 
the actual home timeline retweet)
--
from: http://dev.twitter.com/pages/user_streams


Is there any spec change that I'm missing?

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

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

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


[twitter-dev] Re: oauth_callback

2010-12-08 Thread Dave-twiends
Hi Tim, I'm pretty sure the oauth_verifier is documented in their
oAuth articles.. I'm speeking from memory here, but I'm sure I saw
last week when we were investigating our own oAuth issues..

But, nonetheless, you are correct, oauth_verifier should be passed
back every time.

Dave
Twiends

On Dec 8, 2:27 am, Tim Bull tim.b...@binaryplex.com wrote:
 There is a required OAuth parameter step which is unclearly documented
 by Twitter. When Twitter returns from your /oauth/authorize It returns
 an oauth_verifier token. Make sure that you pass this oauth_verifier
 token (along with the other parameters) along to
 your /oauth/access_token call.

 Make sure you are passing this oauth_verifier in and see how you go.
 I've found that if you DON'T set a callback, it doesn't enforce the
 verifier, but if you do, then the verifier is essential (just be aware
 Twitter are planning to change to always require this in the future, so
 it's more compliant with the spec; worth making this change regardless,
 a lot of Twitter libraries don't implement it).

 Hope this helps...

 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


[twitter-dev] Tweets with hashtags composed of Korean characters are not visible on the search list since last friday

2010-12-08 Thread meinside
When trying to search for tweets with such hashtags,

(e.g.
http://twitter.com/#!/search/%23%ED%95%98%EC%9D%B4%EC%9B%90_
http://twitter.com/#!/search/%23%EC%86%8C%EC%A3%BC%EB%8B%B9_
...and more)

only tweets before last friday or saturday can be seen on the list.
They are 'actually there' though.
(Both on WEB and API)



I've tested with several hashtags with Korean letters, and all of them
had similar results.

Some tweets appear on the list for a short time, but after about 5 or
10 minutes they disappear like other ones.



Is this a known issue?

-- 
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] Best practice for monitoring scheduled scripts

2010-12-08 Thread Gortron
Hello,

Could any developers give me some advise on monitoring/spotting
downtime of a Cron scheduled Twitter API script?

I have a script written for a client using OAuth which communicates
with the Twitter API each minute and can reply to Tweets.

It works fine but every so often it no longer responds to Tweets as it
is designed to do. Running the script manually works fine and then it
starts again after a while. I can see no errors.

Can anyone give any advise on how to debug this?

Thanks for any advise.

-- 
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] Issues with facebook/Twitter?

2010-12-08 Thread David
I've seen so many people talking about this but i want to ask
directly, why does facebook come up with Twitter is over capacity
when trying to connect facebook to twitter? I'm a developer myself and
I honestly can't seem to figure out why this happens. And it's
annoying because i can't connect them. .; But my original point
stands; Why?


David.

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


[twitter-dev] Twitter Api show username

2010-12-08 Thread roderick
Dear Twitter developers,

I finally created a good conenction with twitter etc, but now i get
this:

stdClass Object
(
[profile_background_image_url] = 
http://s.twimg.com/a/1291318259/images/themes/theme14/bg.gif
[favourites_count] = 0
[show_all_inline_media] =
[geo_enabled] =
[notifications] =
[profile_sidebar_border_color] = ee
[profile_background_tile] = 1
[friends_count] = 104
[profile_image_url] = ###
[location] =  ###
[follow_request_sent] =
[followers_count] = 31
[id_str] =  ###
[lang] = en
[profile_background_color] = 131313
[url] =  ###
[screen_name] =  ###
[statuses_count] = 19
[time_zone] = Amsterdam
[profile_text_color] = ff6200
[listed_count] = 0
[following] =
[protected] =
[created_at] = Mon Aug 03 21:00:24 + 2009
[profile_link_color] = 188cc2
[description] =  ###
[name] =  ###
[contributors_enabled] =
[profile_use_background_image] = 1
[id] = ###
[verified] =
[utc_offset] =  ###
[profile_sidebar_fill_color] = ebebeb


Now I want to display for example, thescreenname, amount of followers
etc. But How do i do that?

the codes that i alreayd have:


?php
/**
 * @file
 * User has successfully authenticated with Twitter. Access tokens
saved to session and DB.
 */

/* Load required lib files. */
session_start();
require_once('twitteroauth/twitteroauth.php');
require_once('config.php');

/* If access tokens are not available redirect to connect page. */
if (empty($_SESSION['access_token']) || empty($_SESSION['access_token']
['oauth_token']) || empty($_SESSION['access_token']
['oauth_token_secret'])) {
header('Location: ./clearsessions.php');
}
/* Get user access tokens out of the session. */
$access_token = $_SESSION['access_token'];

/* Create a TwitterOauth object with consumer/user tokens. */
$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET,
$access_token['oauth_token'], $access_token['oauth_token_secret']);

/* If method is set change API call made. Test is called by default.
*/
$content = $connection-get('account/verify_credentials');

/* Some example calls */
//$connection-get('users/show', array('screen_name' = 'abraham')));
//$connection-post('statuses/update', array('status' =
date(DATE_RFC822)));
//$connection-post('statuses/destroy', array('id' = 543780));
//$connection-post('friendships/create', array('id' = 9436992)));
//$connection-post('friendships/destroy', array('id' = 9436992)));

/* Include HTML to display on the page */
include('html.inc');

html.inc has following codes:

?php print_r($content); ?


Thank you 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: oauth_callback

2010-12-08 Thread Mark Krieger
Thanks Tim and Dave. It was not very clear in the docs, but I looked
at the latest docs from the library I use (from jmathai) and I did
find that he documented how to use this. I am up and running now from
multiple domains.

thanks,

Mark

On Dec 8, 4:07 am, Dave-twiends i...@davesumter.com wrote:
 Hi Tim, I'm pretty sure the oauth_verifier is documented in their
 oAuth articles.. I'm speeking from memory here, but I'm sure I saw
 last week when we were investigating our own oAuth issues..

 But, nonetheless, you are correct, oauth_verifier should be passed
 back every time.

 Dave
 Twiends

 On Dec 8, 2:27 am, Tim Bull tim.b...@binaryplex.com wrote:

  There is a required OAuth parameter step which is unclearly documented
  by Twitter. When Twitter returns from your /oauth/authorize It returns
  an oauth_verifier token. Make sure that you pass this oauth_verifier
  token (along with the other parameters) along to
  your /oauth/access_token call.

  Make sure you are passing this oauth_verifier in and see how you go.
  I've found that if you DON'T set a callback, it doesn't enforce the
  verifier, but if you do, then the verifier is essential (just be aware
  Twitter are planning to change to always require this in the future, so
  it's more compliant with the spec; worth making this change regardless,
  a lot of Twitter libraries don't implement it).

  Hope this helps...

  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


[twitter-dev] Re: Best practice for monitoring scheduled scripts

2010-12-08 Thread @Red_Eyes
You should check a number of things:

1) Be careful about auto reply to Tweets. You should check Twitter
Terms of Service to make sure you are not doing anything you
shouldn't...

http://support.twitter.com/articles/76915-automation-rules-and-best-practices

2) You may be being rate limited... there are limits on the number of
Tweets you can send in a day (1000, I think). Although a status update
does not count towards your hourly limit, there may be other
unadvertised features coming into play if you are repeatedly tweeting,
sending duplicate tweets and so on. You may need to monito the http
response headers for clues here.



On Dec 8, 9:42 am, Gortron gortronov...@gmail.com wrote:
 Hello,

 Could any developers give me some advise on monitoring/spotting
 downtime of a Cron scheduled Twitter API script?

 I have a script written for a client using OAuth which communicates
 with the Twitter API each minute and can reply to Tweets.

 It works fine but every so often it no longer responds to Tweets as it
 is designed to do. Running the script manually works fine and then it
 starts again after a while. I can see no errors.

 Can anyone give any advise on how to debug this?

 Thanks for any advise.

-- 
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 i can implement a tweet video??

2010-12-08 Thread Juanqyf
Hello every body.

I have been implementing a Twitter API for Drupal site and I've been
trying to implement video tweet him, but my effort was fruitless, I
can not know for certain what tweets include videos, pictures or
other, I made a php code it finds the URL in the text of the tweet and
whether it includes the word youtube and then play the video in an
HTML object.

Anyone have any idea how I can know by the twitter API that includes
every type of multimedia tweet?, They would appreciate much.

-- 
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] Weird hex/alphanumeric ids for retweets?

2010-12-08 Thread Marc Provost
Hi everyone,

I have a problem that puzzles me: I get ids back from twitter which
are in an alphanumeric/hex format, for instance take a look at the
tweet packet at the bottom of this message.  The id 31fe39275142e6fe
is completely different from the format I'm used to, e.g.
11897582800343040.

This gives me headaches for two reasons:

1) The ids are not sortable anymore
2)  Ids such as '31fe39275142e6fe' will not work as the max_id
parameter of a home_timeline call.

Any ideas of what might be going on? I'm I missing something obvious?

Thanks so much!
Marc

 {
attributes = ;
bounding_box = \n  ;
contributors = ;
coordinates = ;
country = Belgium;
created_at = Mon Dec 06 21:39:41 + 2010;
favorited = false;
full_name = Dilbeek, Halle-Vilvoorde;
geo = ;
georss:polygon = 50.8125583 4.1661175 50.8125583 4.2897208
50.8904907 4.2897208 50.8904907 4.1661175;
id = 31fe39275142e6fe;
in_reply_to_screen_name = ;
in_reply_to_status_id = ;
in_reply_to_user_id = ;
name = Dilbeek;
place = \n;
place_type = city;
retweet_count = ;
retweeted = false;
source = web;
source_api_request_type = 1;
text = In other news, heading down to Paris tomorrow AM for
@LeWeb 2010. I expect to come back exhausted, but looking forward to
seeing friends.;
truncated = 0;
url = http://api.twitter.com/1/geo/id/31fe39275142e6fe.json;;
user = {
contributors_enabled = false;
created_at = Wed Jan 10 13:29:18 + 2007;
description = I blog for TechCrunch (now AOL), organize
events (Plugg, OpenCoffeeClub Brussels) and do too much other stuff,
too. Love the web and startups. Hate sprouts.;
favourites_count = 17;
follow_request_sent = false;
followers_count = 12296;
following = 1;
friends_count = 3848;
geo_enabled = true;
id = 621713;
lang = en;
listed_count = 815;
location = Belgium;
name = Robin Wauters;
notifications = false;
profile_background_color = 0099B9;
profile_background_image_url = http://s.twimg.com/a/
1290471375/images/themes/theme4/bg.gif;
profile_background_tile = false;
profile_image_url = http://a2.twimg.com/profile_images/
598607242/Robin_Wauters_pic_normal.jpg;
profile_link_color = 0099B9;
profile_sidebar_border_color = 5ED4DC;
profile_sidebar_fill_color = 95E8EC;
profile_text_color = 3C3940;
profile_use_background_image = false;
protected = 0;
screen_name = robinwauters;
show_all_inline_media = false;
statuses_count = 19845;
time_zone = Brussels;
url = http://robinwauters.com;;
utc_offset = 3600;
verified = false;
};





-- 
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] Weird hex/alphanumeric ids for retweets?

2010-12-08 Thread Tom van der Woerdt
1. Please, when you think that the API is wrong, attach the JSON (or 
XML) part and not the output from your application.


2. I assume that you are using a language that can't handle large 
numbers properly. I've just checked, and I'm still getting proper IDs 
back. There's an id field and an id_str field. If your language doesn't 
handle large numbers properly, you should use id_str instead of id.


Example :
id = 12413709859164160
id_str = 12413709859164160

id will be parsed as a number, id_str as a string.

Just to clarify: This is *not* an API bug, it's a bug in your parser.

Tom


On 12/8/10 4:49 PM, Marc Provost wrote:

Hi everyone,

I have a problem that puzzles me: I get ids back from twitter which
are in an alphanumeric/hex format, for instance take a look at the
tweet packet at the bottom of this message.  The id 31fe39275142e6fe
is completely different from the format I'm used to, e.g.
11897582800343040.

This gives me headaches for two reasons:

1) The ids are not sortable anymore
2)  Ids such as '31fe39275142e6fe' will not work as the max_id
parameter of a home_timeline call.

Any ideas of what might be going on? I'm I missing something obvious?

Thanks so much!
Marc

  {
 attributes = ;
 bounding_box = \n  ;
 contributors = ;
 coordinates = ;
 country = Belgium;
 created_at = Mon Dec 06 21:39:41 + 2010;
 favorited = false;
 full_name = Dilbeek, Halle-Vilvoorde;
 geo = ;
 georss:polygon = 50.8125583 4.1661175 50.8125583 4.2897208
50.8904907 4.2897208 50.8904907 4.1661175;
 id = 31fe39275142e6fe;
 in_reply_to_screen_name = ;
 in_reply_to_status_id = ;
 in_reply_to_user_id = ;
 name = Dilbeek;
 place = \n;
 place_type = city;
 retweet_count = ;
 retweeted = false;
 source = web;
 source_api_request_type = 1;
 text = In other news, heading down to Paris tomorrow AM for
@LeWeb 2010. I expect to come back exhausted, but looking forward to
seeing friends.;
 truncated = 0;
 url = http://api.twitter.com/1/geo/id/31fe39275142e6fe.json;;
 user = {
 contributors_enabled = false;
 created_at = Wed Jan 10 13:29:18 + 2007;
 description = I blog for TechCrunch (now AOL), organize
events (Plugg, OpenCoffeeClub Brussels) and do too much other stuff,
too. Love the web and startups. Hate sprouts.;
 favourites_count = 17;
 follow_request_sent = false;
 followers_count = 12296;
 following = 1;
 friends_count = 3848;
 geo_enabled = true;
 id = 621713;
 lang = en;
 listed_count = 815;
 location = Belgium;
 name = Robin Wauters;
 notifications = false;
 profile_background_color = 0099B9;
 profile_background_image_url = http://s.twimg.com/a/
1290471375/images/themes/theme4/bg.gif;
 profile_background_tile = false;
 profile_image_url = http://a2.twimg.com/profile_images/
598607242/Robin_Wauters_pic_normal.jpg;
 profile_link_color = 0099B9;
 profile_sidebar_border_color = 5ED4DC;
 profile_sidebar_fill_color = 95E8EC;
 profile_text_color = 3C3940;
 profile_use_background_image = false;
 protected = 0;
 screen_name = robinwauters;
 show_all_inline_media = false;
 statuses_count = 19845;
 time_zone = Brussels;
 url = http://robinwauters.com;;
 utc_offset = 3600;
 verified = false;
 };







--
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: Weird hex/alphanumeric ids for retweets?

2010-12-08 Thread Marc Provost
Thanks Tom, I have access to the source code of the parser, will
investigate.

On Dec 8, 11:00 am, Tom van der Woerdt i...@tvdw.eu wrote:
 1. Please, when you think that the API is wrong, attach the JSON (or
 XML) part and not the output from your application.

 2. I assume that you are using a language that can't handle large
 numbers properly. I've just checked, and I'm still getting proper IDs
 back. There's an id field and an id_str field. If your language doesn't
 handle large numbers properly, you should use id_str instead of id.

 Example :
         id = 12413709859164160
         id_str = 12413709859164160

 id will be parsed as a number, id_str as a string.

 Just to clarify: This is *not* an API bug, it's a bug in your parser.

 Tom

 On 12/8/10 4:49 PM, Marc Provost wrote:







  Hi everyone,

  I have a problem that puzzles me: I get ids back from twitter which
  are in an alphanumeric/hex format, for instance take a look at the
  tweet packet at the bottom of this message.  The id 31fe39275142e6fe
  is completely different from the format I'm used to, e.g.
  11897582800343040.

  This gives me headaches for two reasons:

  1) The ids are not sortable anymore
  2)  Ids such as '31fe39275142e6fe' will not work as the max_id
  parameter of a home_timeline call.

  Any ideas of what might be going on? I'm I missing something obvious?

  Thanks so much!
  Marc

    {
           attributes = ;
           bounding_box = \n      ;
           contributors = ;
           coordinates = ;
           country = Belgium;
           created_at = Mon Dec 06 21:39:41 + 2010;
           favorited = false;
           full_name = Dilbeek, Halle-Vilvoorde;
           geo = ;
           georss:polygon = 50.8125583 4.1661175 50.8125583 4.2897208
  50.8904907 4.2897208 50.8904907 4.1661175;
           id = 31fe39275142e6fe;
           in_reply_to_screen_name = ;
           in_reply_to_status_id = ;
           in_reply_to_user_id = ;
           name = Dilbeek;
           place = \n    ;
           place_type = city;
           retweet_count = ;
           retweeted = false;
           source = web;
           source_api_request_type = 1;
           text = In other news, heading down to Paris tomorrow AM for
  @LeWeb 2010. I expect to come back exhausted, but looking forward to
  seeing friends.;
           truncated = 0;
           url = http://api.twitter.com/1/geo/id/31fe39275142e6fe.json;;
           user =         {
               contributors_enabled = false;
               created_at = Wed Jan 10 13:29:18 + 2007;
               description = I blog for TechCrunch (now AOL), organize
  events (Plugg, OpenCoffeeClub Brussels) and do too much other stuff,
  too. Love the web and startups. Hate sprouts.;
               favourites_count = 17;
               follow_request_sent = false;
               followers_count = 12296;
               following = 1;
               friends_count = 3848;
               geo_enabled = true;
               id = 621713;
               lang = en;
               listed_count = 815;
               location = Belgium;
               name = Robin Wauters;
               notifications = false;
               profile_background_color = 0099B9;
               profile_background_image_url = http://s.twimg.com/a/
  1290471375/images/themes/theme4/bg.gif;
               profile_background_tile = false;
               profile_image_url = http://a2.twimg.com/profile_images/
  598607242/Robin_Wauters_pic_normal.jpg;
               profile_link_color = 0099B9;
               profile_sidebar_border_color = 5ED4DC;
               profile_sidebar_fill_color = 95E8EC;
               profile_text_color = 3C3940;
               profile_use_background_image = false;
               protected = 0;
               screen_name = robinwauters;
               show_all_inline_media = false;
               statuses_count = 19845;
               time_zone = Brussels;
               url = http://robinwauters.com;;
               utc_offset = 3600;
               verified = false;
           };

-- 
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: Weird hex/alphanumeric ids for retweets?

2010-12-08 Thread Tom van der Woerdt
I'd recommend using id_str instead of id, instead of looking into the 
code of the parser. The parser itself is probably fine, while the 
language (which in your case really looks like Objective-C) may have 
problems with it. Compiling as a 64-bit application may help.


Tom


On 12/8/10 5:03 PM, Marc Provost wrote:

Thanks Tom, I have access to the source code of the parser, will
investigate.

On Dec 8, 11:00 am, Tom van der Woerdti...@tvdw.eu  wrote:

1. Please, when you think that the API is wrong, attach the JSON (or
XML) part and not the output from your application.

2. I assume that you are using a language that can't handle large
numbers properly. I've just checked, and I'm still getting proper IDs
back. There's an id field and an id_str field. If your language doesn't
handle large numbers properly, you should use id_str instead of id.

Example :
 id = 12413709859164160
 id_str = 12413709859164160

id will be parsed as a number, id_str as a string.

Just to clarify: This is *not* an API bug, it's a bug in your parser.

Tom

On 12/8/10 4:49 PM, Marc Provost wrote:








Hi everyone,



I have a problem that puzzles me: I get ids back from twitter which
are in an alphanumeric/hex format, for instance take a look at the
tweet packet at the bottom of this message.  The id 31fe39275142e6fe
is completely different from the format I'm used to, e.g.
11897582800343040.



This gives me headaches for two reasons:



1) The ids are not sortable anymore
2)  Ids such as '31fe39275142e6fe' will not work as the max_id
parameter of a home_timeline call.



Any ideas of what might be going on? I'm I missing something obvious?



Thanks so much!
Marc



   {
  attributes = ;
  bounding_box = \n  ;
  contributors = ;
  coordinates = ;
  country = Belgium;
  created_at = Mon Dec 06 21:39:41 + 2010;
  favorited = false;
  full_name = Dilbeek, Halle-Vilvoorde;
  geo = ;
  georss:polygon = 50.8125583 4.1661175 50.8125583 4.2897208
50.8904907 4.2897208 50.8904907 4.1661175;
  id = 31fe39275142e6fe;
  in_reply_to_screen_name = ;
  in_reply_to_status_id = ;
  in_reply_to_user_id = ;
  name = Dilbeek;
  place = \n;
  place_type = city;
  retweet_count = ;
  retweeted = false;
  source = web;
  source_api_request_type = 1;
  text = In other news, heading down to Paris tomorrow AM for
@LeWeb 2010. I expect to come back exhausted, but looking forward to
seeing friends.;
  truncated = 0;
  url = http://api.twitter.com/1/geo/id/31fe39275142e6fe.json;;
  user = {
  contributors_enabled = false;
  created_at = Wed Jan 10 13:29:18 + 2007;
  description = I blog for TechCrunch (now AOL), organize
events (Plugg, OpenCoffeeClub Brussels) and do too much other stuff,
too. Love the web and startups. Hate sprouts.;
  favourites_count = 17;
  follow_request_sent = false;
  followers_count = 12296;
  following = 1;
  friends_count = 3848;
  geo_enabled = true;
  id = 621713;
  lang = en;
  listed_count = 815;
  location = Belgium;
  name = Robin Wauters;
  notifications = false;
  profile_background_color = 0099B9;
  profile_background_image_url = http://s.twimg.com/a/
1290471375/images/themes/theme4/bg.gif;
  profile_background_tile = false;
  profile_image_url = http://a2.twimg.com/profile_images/
598607242/Robin_Wauters_pic_normal.jpg;
  profile_link_color = 0099B9;
  profile_sidebar_border_color = 5ED4DC;
  profile_sidebar_fill_color = 95E8EC;
  profile_text_color = 3C3940;
  profile_use_background_image = false;
  protected = 0;
  screen_name = robinwauters;
  show_all_inline_media = false;
  statuses_count = 19845;
  time_zone = Brussels;
  url = http://robinwauters.com;;
  utc_offset = 3600;
  verified = false;
  };




--
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: Weird hex/alphanumeric ids for retweets?

2010-12-08 Thread Marc Provost
Actually, what is weird about these ids is that the url --
http://api.twitter.com/1/geo/id/31fe39275142e6fe.json -- which is
generated in the packet works.

This is why I thought the parser I use was fine.

Marc



On Dec 8, 11:00 am, Tom van der Woerdt i...@tvdw.eu wrote:
 1. Please, when you think that the API is wrong, attach the JSON (or
 XML) part and not the output from your application.

 2. I assume that you are using a language that can't handle large
 numbers properly. I've just checked, and I'm still getting proper IDs
 back. There's an id field and an id_str field. If your language doesn't
 handle large numbers properly, you should use id_str instead of id.

 Example :
         id = 12413709859164160
         id_str = 12413709859164160

 id will be parsed as a number, id_str as a string.

 Just to clarify: This is *not* an API bug, it's a bug in your parser.

 Tom

 On 12/8/10 4:49 PM, Marc Provost wrote:







  Hi everyone,

  I have a problem that puzzles me: I get ids back from twitter which
  are in an alphanumeric/hex format, for instance take a look at the
  tweet packet at the bottom of this message.  The id 31fe39275142e6fe
  is completely different from the format I'm used to, e.g.
  11897582800343040.

  This gives me headaches for two reasons:

  1) The ids are not sortable anymore
  2)  Ids such as '31fe39275142e6fe' will not work as the max_id
  parameter of a home_timeline call.

  Any ideas of what might be going on? I'm I missing something obvious?

  Thanks so much!
  Marc

    {
           attributes = ;
           bounding_box = \n      ;
           contributors = ;
           coordinates = ;
           country = Belgium;
           created_at = Mon Dec 06 21:39:41 + 2010;
           favorited = false;
           full_name = Dilbeek, Halle-Vilvoorde;
           geo = ;
           georss:polygon = 50.8125583 4.1661175 50.8125583 4.2897208
  50.8904907 4.2897208 50.8904907 4.1661175;
           id = 31fe39275142e6fe;
           in_reply_to_screen_name = ;
           in_reply_to_status_id = ;
           in_reply_to_user_id = ;
           name = Dilbeek;
           place = \n    ;
           place_type = city;
           retweet_count = ;
           retweeted = false;
           source = web;
           source_api_request_type = 1;
           text = In other news, heading down to Paris tomorrow AM for
  @LeWeb 2010. I expect to come back exhausted, but looking forward to
  seeing friends.;
           truncated = 0;
           url = http://api.twitter.com/1/geo/id/31fe39275142e6fe.json;;
           user =         {
               contributors_enabled = false;
               created_at = Wed Jan 10 13:29:18 + 2007;
               description = I blog for TechCrunch (now AOL), organize
  events (Plugg, OpenCoffeeClub Brussels) and do too much other stuff,
  too. Love the web and startups. Hate sprouts.;
               favourites_count = 17;
               follow_request_sent = false;
               followers_count = 12296;
               following = 1;
               friends_count = 3848;
               geo_enabled = true;
               id = 621713;
               lang = en;
               listed_count = 815;
               location = Belgium;
               name = Robin Wauters;
               notifications = false;
               profile_background_color = 0099B9;
               profile_background_image_url = http://s.twimg.com/a/
  1290471375/images/themes/theme4/bg.gif;
               profile_background_tile = false;
               profile_image_url = http://a2.twimg.com/profile_images/
  598607242/Robin_Wauters_pic_normal.jpg;
               profile_link_color = 0099B9;
               profile_sidebar_border_color = 5ED4DC;
               profile_sidebar_fill_color = 95E8EC;
               profile_text_color = 3C3940;
               profile_use_background_image = false;
               protected = 0;
               screen_name = robinwauters;
               show_all_inline_media = false;
               statuses_count = 19845;
               time_zone = Brussels;
               url = http://robinwauters.com;;
               utc_offset = 3600;
               verified = false;
           };

-- 
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: Weird hex/alphanumeric ids for retweets?

2010-12-08 Thread Marc Provost
Thanks Tom, it was a bug with the parser I use (MGTwitterEngine),
which overode the tweet id with the place id if it was present.

Marc


On Dec 8, 11:05 am, Marc Provost mprov...@gmail.com wrote:
 Actually, what is weird about these ids is that the url 
 --http://api.twitter.com/1/geo/id/31fe39275142e6fe.json-- which is
 generated in the packet works.

 This is why I thought the parser I use was fine.

 Marc

 On Dec 8, 11:00 am, Tom van der Woerdt i...@tvdw.eu wrote:







  1. Please, when you think that the API is wrong, attach the JSON (or
  XML) part and not the output from your application.

  2. I assume that you are using a language that can't handle large
  numbers properly. I've just checked, and I'm still getting proper IDs
  back. There's an id field and an id_str field. If your language doesn't
  handle large numbers properly, you should use id_str instead of id.

  Example :
          id = 12413709859164160
          id_str = 12413709859164160

  id will be parsed as a number, id_str as a string.

  Just to clarify: This is *not* an API bug, it's a bug in your parser.

  Tom

  On 12/8/10 4:49 PM, Marc Provost wrote:

   Hi everyone,

   I have a problem that puzzles me: I get ids back from twitter which
   are in an alphanumeric/hex format, for instance take a look at the
   tweet packet at the bottom of this message.  The id 31fe39275142e6fe
   is completely different from the format I'm used to, e.g.
   11897582800343040.

   This gives me headaches for two reasons:

   1) The ids are not sortable anymore
   2)  Ids such as '31fe39275142e6fe' will not work as the max_id
   parameter of a home_timeline call.

   Any ideas of what might be going on? I'm I missing something obvious?

   Thanks so much!
   Marc

     {
            attributes = ;
            bounding_box = \n      ;
            contributors = ;
            coordinates = ;
            country = Belgium;
            created_at = Mon Dec 06 21:39:41 + 2010;
            favorited = false;
            full_name = Dilbeek, Halle-Vilvoorde;
            geo = ;
            georss:polygon = 50.8125583 4.1661175 50.8125583 4.2897208
   50.8904907 4.2897208 50.8904907 4.1661175;
            id = 31fe39275142e6fe;
            in_reply_to_screen_name = ;
            in_reply_to_status_id = ;
            in_reply_to_user_id = ;
            name = Dilbeek;
            place = \n    ;
            place_type = city;
            retweet_count = ;
            retweeted = false;
            source = web;
            source_api_request_type = 1;
            text = In other news, heading down to Paris tomorrow AM for
   @LeWeb 2010. I expect to come back exhausted, but looking forward to
   seeing friends.;
            truncated = 0;
            url = http://api.twitter.com/1/geo/id/31fe39275142e6fe.json;;
            user =         {
                contributors_enabled = false;
                created_at = Wed Jan 10 13:29:18 + 2007;
                description = I blog for TechCrunch (now AOL), organize
   events (Plugg, OpenCoffeeClub Brussels) and do too much other stuff,
   too. Love the web and startups. Hate sprouts.;
                favourites_count = 17;
                follow_request_sent = false;
                followers_count = 12296;
                following = 1;
                friends_count = 3848;
                geo_enabled = true;
                id = 621713;
                lang = en;
                listed_count = 815;
                location = Belgium;
                name = Robin Wauters;
                notifications = false;
                profile_background_color = 0099B9;
                profile_background_image_url = http://s.twimg.com/a/
   1290471375/images/themes/theme4/bg.gif;
                profile_background_tile = false;
                profile_image_url = http://a2.twimg.com/profile_images/
   598607242/Robin_Wauters_pic_normal.jpg;
                profile_link_color = 0099B9;
                profile_sidebar_border_color = 5ED4DC;
                profile_sidebar_fill_color = 95E8EC;
                profile_text_color = 3C3940;
                profile_use_background_image = false;
                protected = 0;
                screen_name = robinwauters;
                show_all_inline_media = false;
                statuses_count = 19845;
                time_zone = Brussels;
                url = http://robinwauters.com;;
                utc_offset = 3600;
                verified = false;
            };

-- 
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 do i find if a twitter account is connected to my twitter application

2010-12-08 Thread vijai
hi all,

i am developing a webapp which (almost) uses twitter for
authentication. From my webapp, clicking on a button, redirects the
user to the oauth/authenticate?oauth_token=xx page. If the user is
already connected to the application, everything is fine, i.e. i can
figure that the user is connected and proceed further. But, when the
user is not authorized to use my app, a page with allow/deny
access is shown. Neither me nor the user, wants to authorize my
twitter app at this point, but just to get an indication that the user
is not authorized to use the twitter app. Is there any solution to
this problem because I dont want the unauthorized user to allow/deny
access to my app, if he has not already allowed it (by other means).

thanks,

vijai

-- 
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 first tweet of a given day

2010-12-08 Thread Dhanasekar Rajagopal
Hi all I am new to twitter API.. So my question may be a trivial one..

I am developing a new twitter widget, in which I want to get the first tweet
for a given hashtag on a particular date.

say first tweet for #xyz hashtag tweeted on 12-08-10.

so far through googling and api doc I found rpp * page max = 1500.. if
totaltweet for a given day is 2000 how can I retrieve last 500 tweets..

Regards,

Dhana

-- 
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] Finding Tweets about Places

2010-12-08 Thread Matt Harris
Hi everyone,

This summer we started letting users add a place to a Tweet. Since then
we’ve seen that people want to tweet about a variety of places, from
businesses to parks to neighborhoods.

We have been working with a number of partners to grow our data set of
places to make it easier for you to build great Twitter experiences around
places, and offer more place choices to users. These partnerships serve as a
foundation for a number of exciting features we have planned to help users
find what’s new in their area and around the world.

To make it easy for you to use the large data set, we’re using an index that
combines the IDs across different partners into one. This means you can use
the IDs from your preferred partner’s dataset when using Twitter Search to
find Tweets about a specific place.

Thanks to our partners: AE Television Networks and History, Apontador,
CityGrid Media, DotMenu/Allmenus, Gowalla, Infogroup, Localeze, Maponics,
OpenTable, TomTom, Wcities, Yellow Pages Group (Canada), and Zagat.

Information on how to find Tweets about places and the list of supported
partners can be found on our Developer Resources Site:
http://dev.twitter.com/pages/finding_tweets_about_places

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

-- 
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] incorrect signature

2010-12-08 Thread Zahra Naghdi
I wrote a code in windows phone 7 works with twitter it can get the
user timeline and favorite but for direct message,home timeline and
replies it has an error incorrect signature what should I do ?
my base string for home timeline is:GEThttps%3A%2F%2Fapi.twitter.com
%2F1%2Fstatuses%2Fhome_timeline.xmloauth_consumer_key
%3D0MgmrMkA0R1iqf7mhjYdA%26oauth_nonce%3D2Dc9aMNq1Xnq5ksvx
%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1291814196%26oauth_token
%3D218018015-4ny4ef2qNTBzjbJQVzbHwwxdZiZlWrGzjUTVX3bw%26oauth_version
%3D1.0

can anyone help me plz?

-- 
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] Getting all mentions

2010-12-08 Thread Ran Margaliot
Hi guys,

I am trying to get all the mentions of my authenticated user, if i use
statuses/mentions it returns (according to the documentation) up to
800 recent mentions, what if i want to go dipper? get more then 800
last mentions?
is it possible to go over all of the user's followers and check if
they mentioned him (i know it doesn't covers everything but its a good
start for me)?

any thoughts?

-- 
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: Get first tweet of a given day

2010-12-08 Thread L. Mohan Arun
 I am developing a new twitter widget, in which I want to get the first tweet
 for a given hashtag on a particular date.

Start with
http://search.twitter.com/search.json?q=#hashtaguntil=2010-12-08 (the
previous day date)

Note the last tweet in the resultset returned, and store its id.
This is the last tweet for that #hashtag on that day.

Then use
http://search.twitter.com/search.json?since_id=your_stored_id

This will give the first tweet of the next day for given hashtag.

~~~ Mohan Arun

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


[twitter-dev] Twitter Profile Widget experiencing Javascript Runtime Error on page load

2010-12-08 Thread Adam
Hi everyone,

The subject says it all, and we get an error saying that Twtr does not
implement the decay function, which I suspect has to do with the
minification of the widget.js file that is embedded onto the page. I
can pop the error in IE and Firefox if the widget does not render
tweets. Is there a workaround for this?

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


[twitter-dev] Not a Valid URL Format Error Registering Blog on Twitter Using Twitter Tools

2010-12-08 Thread Edward Orman
Hi there, I am trying to register a blog on twitter using twitter
tools and keep getting the
Not a valid URL format error for the Application Website field

I am suspecting the issue may be my domain has a double hyphen in it.
I've seen on another forum another person having the same issue with a
double hyphen in their URL.

I tried entering a bit.ly url of my domain which allowed me to
register the blog but my posts are not being tweeted so this solution
does not work either.

Any ideas? Workarounds?

I appreciate you looking at this

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


Re: [twitter-dev] Twitter Api show username

2010-12-08 Thread Abraham Williams
Something like: echo $content-scree_name; will display the screen_name on
the page.

Abraham
-
Abraham Williams | Hacker Advocate | abrah.am
@abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Wed, Dec 8, 2010 at 05:27, roderick roderickstanda...@hotmail.comwrote:

 Dear Twitter developers,

 I finally created a good conenction with twitter etc, but now i get
 this:

stdClass Object
 (
[profile_background_image_url] =
 http://s.twimg.com/a/1291318259/images/themes/theme14/bg.gif
[favourites_count] = 0
[show_all_inline_media] =
[geo_enabled] =
[notifications] =
[profile_sidebar_border_color] = ee
[profile_background_tile] = 1
[friends_count] = 104
[profile_image_url] = ###
[location] =  ###
[follow_request_sent] =
[followers_count] = 31
[id_str] =  ###
[lang] = en
[profile_background_color] = 131313
[url] =  ###
[screen_name] =  ###
[statuses_count] = 19
[time_zone] = Amsterdam
[profile_text_color] = ff6200
[listed_count] = 0
[following] =
[protected] =
[created_at] = Mon Aug 03 21:00:24 + 2009
[profile_link_color] = 188cc2
[description] =  ###
[name] =  ###
[contributors_enabled] =
[profile_use_background_image] = 1
[id] = ###
[verified] =
[utc_offset] =  ###
[profile_sidebar_fill_color] = ebebeb


 Now I want to display for example, thescreenname, amount of followers
 etc. But How do i do that?

 the codes that i alreayd have:


 ?php
 /**
  * @file
  * User has successfully authenticated with Twitter. Access tokens
 saved to session and DB.
  */

 /* Load required lib files. */
 session_start();
 require_once('twitteroauth/twitteroauth.php');
 require_once('config.php');

 /* If access tokens are not available redirect to connect page. */
 if (empty($_SESSION['access_token']) || empty($_SESSION['access_token']
 ['oauth_token']) || empty($_SESSION['access_token']
 ['oauth_token_secret'])) {
header('Location: ./clearsessions.php');
 }
 /* Get user access tokens out of the session. */
 $access_token = $_SESSION['access_token'];

 /* Create a TwitterOauth object with consumer/user tokens. */
 $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET,
 $access_token['oauth_token'], $access_token['oauth_token_secret']);

 /* If method is set change API call made. Test is called by default.
 */
 $content = $connection-get('account/verify_credentials');

 /* Some example calls */
 //$connection-get('users/show', array('screen_name' = 'abraham')));
 //$connection-post('statuses/update', array('status' =
 date(DATE_RFC822)));
 //$connection-post('statuses/destroy', array('id' = 543780));
 //$connection-post('friendships/create', array('id' = 9436992)));
 //$connection-post('friendships/destroy', array('id' = 9436992)));

 /* Include HTML to display on the page */
 include('html.inc');

 html.inc has following codes:

?php print_r($content); ?


 Thank you 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: oauth_callback

2010-12-08 Thread Tim Bull
Dave-tweinds,

It is mentioned in passing and buried in some documents which discuss
the full flow, but if you're relying on Twitter's own API
documentation (http://dev.twitter.com/doc/post/oauth/access_token)
you'll not see a single mention of the oauth_verifier here.  Nor will
you see oauth_callback mentioned here 
http://dev.twitter.com/doc/post/oauth/request_token

I think it would be more useful to the community if Twitter did a more
complete job of describing the flow and parameters supported and
required on each of their own end points which is where most people
look first, even if they are implicitly supporting these parameters
because they comply with oauth and therefore documented elsewhere.

T

On Dec 8, 8:07 pm, Dave-twiends i...@davesumter.com wrote:
 Hi Tim, I'm pretty sure the oauth_verifier is documented in their
 oAuth articles.. I'm speeking from memory here, but I'm sure I saw
 last week when we were investigating our own oAuth issues..

 But, nonetheless, you are correct, oauth_verifier should be passed
 back every time.

 Dave
 Twiends

 On Dec 8, 2:27 am, Tim Bull tim.b...@binaryplex.com wrote:







  There is a required OAuth parameter step which is unclearly documented
  by Twitter. When Twitter returns from your /oauth/authorize It returns
  an oauth_verifier token. Make sure that you pass this oauth_verifier
  token (along with the other parameters) along to
  your /oauth/access_token call.

  Make sure you are passing this oauth_verifier in and see how you go.
  I've found that if you DON'T set a callback, it doesn't enforce the
  verifier, but if you do, then the verifier is essential (just be aware
  Twitter are planning to change to always require this in the future, so
  it's more compliant with the spec; worth making this change regardless,
  a lot of Twitter libraries don't implement it).

  Hope this helps...

  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


[twitter-dev] Re: Can I get information when a tweet gets favorite?

2010-12-08 Thread neil kodner
If that's the case, How does Tweetdeck display when one of my tweets
have been favorited?  I doubt that they're tracking all of the
events.  I have to wonder if there's an undocumented API call.



On Dec 7, 10:36 pm, noriguard jinbok...@gmail.com wrote:
 I see.
 I feel that it's better not to do it, due to the burden of keeping all
 events.

 Thanks a lot.

 On Dec 7, 4:08 pm, Georgios kapero...@gmail.com wrote:







  That is only available if you actively monitor a user using User/Site
  Streams and keep track of the favorite events. Cannot be done
  retrospectively via the REST API I am afraid.

  Cheers
  Georgios -http://favorious.com-The best of Twitter, based on
  favorites

  On Dec 7, 10:16 pm, noriguard jinbok...@gmail.com wrote:

   Favorite API seems to give only whether a tweet is in favorites or
   not.
   Is there any way to get information about the time when favorite is
   performed?

-- 
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 I get information when a tweet gets favorite?

2010-12-08 Thread Taylor Singletary
Recent versions of TweetDeck connect to Twitter's User Streams API (
http://dev.twitter.com/pages/user_streams ) which stream events for the
current user like favorites, follows, and retweets in real time.

Taylor

On Wed, Dec 8, 2010 at 1:31 PM, neil kodner nkod...@gmail.com wrote:

 If that's the case, How does Tweetdeck display when one of my tweets
 have been favorited?  I doubt that they're tracking all of the
 events.  I have to wonder if there's an undocumented API call.



 On Dec 7, 10:36 pm, noriguard jinbok...@gmail.com wrote:
  I see.
  I feel that it's better not to do it, due to the burden of keeping all
  events.
 
  Thanks a lot.
 
  On Dec 7, 4:08 pm, Georgios kapero...@gmail.com wrote:
 
 
 
 
 
 
 
   That is only available if you actively monitor a user using User/Site
   Streams and keep track of the favorite events. Cannot be done
   retrospectively via the REST API I am afraid.
 
   Cheers
   Georgios -http://favorious.com-The best of Twitter, based on
   favorites
 
   On Dec 7, 10:16 pm, noriguard jinbok...@gmail.com wrote:
 
Favorite API seems to give only whether a tweet is in favorites or
not.
Is there any way to get information about the time when favorite is
performed?

 --
 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] not getting unfollow and retweet event from User Stream

2010-12-08 Thread John Kalucki
Yusuke,

The documentation had an error. We don't send friendship deletions, even
those that come from you. I fixed the documentation.

I just tested retweets. I logged in, as myself, retweeted something, and the
retweet (really, a tweet), and the subsequent deletion were syndicated
properly. Can you reproduce this case?

-John Kalucki
http://twitter.com/jkalucki
Twitter, Inc.



On Wed, Dec 8, 2010 at 12:24 AM, Yusuke Yamamoto yus...@mac.com wrote:

 Hi all,

 I'm not getting unfollow (from me) and retweet (from me) events from
 User Stream now.
 I suppose I used to be getting that sort of events as documented.

 --
• Friendship Events
• Created - To you, from you
 ...
• Retweet Events
• To you, from you. (Retweets from your followings are sent
 as the actual home timeline retweet)
 --
 from: http://dev.twitter.com/pages/user_streams


 Is there any spec change that I'm missing?

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

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

 --
 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: register twitter app which is on intranet

2010-12-08 Thread Kieran

thanks for all info. sorry if i am missing something but at the stage
where i register my app on http://dev.twitter.com/apps i am having a
problem...its asks me for the 'application website' but my application
is on our intranet and so is inaccessible...what url am i supposed to
put in here.

kieran


On Dec 8, 3:06 am, Tim Bull tim.b...@binaryplex.com wrote:
 Oh, and while I think of it - if you just need the access token to make
 calls as your app (i.e. it's some kind of bot) then you don't even need
 to do that - just go tohttp://dev.twitter.com/apps, view your app and
 select my access token on the right. This will give you the access
 keys you need without doing the 3 step OAuth dance.

 Just use these to sign your requests and you'll be sweet.

-- 
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: register twitter app which is on intranet

2010-12-08 Thread Adam Green
If the app is working with a single Twitter account that you know in
advance, and users will never have to login through the app, then the
application website doesn't matter. You can put in any valid URL. It isn't
verified when you register the app. Just use the URL for one of your public
websites. It will have no affect on your app's functioning.

On Wed, Dec 8, 2010 at 8:24 PM, Kieran khe...@gmail.com wrote:


 thanks for all info. sorry if i am missing something but at the stage
 where i register my app on http://dev.twitter.com/apps i am having a
 problem...its asks me for the 'application website' but my application
 is on our intranet and so is inaccessible...what url am i supposed to
 put in here.

 kieran


 On Dec 8, 3:06 am, Tim Bull tim.b...@binaryplex.com wrote:
  Oh, and while I think of it - if you just need the access token to make
  calls as your app (i.e. it's some kind of bot) then you don't even need
  to do that - just go tohttp://dev.twitter.com/apps, view your app and
  select my access token on the right. This will give you the access
  keys you need without doing the 3 step OAuth dance.
 
  Just use these to sign your requests and you'll be sweet.

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




-- 
Adam Green
Twitter API Consultant and Trainer
http://140dev.com
@140dev

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


[twitter-dev] Re: The best method for finding new retweets

2010-12-08 Thread Tobias C. Jensen
No suggestions? :)

On 29 Okt., 23:22, Tobias C. Jensen 2bia...@gmail.com wrote:
 Hi guys.

 I just tried showing my retweets using retweets_of_me.

 However, if I get someone to retweet one of my already retweeted
 statuses, nothing changes in the result - because it already figures
 as retweeted, and retweets_count always shows 'false'.

 So does this mean I have to look them all through and find their
 individual retweets, everytime I want to find out if I've got new
 ones? Or is there another method I can use?

 All I want to do is monitor new retweets.

 Thanks in advance!

 - Tobias

-- 
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: The best method for finding new retweets

2010-12-08 Thread fbparis
I've worked on this and havn't found any clean solutions.. Checking
all new retweets would consume too much requests :(

Note that if statuses/mentions method was running as expected (http://
dev.twitter.com/doc/get/statuses/mentions) with the include_rts
parameter, we wouldnt have any problem with that... (but actually
retweets are not showed even with the include_rts set to true).

On Oct 29, 11:22 pm, Tobias C. Jensen 2bia...@gmail.com wrote:
 Hi guys.

 I just tried showing my retweets using retweets_of_me.

 However, if I get someone to retweet one of my already retweeted
 statuses, nothing changes in the result - because it already figures
 as retweeted, and retweets_count always shows 'false'.

 So does this mean I have to look them all through and find their
 individual retweets, everytime I want to find out if I've got new
 ones? Or is there another method I can use?

 All I want to do is monitor new retweets.

 Thanks in advance!

 - Tobias

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