[twitter-dev] Re: Proper protocol for displaying user's avatar in an app

2009-11-23 Thread Dave Briccetti
I would be curious to see the details of the request and response from
Firebug, Wireshark or similar. I have never received anything other
than an image as a response. Since a browser is making the request for
the photo, it should cache it.


[twitter-dev] Re: Add a retweet button on the Twitter apps definition box!

2009-11-23 Thread Dave Briccetti
Nice idea, but, for many reasons, Twitter couldn’t “retweet” something
that isn’t a tweet at all.


Re: [twitter-dev] Re: Add a retweet button on the Twitter apps definition box!

2009-11-23 Thread Shyam
In that case, twitter could use one of its official account (or create a new
one), which tweets this.

--
Yours,
Thanashyam Raj.
twitter.com/thanashyam


[twitter-dev] Re: Retweets by others not updated?

2009-11-23 Thread Rich
Yep mine too, hasn't worked since 17th November for me

On Nov 23, 5:38 am, Chen Jie chenyue...@gmail.com wrote:
 My 'Retweets by others' page had not been updated for 3 days, but I
 can see retweeted tweets in Home view, what's wrong? 'Retweets by you'
 works fine.

 BTW, the 'coming soon' label had been removed in the API wiki of
 retweet APIs, does it mean the retweet APIs is stable for use?


[twitter-dev] Getting multiple users

2009-11-23 Thread Mauri
Is there a way to get multiple user's information with one call? My
page is running slow and it looks like it would take a second or two
less if I could do this with one call.

Basically, the page shows a list of your followers, their name and
profile pictures by loading the user's followers list and getting each
follower's information

Here is part of the code

for($b=0; $bcount($followers); $b++) {
$moreinfo = $connection-get('users/show', array('user_id' =
$followers[$b]));
$moreinfo = json_decode($moreinfo, true);
...
}


Thanks in advance


[twitter-dev] Re: Retweets - where are they placed on timeline

2009-11-23 Thread artesea
Do we have an example in json of a message which was retweeted 3 or 4
times.
The example on 
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-home_timeline
is a single retweet in XML.
Just trying to work out if the retweet moves up the timeline with each
retweet, or if it stays with the very first tweet.
Also looking at how I can expand the timeline to show all the RTs.

Thanks
Ryan

On Nov 18, 10:43 am, Dave Sherohman d...@fishtwits.com wrote:
 On Tue, Nov 17, 2009 at 12:37:32PM -0800, Dewald Pretorius wrote:
  This collapsing behavior is far from ideal and will cause people with
  busy timelines to completely miss retweets.

 I disagree completely.  If you have 57 retweets of the same status in
 your timeline, then all this duplicated, redundant noise forces fresh,
 new content off the end prematurely.  It gets bad enough at times that
 I'm forced to tell TweetDeck to filter out everything containing the
 text RT @.

 One of the first features that got me thinking about building a custom
 Twitter client was that I wanted to be able to identify and filter out
 duplicate updates so that I would see each status update *once*, no
 matter how many people were repeating it.  Thankfully, Twitter is now
 (or will shortly be) providing that function automatically.  (Although,
 if I were to have done it, I would go a step further and suppress *all*
 retweets if the original had appeared in my timeline.)

  With old-style retweets, if I saw ten retweets of the same thing, I
  knew to check it out because obviously a lot of people felt it was
  something worth sharing with their followers.

 And if I saw them, I would think Oh, good god...  I wasn't interested
 in it the first nine times, I'm not going to be interested this time
 either.  How long do I have to wait before people just shut up about
 that already?

  In my irrelevant opinion, the new retweet feature is trying to fix
  something that was not broken.

 As another response mentioned, clients have the ability to un-collapse
 retweets, so those of us who view constant retweets of the same thing as
 worthless noise can get our timelines uncluttered and those of you who
 use them as a means to judge social approval and/or importance have the
 tools to do that as well.  Give it a couple weeks, and I bet someone
 will be working on a way to do that which works even better than the
 old-style retweets, perhaps based on preiodically polling the retweets
 timeline and presenting its contents sorted by most retweets in the last
 hour/day.  This change sets the stage for serving both of us better.

 --
 Dave Sherohman


[twitter-dev] Authentication (user/pass )after Oauth authentication.....:S

2009-11-23 Thread dmsiva
hello. I make well oauth authentication. I put the pin, and I get the
access_token, etc.. but when I request a 'get' the browser asks me
another authentication (username, password). what can I be doing
wrong? After the access tokens, what should I send in the next
request?

best regards,


Re: [twitter-dev] Authentication (user/pass )after Oauth authentication.....:S

2009-11-23 Thread ryan alford
After you get the pin, what URL do you go to?

On Nov 23, 2009 7:50 AM, dmsiva danielmartinssi...@gmail.com wrote:

hello. I make well oauth authentication. I put the pin, and I get the
access_token, etc.. but when I request a 'get' the browser asks me
another authentication (username, password). what can I be doing
wrong? After the access tokens, what should I send in the next
request?

best regards,


[twitter-dev] Re: List creation updated (needs description param)

2009-11-23 Thread Sumit Khanna
I can confirm this. I've tried using twitter-async (PHP) and curl.
They return XML or a JSON indicating a successful complete when trying
to create a list, but no list is created unless I add a description
variable.

Note, this only started happening this week! Earlier this week I used
the exact same code and it created a list fine. Something must have
changed this week.

Sumit

On Nov 18, 6:57 pm, David dch...@gmail.com wrote:
 I've been using the List api in my app, and just noticed that the POST
 method to /:user/lists.:format returned the correct response, but
 didn't actually create a list.

 I've been following this api 
 document:http://apiwiki.twitter.com/Twitter-REST-API-Method:-POST-lists

 What I did notice was that the Add New List ui on Twitter.com has a
 description field, and so I tried the same call with an additional
 post param description, and it worked.

 The description param can be empty, but it is required to make this
 call work.  Might be a bug?

 Just a heads up for anyone who might be wondering.

 DC


Re: [twitter-dev] Proper protocol for displaying user's avatar in an app

2009-11-23 Thread Abraham Williams
Are you seing responses like this?

ErrorCodeAccessDenied/CodeMessageAccess Denied/MessageRequestId
 889C9C8DC5E6F054/RequestIdHostId
 qP9kff/BDVhsRl2VGPrmanTcCxalXrdxcVwhlUNLUq5jpavHQQYmdHB4HFb2t02j/HostId
 /Error


It means the account changed their avatar and your profile image URL is old.

Abraham

On Sun, Nov 22, 2009 at 22:12, Adam Green a...@vibemetrix.com wrote:

 I'm building a Web app that caches tweets and user info from the
 streaming API, and then displays all the tweets for a single user. At
 times up to 30 or 40 tweets from the same user are displayed on a
 page. I've been caching the profile image url I get back from the
 streaming API, and then using this URL in an img tag sent to the
 browser. So I am letting the user's browser pull it from the Twitter
 server as needed. I don't see anything in the API docs that warns
 against this, but sometimes I am getting an access denied XML back
 instead of the proper image. Is this a bug, or should I be downloading
 each user's avatar and serving it from my server instead? The image is
 being requested by the user's browser, so whilelisting the server's IP
 won't help. The access denied response is intermittent. Sometimes it
 happens after 5 requests for the same image, sometimes 30 appear with
 no problem. Sometimes a few appear, a few fail, and then the rest
 work. So it doesn't seem like rate limiting.




-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | Awesome Lists | http://twitterli.st
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, WI, United States


Re: [twitter-dev] Getting multiple users

2009-11-23 Thread Abraham Williams
In short. No.

You can make parallel cURL request though. it would then only take as long
as the longest request.

Here is the php docs on parallel cURL calls:
http://www.php.net/manual/en/function.curl-multi-init.php

Abraham

On Fri, Nov 20, 2009 at 15:36, Mauri mauri...@gmail.com wrote:

 Is there a way to get multiple user's information with one call? My
 page is running slow and it looks like it would take a second or two
 less if I could do this with one call.

 Basically, the page shows a list of your followers, their name and
 profile pictures by loading the user's followers list and getting each
 follower's information

 Here is part of the code

 for($b=0; $bcount($followers); $b++) {
 $moreinfo = $connection-get('users/show', array('user_id' =
 $followers[$b]));
 $moreinfo = json_decode($moreinfo, true);
 ...
 }


 Thanks in advance




-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | Awesome Lists | http://twitterli.st
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, WI, United States


[twitter-dev] Bug in API behavior with lists

2009-11-23 Thread dirs
I'm using lists as a way to look for geo related users. So for get
lists of a user I use:
http://api.twitter.com/1/USER_ID/lists/memberships.xml

I know that user_id insted of screen_name are not documented but I
expected that it works and it works!

So I'm trying too to get others users from the lists that my first
user are...

http://api.twitter.com/1/user/list_id/members.format

But here I can't get API to work with user_id and I really don't want
to use screen_name.

http://api.twitter.com/1/45232963/1505300/members.xml
I think that it might work

It seems like a bug. Twitter might accept IDs...


[twitter-dev] Can't delete lists

2009-11-23 Thread Dimebrain
My colleague and I added Lists support to our C# Twitter Library
(tweetsharp.com) recently and during unit testing we created several
lists, expecting to destroy them with similar API calls during the
test. The DELETE calls returned successfully but the lists were never
deleted.

In fact, we can't even delete the lists from Twitter itself if we
select them through our sidebar and choose delete, which makes me
think there's a larger issue with deleting lists in general. Has
anyone else besides us experienced this? The lists otherwise function,
they just don't respond to delete requests via API or Twitter.


[twitter-dev] Is it possible to recreate Twitter's followers screen?

2009-11-23 Thread Ryan Bell
I would like to completely recreate Twitter's followers screen.  After
some research, we aren't sure its possible without being inefficient
with the API.

We're unable to determine if a user is a following the logged in user
in a bulk fashion.This information is needed in order to determine
which options to include next to each follower. ex) should you show
'follow' or 'unfollow' button?

Twitter returns your followers information, but does not include
information as to whether you are also following that user.  It seems
that the only way to get this additional information is on a 1-by-1
basis by checking to see if each of your followers is being followed
by you.

QUESTION:
Is there a better way to determine in bulk if users are being followed
by you?  It seems that this functionality must exist in order for an
application to mimic Twitter's Followers page.

Thanks in advance for any assistance,

Ryan


Re: [twitter-dev] Is it possible to recreate Twitter's followers screen?

2009-11-23 Thread Chris Thomson
There seems to be a `following` boolean attribute returned for each user in 
/statuses/followers.xml (and .json)... is that what you're looking for?

--
Chris Thomson

On 2009-11-23, at 11:16 AM, Ryan Bell wrote:

 I would like to completely recreate Twitter's followers screen.  After
 some research, we aren't sure its possible without being inefficient
 with the API.
 
 We're unable to determine if a user is a following the logged in user
 in a bulk fashion.This information is needed in order to determine
 which options to include next to each follower. ex) should you show
 'follow' or 'unfollow' button?
 
 Twitter returns your followers information, but does not include
 information as to whether you are also following that user.  It seems
 that the only way to get this additional information is on a 1-by-1
 basis by checking to see if each of your followers is being followed
 by you.
 
 QUESTION:
 Is there a better way to determine in bulk if users are being followed
 by you?  It seems that this functionality must exist in order for an
 application to mimic Twitter's Followers page.
 
 Thanks in advance for any assistance,
 
 Ryan



Re: [twitter-dev] Geotagging API

2009-11-23 Thread JOHN OBRIEN

Raffi / list - thanks again for confirming things with re: to GeoJSON.

It will be interesting to see the adoption of the Geo tagging across  
the numerous hashtags we are tracking at TwapperKeeper.


map - http://twapperkeeper.com/geoall.php

Thanks again,
John
@jobrieniii
http://twapperkeeper.com
http://www.linkedin.com/in/jobrieniii


On Nov 21, 2009, at  5:53 PM, Raffi Krikorian wrote:


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

right now we only support point types -- you'll see georss for XML  
and geojson for JSON.


does that help?


Raffi,
Thanks again for this.  Is there anywhere in the wiki that explains  
the various types (Point, etc) and if the object model is  
different?


[I didn't see anything offhand...]

Thanks again,
John
@jobrieniii
http://twapperkeeper.com


On Nov 20, 2009, at  5:40 PM, Raffi Krikorian wrote:

here is something i just ran against the search API (i formatted  
the JSON for readability).


[ra...@tw-mbp13-raffi twitter (homing_pigeon)]$ curl http://search.twitter.com/search.json?q=ands=twitter+FTWfrom=raffi 


{
results:
[
{
profile_image_url:http://a1.twimg.com/profile_images/364041028/raffi-headshot-casual_normal.png 
,

created_at:Fri,
 20 Nov 2009 15:40:40 +,
from_user:raffi,
to_user_id:null,
text:Soy milk, FTW (@ Twitter in SF) http://bit.ly/NUNGf 
,

id:5892191934,
from_user_id:278432,
geo:
{
type:Point,
coordinates:
[
37.7824,
-122.4009
]
},
iso_language_code:en,
source:lt;a href=quot;http://foursquare.comquot;  
rel=quot;nofollowquot;gt;foursquarelt;/agt;

}
],
max_id:5900232920,
since_id:0,
refresh_url:?since_id=5900232920q=+twitter+FTW+from 
%3Araffi,

results_per_page:15,
page:1,
completed_in:0.01934,
query:+twitter+FTW+from%3Araffi
}


On Nov 20, 2009, at 2:21 PM, JOHN OBRIEN wrote:


Quick question...

What format will [geo] be from the /search api?

just the lat long, something like...

[geo] = 37.78029 -122.39697

I am watching a bunch of tweets coming into our service, but I  
can't find one that is populated, so just thought I would ask.


(And I can't see anything from my account just yet... )

Thanks,
John
http://twapperkeeper.com


On Nov 19, 2009, at  4:51 PM, Raffi Krikorian wrote:

As you may have seen on the Twitter blog [1], geotagging is now  
available for all users and developers throughout Twitter's  
APIs. Specific geotagging methods have been added and existing  
formats expanded to accommodate this rich new information.


To get started developing with this API and sending geotweets,  
check out


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

Geotweets now carry the geotag whenever available and whenever  
they appear in our REST, Search, and Streaming APIs.


Remember, geotagging is disabled by default on users' accounts.  
Encourage your users to enable it by sending them to their  
settings page [2].  From that page, a user can turn this feature  
on by checking the Enable geotagging checkbox.  Alternatively,  
we're also providing a mobile optimized geotagging settings page  
[3] that you can send them too as well.  As a developer, you can  
determine whether a user has enabled geotagging by calling the  
users/show method [4] or in any other user element returned by  
the REST API where a user object shows up -- just look for the  
geo_enabled flag.


For more hints on how to use geotagging, check out our  
Geotagging Best Practices page [5] where we have UX mock-ups,  
hints on how to best support user privacy, and more.


We're really excited about this feature!  And more is coming.

Go get lost.  We'll send help.

[1] http://blog.twitter.com/2009/11/think-globally-tweet-locally.html
[2] http://twitter.com/account/settings
[3] http://m.twitter.com/account/settings/geo
[4] http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-users%C2%A0show
[5] http://help.twitter.com/forums/26810/entries/78525

--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi








--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi








--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi








[twitter-dev] Re: Is it possible to recreate Twitter's followers screen?

2009-11-23 Thread Duane Roelands
I would get a list of the current user's followers and maintain it in
a cache.  Then, when displaying an arbitrary list of users, check each
user to see if that user exists in the cache.  They they do, show the
Unfollow button.  If they don't, show the Follow button.

On Nov 23, 12:08 pm, Chris Thomson chri...@chris24.ca wrote:
 There seems to be a `following` boolean attribute returned for each user in 
 /statuses/followers.xml (and .json)... is that what you're looking for?

 --
 Chris Thomson

 On 2009-11-23, at 11:16 AM, Ryan Bell wrote:

  I would like to completely recreate Twitter's followers screen.  After
  some research, we aren't sure its possible without being inefficient
  with the API.

  We're unable to determine if a user is a following the logged in user
  in a bulk fashion.This information is needed in order to determine
  which options to include next to each follower. ex) should you show
  'follow' or 'unfollow' button?

  Twitter returns your followers information, but does not include
  information as to whether you are also following that user.  It seems
  that the only way to get this additional information is on a 1-by-1
  basis by checking to see if each of your followers is being followed
  by you.

  QUESTION:
  Is there a better way to determine in bulk if users are being followed
  by you?  It seems that this functionality must exist in order for an
  application to mimic Twitter's Followers page.

  Thanks in advance for any assistance,

  Ryan


[twitter-dev] Re: Twitter app marked inactive?

2009-11-23 Thread Brian Sutorius
Hey Luis,
Your OAuth token has been suspended. For more information about this,
please write to a...@twitter.com and I'll be happy to talk with you.

Brian

On Nov 21, 6:28 pm, luis, syndeomedia l...@syndeomedia.com wrote:
 Hey all,

 My Twitter app Listerine has been marked inactive in my
 oauth_clients page and I don't know why. (http://twitter.com/
 oauth_clients/details/45072) Could someone shed some light on this
 please?

 :luis


Re: [twitter-dev] Re: Is it possible to recreate Twitter's followers screen?

2009-11-23 Thread Michael Steuer
And what's prohibiting you from doing this?


On 11/23/09 9:38 AM, Duane Roelands duane.roela...@gmail.com wrote:

 I would get a list of the current user's followers and maintain it in
 a cache.  Then, when displaying an arbitrary list of users, check each
 user to see if that user exists in the cache.  They they do, show the
 Unfollow button.  If they don't, show the Follow button.
 
 On Nov 23, 12:08 pm, Chris Thomson chri...@chris24.ca wrote:
 There seems to be a `following` boolean attribute returned for each user in
 /statuses/followers.xml (and .json)... is that what you're looking for?
 
 --
 Chris Thomson
 
 On 2009-11-23, at 11:16 AM, Ryan Bell wrote:
 
 I would like to completely recreate Twitter's followers screen.  After
 some research, we aren't sure its possible without being inefficient
 with the API.
 
 We're unable to determine if a user is a following the logged in user
 in a bulk fashion.This information is needed in order to determine
 which options to include next to each follower. ex) should you show
 'follow' or 'unfollow' button?
 
 Twitter returns your followers information, but does not include
 information as to whether you are also following that user.  It seems
 that the only way to get this additional information is on a 1-by-1
 basis by checking to see if each of your followers is being followed
 by you.
 
 QUESTION:
 Is there a better way to determine in bulk if users are being followed
 by you?  It seems that this functionality must exist in order for an
 application to mimic Twitter's Followers page.
 
 Thanks in advance for any assistance,
 
 Ryan




[twitter-dev] Unexpected Search Results

2009-11-23 Thread howardk
I've been playing with the Search API's and finding them pretty
straightforward to use, with one exception. I'm unable to find tweets
originating from one specific company for some reason I don't
understand. The company is Ethical Bean, with a feed address of
http://twitter.com/ethicalbean.

Doing a search using the following query string, q=from
%3Aethicalbean, returns 0 hits, although I can do a search using
q=ethicalbean and get lots of hits.

Interestingly enough, using the Twitter home page Find People
feature, searches on both Ethical Bean and ethical bean return 0
hits.

Can anybody tell me what I'm doing wrong?
TIA
Howard


[twitter-dev] Rate Limit Whitelisting Change

2009-11-23 Thread Stas
We have received whitelisting approval from Twitter, but seems it is
applicable to the @name and the IP.
Given that we still get rate limit errors, should we just whitelist
the IP?

If so, what is the process of changing the whitelisting options?

Thank you,
-Stas


[twitter-dev] geo tag and direct messages?

2009-11-23 Thread Jai
I sent couple of DMs with mobile to see what geo is populated. When I
retrieve DM's from my userID, it says geo_enabled true, but status
does not have coordinates populated? am I missing something?
pls.suggest.


Re: [twitter-dev] geo tag and direct messages?

2009-11-23 Thread Raffi Krikorian

hi!

DMs do not yet have the ability to be geotagged - its on our list!


I sent couple of DMs with mobile to see what geo is populated. When I
retrieve DM's from my userID, it says geo_enabled true, but status
does not have coordinates populated? am I missing something?
pls.suggest.


--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi






Re: [twitter-dev] Rate Limit Whitelisting Change

2009-11-23 Thread Michael Steuer
Youre seeing rate limit errors for unauthenticated calls from that ip  
address, or when you authenticated calls for a user that's not  
whitelisted?




On Nov 23, 2009, at 10:30 AM, Stas stas.ant...@gmail.com wrote:


We have received whitelisting approval from Twitter, but seems it is
applicable to the @name and the IP.
Given that we still get rate limit errors, should we just whitelist
the IP?

If so, what is the process of changing the whitelisting options?

Thank you,
-Stas


Re: [twitter-dev] Is it possible to recreate Twitter's followers screen?

2009-11-23 Thread Michael Steuer
Or you could simply fetch followers/ids to get a list of all of a  
user's followers




On Nov 23, 2009, at 9:08 AM, Chris Thomson chri...@chris24.ca wrote:

There seems to be a `following` boolean attribute returned for each  
user in /statuses/followers.xml (and .json)... is that what you're  
looking for?


--
Chris Thomson

On 2009-11-23, at 11:16 AM, Ryan Bell wrote:

I would like to completely recreate Twitter's followers screen.   
After

some research, we aren't sure its possible without being inefficient
with the API.

We're unable to determine if a user is a following the logged in user
in a bulk fashion.This information is needed in order to determine
which options to include next to each follower. ex) should you show
'follow' or 'unfollow' button?

Twitter returns your followers information, but does not include
information as to whether you are also following that user.  It seems
that the only way to get this additional information is on a 1-by-1
basis by checking to see if each of your followers is being followed
by you.

QUESTION:
Is there a better way to determine in bulk if users are being  
followed

by you?  It seems that this functionality must exist in order for an
application to mimic Twitter's Followers page.

Thanks in advance for any assistance,

Ryan




[twitter-dev] Re: geo tag and direct messages?

2009-11-23 Thread Jai
Thanks for the quick reply.
Is it possible to get only the statuses with geo enabled true and
coordinates populated? How do I apply this filter thru API?. I need
public, mentions and (DM's in future).

On Nov 23, 2:55 pm, Raffi Krikorian ra...@twitter.com wrote:
 hi!

 DMs do not yet have the ability to be geotagged - its on our list!

  I sent couple of DMs with mobile to see what geo is populated. When I
  retrieve DM's from my userID, it says geo_enabled true, but status
  does not have coordinates populated? am I missing something?
  pls.suggest.

 --
 Raffi Krikorian
 Twitter Platform Team
 ra...@twitter.com | @raffi


Re: [twitter-dev] Re: geo tag and direct messages?

2009-11-23 Thread Raffi Krikorian
unfortunately no - there is no real way to filter on the API to only  
get statuses that have geo.



Thanks for the quick reply.
Is it possible to get only the statuses with geo enabled true and
coordinates populated? How do I apply this filter thru API?. I need
public, mentions and (DM's in future).


hi!

DMs do not yet have the ability to be geotagged - its on our list!

I sent couple of DMs with mobile to see what geo is populated.  
When I

retrieve DM's from my userID, it says geo_enabled true, but status
does not have coordinates populated? am I missing something?
pls.suggest.


--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi






Re: [twitter-dev] Re: Add a retweet button on the Twitter apps definition box!

2009-11-23 Thread Ryan Sarver
Thanks for the idea guys. We'll consider it and see if we can put
something together to help spread awareness of apps.

Best, Ryan

On Mon, Nov 23, 2009 at 12:36 AM, Shyam thanash...@gmail.com wrote:
 In that case, twitter could use one of its official account (or create a new
 one), which tweets this.
 --
 Yours,
 Thanashyam Raj.
 twitter.com/thanashyam



[twitter-dev] Access Denied?

2009-11-23 Thread creative
Does anyone have any idea why I am getting this

profile_background_image_url:http://a0.twimg.com/
profile_background_images/bg.gif as a response when trying to update
the background image through the api?

If you follow that url it leads to an xml file that has AccessDenied



Re: [twitter-dev] Re: geo tag and direct messages?

2009-11-23 Thread John Meyer

Jai wrote:

Thanks for the quick reply.
Is it possible to get only the statuses with geo enabled true and
coordinates populated? How do I apply this filter thru API?. I need
public, mentions and (DM's in future).
  



I think that's where you would write the filtering logic through your 
own program or website.


Re: [twitter-dev] Re: Twitter app marked inactive?

2009-11-23 Thread Andrew Badera
Could you help educate the rest of the community as to what might
cause that to happen, so we can avoid it?

Thanks-
∞ Andy Badera
∞ +1 518-641-1280 Google Voice
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Mon, Nov 23, 2009 at 12:46 PM, Brian Sutorius bsutor...@twitter.com wrote:
 Hey Luis,
 Your OAuth token has been suspended. For more information about this,
 please write to a...@twitter.com and I'll be happy to talk with you.

 Brian

 On Nov 21, 6:28 pm, luis, syndeomedia l...@syndeomedia.com wrote:
 Hey all,

 My Twitter app Listerine has been marked inactive in my
 oauth_clients page and I don't know why. (http://twitter.com/
 oauth_clients/details/45072) Could someone shed some light on this
 please?

 :luis



[twitter-dev] Re: Proper protocol for displaying user's avatar in an app

2009-11-23 Thread vsr
Doesn't http://twivatar.org solve it?

On Nov 23, 9:12 am, Adam Green a...@vibemetrix.com wrote:
 I'm building a Web app that caches tweets and user info from the
 streaming API, and then displays all the tweets for a single user. At
 times up to 30 or 40 tweets from the same user are displayed on a
 page. I've been caching the profile image url I get back from the
 streaming API, and then using this URL in an img tag sent to the
 browser. So I am letting the user's browser pull it from the Twitter
 server as needed. I don't see anything in the API docs that warns
 against this, but sometimes I am getting an access denied XML back
 instead of the proper image. Is this a bug, or should I be downloading
 each user's avatar and serving it from my server instead? The image is
 being requested by the user's browser, so whilelisting the server's IP
 won't help. The access denied response is intermittent. Sometimes it
 happens after 5 requests for the same image, sometimes 30 appear with
 no problem. Sometimes a few appear, a few fail, and then the rest
 work. So it doesn't seem like rate limiting.


Re: [twitter-dev] Re: strange search api behavior

2009-11-23 Thread Hayes Davis
+1 on this. I'm frequently getting 0 results from the search API (not an
error, just 0 results) when including the since_id even though a search
without the since_id shows that there are tweets with larger ids for the
same query string.

Hayes


On Mon, Nov 23, 2009 at 1:16 AM, Karthik fermis...@gmail.com wrote:

 I have this problem as well. I use since_id and I query for newer
 results every minute. For past 10 days, I'm seeing my app was not
 indexing many tweets. I compared the results with search.twitter.com
 and I can clearly see that I'm missing out a lot of tweets, if I keep
 including the since_id parameter. I guess, there are some issues in
 the search system.

 On Nov 19, 3:30 am, Tadeu Andrade tadeu.andr...@gmail.com wrote:
  hi folks,
  since last week, I noticed thatsearchis behaving a little strange.
  For example, if I do a query on a keyword using since_id, sometimes I
  get no results. If I remove since_id parameters, the query succeed and
  if I repeat the initial query (with since_id), then I get results.
  Same thing occurs if I query from the web page and later from API (via
  json).
  Anyone else has noticed this weird behavior?
 
  cheers
 
  Tadeu



[twitter-dev] Re: White Listing and Rate Limiting

2009-11-23 Thread mtruth
I whitelisted my account.  My IP would change depending on where I am
doing my work.

On Nov 23, 10:43 pm, shiplu shiplu@gmail.com wrote:
 On Mon, Nov 23, 2009 at 9:41 AM,mtruthrutherf...@michaelsworld.net wrote:
  Hi,

  I'm creating an application in VB.Net, I've been white listed.  Yet
  when I get my rate in VB.Net it shows that am I am only getting 150
  request.  When I check my available requests, I am using my username
  and password.

  Yet, when I run Tweetdeck, I am shown that I get my full white listed
  rate limit.

 What did you whitelist? your account or IP?

 --
 A K M Mokaddim
 My talks,http://talk.cmyweb.net
 Follow me,http://twitter.com/shiplu
 SUST Programmers,http://groups.google.com/group/p2psust
 বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল


Re: [twitter-dev] Re: White Listing and Rate Limiting

2009-11-23 Thread Michael Steuer
Are you sure your checking your rate with an authenticated call? If  
you don't, you'd get the rate for your IP




On Nov 23, 2009, at 7:02 PM, mtruth rutherf...@michaelsworld.net  
wrote:



I whitelisted my account.  My IP would change depending on where I am
doing my work.

On Nov 23, 10:43 pm, shiplu shiplu@gmail.com wrote:
On Mon, Nov 23, 2009 at 9:41  
AM,mtruthrutherf...@michaelsworld.net wrote:

Hi,



I'm creating an application in VB.Net, I've been white listed.  Yet
when I get my rate in VB.Net it shows that am I am only getting 150
request.  When I check my available requests, I am using my username
and password.


Yet, when I run Tweetdeck, I am shown that I get my full white  
listed

rate limit.


What did you whitelist? your account or IP?

--
A K M Mokaddim
My talks,http://talk.cmyweb.net
Follow me,http://twitter.com/shiplu
SUST Programmers,http://groups.google.com/group/p2psust
বাংলিশ লেখার চাইতে বাংলা  
লেখা অনেক ভাল


Re: [twitter-dev] Re: White Listing and Rate Limiting

2009-11-23 Thread Michael Rutherford
Yes, when I send the request to the server, I set the network credentials
with my username and password.  The same way I would any other call that
requires authentication.

On Tue, Nov 24, 2009 at 1:23 PM, Michael Steuer mste...@gmail.com wrote:

 Are you sure your checking your rate with an authenticated call? If you
 don't, you'd get the rate for your IP




 On Nov 23, 2009, at 7:02 PM, mtruth rutherf...@michaelsworld.net wrote:

 I whitelisted my account.  My IP would change depending on where I am
 doing my work.

 On Nov 23, 10:43 pm, shiplu shiplu@gmail.com wrote:

 On Mon, Nov 23, 2009 at 9:41 AM,mtruthrutherf...@michaelsworld.net
 wrote:

 Hi,


 I'm creating an application in VB.Net, I've been white listed.  Yet
 when I get my rate in VB.Net it shows that am I am only getting 150
 request.  When I check my available requests, I am using my username
 and password.


 Yet, when I run Tweetdeck, I am shown that I get my full white listed
 rate limit.


 What did you whitelist? your account or IP?

 --
 A K M Mokaddim
 My talks,http://talk.cmyweb.net
 Follow me,http://twitter.com/shiplu
 SUST Programmers,http://groups.google.com/group/p2psust
 বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল




Re: [twitter-dev] Adding line breaks in tweets

2009-11-23 Thread Joseph Cheek
It is possible to post a NL in a status update, but almost all HTML 
clients will ignore it (actually, they'll treat it like any other NL in 
HTML, which is about the same thing).


Even my command-line twitter client, which used to display the post such 
as yours with a NL correctly, now mimics the behaviour of HTML clients.


bottom line: I don't think you will find a client that will honor a NL.  
you might be able to get a few nbsp;s in to emphasize your URL by 
separating it from your text, but it's iffy and (at six chars for a 
single blank space) expensive.


Joseph Cheek
jos...@cheek.com
@cheekdotcom on twitter

ericbulloch wrote:

Hey All,

I was wondering is it possible to add line breaks when posting a
tweet.

For example I want to post some thing like this:

Check out what I just designed...
{Link to design}

Create your own design at...
{Link to create design}


But when I post a tweet it looks like this:
Check out what I just designed... {Link to
design} Create your own design at... {Link
to create design}


Please help
  


[twitter-dev] Re: Retweets and the Public Timeline

2009-11-23 Thread MikeF
Marcel,

Could you please let us know if you have reconsidered removing
retweets from the public timeline.  It is a major issue as far as we
are concerned.

I think Tyson has suggested the perfect general rule:

 If it is available publicly on twitter.com, you should allow access to
 it via the API without authentication.

Thanks,
Mike