[twitter-dev] Problem setting up new twitter-async browser app

2011-01-31 Thread Patrick
I've copied my consumer key and consumer secret to the secret.php, but
$twitterObj-getAuthenticateUrl() returns a nasty error.  I've been
suck on this several days, and I think there is some issue with my
account, as I normally do not have a problem.  Does this look okay?
Is there a way I can diagnose this error better?

?php
require EpiCurl.php;
require EpiOAuth.php;
require EpiTwitter.php;
require secret.php;


$twitterObj = new EpiTwitter(CONSUMER_KEY,CONSUMER_SECRET);
$authenticateUrl = $twitterObj-getAuthenticateUrl();

?

Fatal error: Uncaught exception 'EpiOAuthException' in /home/pk/server/
gates/EpiOAuth.php:406 Stack trace: #0 /home/pk/server/gates/
EpiOAuth.php(376): EpiOAuthException::raise(Object(EpiCurlManager),
false) #1 /home/pk/server/gates/EpiOAuth.php(39): EpiOAuthResponse-
__get('oauth_token') #2 /home/pk/server/gates/index.php(9): EpiOAuth-
getAuthenticateUrl() #3 {main} thrown in /home/pk/server/gates/
EpiOAuth.php on line 406

-- 
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: Problem setting up new twitter-async browser app

2011-01-31 Thread Patrick Kennedy
Seems like I just figured out the issue.  For some reason, I have a
problem with my Firefox web browser.  It works fine in Epiphany Web
Browser.  I'm not sure what the issue is with Firefox, but I am trying
to determine the problem.  It is not a cache issue, since I have
already dumped the cache several times.

On Mon, Jan 31, 2011 at 1:39 AM, Patrick kenned...@gmail.com wrote:
 I've copied my consumer key and consumer secret to the secret.php, but
 $twitterObj-getAuthenticateUrl() returns a nasty error.  I've been
 suck on this several days, and I think there is some issue with my
 account, as I normally do not have a problem.  Does this look okay?
 Is there a way I can diagnose this error better?

 ?php
 require EpiCurl.php;
 require EpiOAuth.php;
 require EpiTwitter.php;
 require secret.php;


 $twitterObj = new EpiTwitter(CONSUMER_KEY,CONSUMER_SECRET);
 $authenticateUrl = $twitterObj-getAuthenticateUrl();

 ?

 Fatal error: Uncaught exception 'EpiOAuthException' in /home/pk/server/
 gates/EpiOAuth.php:406 Stack trace: #0 /home/pk/server/gates/
 EpiOAuth.php(376): EpiOAuthException::raise(Object(EpiCurlManager),
 false) #1 /home/pk/server/gates/EpiOAuth.php(39): EpiOAuthResponse-
__get('oauth_token') #2 /home/pk/server/gates/index.php(9): EpiOAuth-
getAuthenticateUrl() #3 {main} thrown in /home/pk/server/gates/
 EpiOAuth.php on line 406

-- 
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: Problem setting up new twitter-async browser app

2011-01-31 Thread Patrick Kennedy
Actually, it's now working on both sides Firefox and Epiphany.  Just
starting to work suddenly.  My just trying it with Epiphany cleared
the issue somehow.  I'm not sure.  But it's finally working.

-- 
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] Can list name use unicode characters?

2011-01-31 Thread darasion
Hi all,
 I remember that if I create a list using unicode characters(such as Chinese 
characters), the list would convert to @screen_name/List-1 automatically 
some times ago.
 But recently I noticed that someone create a list with chinese-character 
name:

See this: https://twitter.com/#!/wujiaye/%E5%A5%BD%E6%AC%A1%E7%9A%84

 Is this means twitter has supported unicode list name or just a bug?


-- 
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 list name use unicode characters?

2011-01-31 Thread darasion
BTW,

It seems twitter text parser can't parse list name correctly such as 
 @wujiaye/好次的


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


[twitter-dev] How to know RT messages?

2011-01-31 Thread Myung Jin Lee
Hellow, guys..
I have a question about twitter messages.

I want to know number of RT messages of other person.
Can I get it using Twitter API or other ways?

If you have some idea, please help me.
Thanks all.

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


[twitter-dev] email address and phone number for friends

2011-01-31 Thread AressAmol
Using the Twitter API is it possable to fetch the email address and
phone number of friends?

I am trying to fetch the friends details with the twitter API, but
unable to get the friends email Id and phone number.

Please let me know the answer for the same. thanks in advance

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


[twitter-dev] Direct link to tweet

2011-01-31 Thread Nikolaj Hald Nielsen
Given a user id and a tweet id from the rest API, what is the correct
and consistent way to generate a link directly to the source tweet?

something like http://twitter.com/#!/USER_ID/status/TWEET_ID
works _sometimes_, in some cases. Sometimes it depends on whether a
user is logged in or not, and sometimes it actually leads to the wrong
tweet as the TWEET_ID is numerically of by a few steps compared to the
link you get form the twitter web page. Also sometimes USER_ID has to
be replaces by the users twitter name for it to work.

So far I have not had any luck getting this to consistently work. I
really hope I am missing something simple and someone here can give me
a pointer in the right direction.

- Nikolaj

-- 
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] Sharing Access to Application Control Panel

2011-01-31 Thread sparktronics
Hello there,

Is there a way to share the access to the application configuration
screen (http://dev.twitter.com/apps) to other developers? I just
created an app and wanted to add another developer to have access to
modify the logo, for example.

I couldn't find any postings on this subject.

Thanks very much,
Mario

-- 
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] email address and phone number for friends

2011-01-31 Thread Adam Green
Email addresses and phone numbers are not available from the Twitter API.

On Mon, Jan 31, 2011 at 9:02 AM, AressAmol aress.a...@gmail.com wrote:
 Using the Twitter API is it possable to fetch the email address and
 phone number of friends?

 I am trying to fetch the friends details with the twitter API, but
 unable to get the friends email Id and phone number.

 Please let me know the answer for the same. thanks in advance

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




-- 
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] Numeric JSON Error code

2011-01-31 Thread MigueL DíaZ
Hi all!

I'm currently developing a C language application that provides full twitter
access to users from command line.
Everything goes fine except for error handling, as my users are not very
good english speakers...

Json Error structures are of the form:

request: /1/users/show.json?screen_name=jfnsdjvnd
error: Not found

And the errors I've captured so far are:

Not found
Status is a duplicate.
Status is over 140 characters.
You cannot send messages to users who are not following you.

My questions are:

- Literally searching for those texts in error responses, is reliable?
- Are they likely to change in the future without an announcement to this
list?
- If so... How possible is to add an extra field that contains a numeric
error code that is reliable?

I think this may benefit not just me, but all multi-language application
implementers, by providing a simple way to tell one error from another...

Thanks for your attention, hope a nice discussion on the subject may start
on this thread.

Best regards,
Miguel.

-- 
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] Sharing Access to Application Control Panel

2011-01-31 Thread Taylor Singletary
This is not yet possible. You may be better off creating a specific Twitter
account to house your application, then share the account details with your
fellow developer ( as red-flaggy as that may sound). Our API support team
can assist you in transferring an application from one account to another --
that process gets started by having the original account owner email
a...@twitter.com with details on the target account to receive the
application.

Taylor

On Mon, Jan 31, 2011 at 2:49 AM, sparktronics sparktron...@gmail.comwrote:

 Hello there,

 Is there a way to share the access to the application configuration
 screen (http://dev.twitter.com/apps) to other developers? I just
 created an app and wanted to add another developer to have access to
 modify the logo, for example.

 I couldn't find any postings on this subject.

 Thanks very much,
 Mario

 --
 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] Topics trending nearby!

2011-01-31 Thread twitter dev
Hi Guys,

I've few questions on topics trending nearby,
1. Trends are based on WOEID. Can we get the twitter trends based on
lat/long geo-coords ?
2. If 1 is not possible then, what is the best way to get the accurate
WOEID for a lat/long geo-coords ?
3. I tried http://api.twitter.com/version/trends/:woeid.format , which
gives only the topic name and a link to that page. How do I get some
more info from this call ?

I'm stuck here now, guys help is much appreciated.

Thank you all,
-dev.

-- 
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 spam checker on a distributed basis

2011-01-31 Thread M. Edward (Ed) Borasky
On Mon, 31 Jan 2011 06:18:58 -0500, Dean Collins d...@cognation.net 
wrote:

Ok I'm drowning here, I've given up trying to manually block all the
people on twitter sending me spam and I don't think that TrueTwit is
really the solution.

What we really need is a distributed system like Spam Assassin where
when enough people block or report an account as spam that it is
then flagged and block from all other participating accounts. Does
something like this exist already? Is the API the limit to using
something like this? What can I cut down on the number of follows who
are sending me spam accounts?

Cheers,

Dean

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


Links:
--
[1] http://dev.twitter.com/doc
[2] http://twitter.com/twitterapi
[3] http://code.google.com/p/twitter-api/issues/list
[4] http://groups.google.com/group/twitter-development-talk


I'm guessing Twitter has to manually review all the block and report 
for spam reports, unless they either get thousands of such reports for 
an account, or the account's offensive behavior is so blatantly robotic 
that it triggers some other automated detector.


How many new follows do you get per day now? I'm following about 9300 
and followed by about 8600. I only get about 20 - 30 new followers a 
day, about half of which are humans that I want to follow back, or are 
people who have followed me back. So I have enough time to go through 
the list once a day and look at not only the new follower but also the 
list of up to six other accounts in the email and make decisions on each 
one - follow, unfollow, block or block and report.

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

A mathematician is a device for turning coffee into theorems. -- Paul 
Erdős


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


[twitter-dev] Places data for Japan an other countries

2011-01-31 Thread jomo
Hello
I would like to know if the services for geolocalization are providing
now information for places in Japan and which other countries are
available.
Thanks

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


[twitter-dev] Re: Updating status with a picture

2011-01-31 Thread nelrib
can anyone just give me a quick answer to this.

On Jan 28, 1:17 pm, nelrib ribeironel...@gmail.com wrote:
 Hi,

 currently i am able to update my status through my twitter app. when
 updating with a link to an image i must click the link in twitter to
 view the image. what i wanted was to have the image popup in the right
 sidebar just like pictures from twitpic come up.

 just wondering if a domain must be whitelisted so that when updating
 your status with an image it becomes viewable in the sidebar, or if
 there is a special api call for pictures.

 thanks,
 Nelson

-- 
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: Updating status with a picture

2011-01-31 Thread Taylor Singletary
Hi Nelson,

At this time, Twitter selects which content partners appear in the details
pane.

Thanks,
Taylor

On Mon, Jan 31, 2011 at 12:29 PM, nelrib ribeironel...@gmail.com wrote:

 can anyone just give me a quick answer to this.

 On Jan 28, 1:17 pm, nelrib ribeironel...@gmail.com wrote:
  Hi,
 
  currently i am able to update my status through my twitter app. when
  updating with a link to an image i must click the link in twitter to
  view the image. what i wanted was to have the image popup in the right
  sidebar just like pictures from twitpic come up.
 
  just wondering if a domain must be whitelisted so that when updating
  your status with an image it becomes viewable in the sidebar, or if
  there is a special api call for pictures.
 
  thanks,
  Nelson

 --
 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] Twitter Oembed

2011-01-31 Thread Ashley Sarver
Has anyone had problems requesting permission for media partnerships
in able to allow users to preview content on your links? I tried
emailing someone about it, but I didn't get any response.

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


Re: [twitter-dev] Topics trending nearby!

2011-01-31 Thread Taylor Singletary
Hi dev.at.twitter,

Yes, Local Trends are only available by one of the 42 currently supported
WOEIDs (including Worldwide/WOEID==1).

However, the GET http://api.twitter.com/1/trends/available.json method will
take a lat and long parameter set to return supported WOEIDs for a location
(see the end of this message for a brief summary on WOEIDs we have trends
for now).

Finally, the trends/:woeid call is meant to tell you what the current trends
are, not to provide the actual tweets that make up that trend. Each trend in
the array will have a name, a URL pointing to the search.twitter.com WEB UI
(which can easily be munged into a Search API URL), and the actual query
criteria that is considered part of the trend.

For finding WOEIDs for lat/longs that aren't necessarily reflected in
Trending Topics, look here: http://developer.yahoo.com/geo/geoplanet/

Summary on current local trends areas:

 [
 {
 label:Ireland,
 woeid:23424803
 },
 {
 label:United Kingdom,
 woeid:23424975
 },
 {
 label:Mexico,
 woeid:23424900
 },
 {
 label:Boston,
 woeid:2367105
 },
 {
 label:Washington,
 woeid:2514815
 },
 {
 label:Miami,
 woeid:2450022
 },
 {
 label:Su00e3o Paulo,
 woeid:455827
 },
 {
 label:Baltimore,
 woeid:2358820
 },
 {
 label:India,
 woeid:23424848
 },
 {
 label:Worldwide,
 woeid:1
 },
 {
 label:Colombia,
 woeid:23424787
 },
 {
 label:Italy,
 woeid:23424853
 },
 {
 label:Detroit,
 woeid:2391585
 },
 {
 label:Argentina,
 woeid:23424747
 },
 {
 label:Netherlands,
 woeid:23424909
 },
 {
 label:New York,
 woeid:2459115
 },
 {
 label:Australia,
 woeid:23424748
 },
 {
 label:United States,
 woeid:23424977
 },
 {
 label:San Antonio,
 woeid:2487796
 },
 {
 label:France,
 woeid:23424819
 },
 {
 label:Chile,
 woeid:23424782
 },
 {
 label:Minneapolis,
 woeid:2452078
 },
 {
 label:Philadelphia,
 woeid:2471217
 },
 {
 label:Chicago,
 woeid:2379574
 },
 {
 label:Brazil,
 woeid:23424768
 },
 {
 label:Houston,
 woeid:2424766
 },
 {
 label:San Francisco,
 woeid:2487956
 },
 {
 label:Los Angeles,
 woeid:2442047
 },
 {
 label:Venezuela,
 woeid:23424982
 },
 {
 label:Canada,
 woeid:23424775
 },
 {
 label:Spain,
 woeid:23424950
 },
 {
 label:Sydney,
 woeid:1105779
 },
 {
 label:Singapore,
 woeid:23424948
 },
 {
 label:Atlanta,
 woeid:2357024
 },
 {
 label:Indonesia,
 woeid:23424846
 },
 {
 label:Germany,
 woeid:23424829
 },
 {
 label:Dallas-Ft. Worth,
 woeid:2388929
 },
 {
 label:Rio de Janeiro,
 woeid:455825
 },
 {
 label:London,
 woeid:44418
 },
 {
 label:Toronto,
 woeid:4118
 },
 {
 label:Turkey,
 woeid:23424969
 },
 {
 label:Seattle,
 woeid:2490383
 }
 ]



On Mon, Jan 31, 2011 at 9:21 AM, twitter dev dev.at.twit...@gmail.comwrote:

 Hi Guys,

 I've few questions on topics trending nearby,
 1. Trends are based on WOEID. Can we get the twitter trends based on
 lat/long geo-coords ?
 2. If 1 is not possible then, what is the best way to get the accurate
 WOEID for a lat/long geo-coords ?
 3. I tried http://api.twitter.com/version/trends/:woeid.format , which
 gives only the topic name and a link to that page. How do I get some
 more info from this call ?

 I'm stuck here now, guys help is much appreciated.

 Thank you all,
 -dev.

 --
 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] Query for retweets needs authentication?

2011-01-31 Thread Pablo Fernandez
Hello guys,

First of all, thanks for the wonderful API, it's a pleasure to use.

Now, I'm trying to use the retweets api call (http://
developer.twitter.com/doc/get/statuses/retweets/:id) to get the
retweets of a particular tweet.

I'm using the twitter ruby gem, and there and in the official docs it
says the call does not need authorization, but when trying to make the
call it says that I need the proper credentials.

There is a bug filed here with more info:

https://github.com/jnunemaker/twitter/issues/closed#issue/138

Does that call need auth or not?

Thanks!

Pablo

-- 
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: Upgrading from Read to Read / Write access for OAuth API Key

2011-01-31 Thread Tim Bull
While this makes me happy (from a developers point of view), surely
this is a bug and therefore not to be relied on?

As a user, I agree with the logic that if I authorised Read only, the
application shouldn't be able to turn this into Read/Write without
some subsequent approval.

Tim

On Jan 31, 1:46 pm, Abraham Williams 4bra...@gmail.com wrote:
 Taylor,

 Confirmed. I just upgraded read only tokens and was able
 to successfully send a DM.

 Thank you for finally allowing read only access tokens to be upgraded to
 read and write access tokens. This issue has been plaguing developers for
 almost a year now. Both forcing applications to ask for permission they
 didn't need if there was even a remote possibility they might want write
 permissions in the future and biting devs in the ass if they unknowingly
 built up a customer base of read only tokens.

 I hope we will continue to see fixes coming down the pipe to keep Twitter
 API a viable platform for further development.

 Thank you again,
 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 Sun, Jan 30, 2011 at 11:19, Taylor Singletary 







 taylorsinglet...@twitter.com wrote:
  You'll have to re-ask your users for permission for write mode and you
  won't have any way via the API to track who is ready to read/write yet --
  you'll want to manage the conversion process yourself and track whether
  you've converted your users yet or not.

  The thinking behind this is that when your users authorized your app, they
  only authorized it for read-access. Wanting write access requires a new
  agreement with the user.

  The oauth/authorize step should now upgrade to read/write from read-only
  tokens when the user is re-challenged.

  Taylor

  On Sun, Jan 30, 2011 at 8:32 AM, Adam Green 140...@gmail.com wrote:

  So if a user authorizes an app for read access, the app can switch to
  read/write at any time without asking the users permission? Is this
  true? Anyone from Twitter have any input on this?

  On Sun, Jan 30, 2011 at 11:04 AM, Patrick Kennedy kenned...@gmail.com
  wrote:
   Tim -

   1.  Changing from read to read/write won't change you API consumer
   keys or tokens.

   2.  Your application's users don't authorized for read or read/write;
   they merely use your application, which you offer as read or
   read/write to the world.  That is to say, if it's read, your
   application can only read its tweets, and if read/write, it can both
   read its own tweet and post to the world.

   I'd say go ahead and switch to read/write, given the fact that you now
   want that functionality.

   ~Patrick

   On Sat, Jan 29, 2011 at 10:24 PM, Tim Bull tim.b...@binaryplex.com
  wrote:
   We must be about the only developers in the universe that requested
   users grant only read access when we first got people to connect
  http://trunk.lyto Twitter (I think of the 40 or so apps authorized on
   my account, Trunk.ly is the only one that asks for Read only).  Never
   ask for more access than you need is my philosophy.

   Doh!

   Of course now, we want to add some Tweet out functions which require
   users grant us Write access.

   A couple of questions for the Twitter people.

   1. If we change the access in the application from read to read/write
   does this reset the API key, or will it stay the same (hoping it stays
   the same).
   2. How can I work out if existing users have authorised us for read/
   write?  I looked at
 http://developer.twitter.com/doc/get/account/verify_credentials
   but it doesn't show me what access they have.  Do I have to write,
   fail, force them to step through OAuth then post? Or is there a way of
   knowing before hand it will fail and asking them to upgrade?

   Thanks,

   Tim

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

   --
   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 developer documentation and 

Re: [twitter-dev] Re: Upgrading from Read to Read / Write access for OAuth API Key

2011-01-31 Thread Tom van der Woerdt
Actually, since the user needs to re-authorize the application, I do not 
think that this is a bug.


Tom


On 1/31/11 10:45 PM, Tim Bull wrote:

While this makes me happy (from a developers point of view), surely
this is a bug and therefore not to be relied on?

As a user, I agree with the logic that if I authorised Read only, the
application shouldn't be able to turn this into Read/Write without
some subsequent approval.

Tim

On Jan 31, 1:46 pm, Abraham Williams4bra...@gmail.com  wrote:

Taylor,

Confirmed. I just upgraded read only tokens and was able
to successfully send a DM.

Thank you for finally allowing read only access tokens to be upgraded to
read and write access tokens. This issue has been plaguing developers for
almost a year now. Both forcing applications to ask for permission they
didn't need if there was even a remote possibility they might want write
permissions in the future and biting devs in the ass if they unknowingly
built up a customer base of read only tokens.

I hope we will continue to see fixes coming down the pipe to keep Twitter
API a viable platform for further development.

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

On Sun, Jan 30, 2011 at 11:19, Taylor Singletary







taylorsinglet...@twitter.com  wrote:

You'll have to re-ask your users for permission for write mode and you
won't have any way via the API to track who is ready to read/write yet --
you'll want to manage the conversion process yourself and track whether
you've converted your users yet or not.



The thinking behind this is that when your users authorized your app, they
only authorized it for read-access. Wanting write access requires a new
agreement with the user.



The oauth/authorize step should now upgrade to read/write from read-only
tokens when the user is re-challenged.



Taylor



On Sun, Jan 30, 2011 at 8:32 AM, Adam Green140...@gmail.com  wrote:



So if a user authorizes an app for read access, the app can switch to
read/write at any time without asking the users permission? Is this
true? Anyone from Twitter have any input on this?



On Sun, Jan 30, 2011 at 11:04 AM, Patrick Kennedykenned...@gmail.com
wrote:

Tim -



1.  Changing from read to read/write won't change you API consumer
keys or tokens.



2.  Your application's users don't authorized for read or read/write;
they merely use your application, which you offer as read or
read/write to the world.  That is to say, if it's read, your
application can only read its tweets, and if read/write, it can both
read its own tweet and post to the world.



I'd say go ahead and switch to read/write, given the fact that you now
want that functionality.



~Patrick



On Sat, Jan 29, 2011 at 10:24 PM, Tim Bulltim.b...@binaryplex.com

wrote:

We must be about the only developers in the universe that requested
users grant only read access when we first got people to connect
http://trunk.lyto Twitter (I think of the 40 or so apps authorized on
my account, Trunk.ly is the only one that asks for Read only).  Never
ask for more access than you need is my philosophy.



Doh!



Of course now, we want to add some Tweet out functions which require
users grant us Write access.



A couple of questions for the Twitter people.



1. If we change the access in the application from read to read/write
does this reset the API key, or will it stay the same (hoping it stays
the same).
2. How can I work out if existing users have authorised us for read/
write?  I looked at

http://developer.twitter.com/doc/get/account/verify_credentials

but it doesn't show me what access they have.  Do I have to write,
fail, force them to step through OAuth then post? Or is there a way of
knowing before hand it will fail and asking them to upgrade?



Thanks,



Tim



--
Twitter developer documentation and resources:

http://dev.twitter.com/doc

API updates via Twitter:http://twitter.com/twitterapi
Issues/Enhancements Tracker:

http://code.google.com/p/twitter-api/issues/list

Change your membership to this group:

http://groups.google.com/group/twitter-development-talk



--
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 developer documentation and 

Re: [twitter-dev] Query for retweets needs authentication?

2011-01-31 Thread Taylor Singletary
Hello Pablo!

This is a documentation error. The method requires authentication.

Taylor

On Mon, Jan 31, 2011 at 1:36 PM, Pablo Fernandez fernandezpabl...@gmail.com
 wrote:

 Hello guys,

 First of all, thanks for the wonderful API, it's a pleasure to use.

 Now, I'm trying to use the retweets api call (http://
 developer.twitter.com/doc/get/statuses/retweets/:id) to get the
 retweets of a particular tweet.

 I'm using the twitter ruby gem, and there and in the official docs it
 says the call does not need authorization, but when trying to make the
 call it says that I need the proper credentials.

 There is a bug filed here with more info:

 https://github.com/jnunemaker/twitter/issues/closed#issue/138

 Does that call need auth or not?

 Thanks!

 Pablo

 --
 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] Question about Search

2011-01-31 Thread Taylor Singletary
There are several factors involved in surfacing in search results, chief
among them that the search index represents only around a week's worth of
Tweets. Additionally, the search index is filtered for quality and some
tweets and/or accounts will not be represented:
http://support.twitter.com/articles/66018-my-tweets-or-hashtags-are-missing-from-search

Here's a summary of reasons a user might not appear in search:


1. *Your tweets aren't recent: *We only index tweets for about 6 days.
If your most recent tweet is older than that, please tweet again and check.
2. *Your account is private:* Private or protected accounts do not
appear in search.Learn more about protected accounts 
 herehttp://support.twitter.com/articles/14016-about-public-and-protected-accounts
.
3. *Your account is new, or you recently changed your username: *It can
take a few days for new and updated accounts to be indexed by search.
4. *Your email is bouncing:* If you log in and see a big red warning
when you're attwitter.com that says your email address is having
delivery issues, please take the steps to fix it! We want to show you in
search, but we need you to fix your email first (see Screenshot 2 below).
5. *You are being filtered out of search due to a quality issue*: In
order to provide the best search experience for users, Twitter 
 automatically
filters search results for quality. This Search Quality help 
 pagehttp://support.twitter.com/forums/10713/entries/42646 has
information why accounts are filtered from search
6. *You are missing because of current resource constraints: *Right
now, some users may not be seeing their Tweets because of resource
constraints. This is more likely affecting you if you're a new user (with 
 an
account less than a couple of weeks old). Our search engineers are working
on this known issue, and your Tweets should start showing up in search 
 soon!

 Taylor

On Sat, Jan 29, 2011 at 7:17 PM, jparicka jpari...@gmail.com wrote:

 Why is it not returning all search results?  E.e. when I search for
 @fu2ri I can clearly see few tweets missing. No matter what token/
 credentials I use.  Are Search results also not guaranteed to appear?
 Is there a time-lock of some sort on Search? Thanks!

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


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


[twitter-dev] Re: Updating status with a picture

2011-01-31 Thread Ashley Sarver
How can a website apply for partnerships? Through 
http://dev.twitter.com/media_signup/new?
How long does the process take?

On Jan 31, 3:43 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Nelson,

 At this time, Twitter selects which content partners appear in the details
 pane.

 Thanks,
 Taylor







 On Mon, Jan 31, 2011 at 12:29 PM, nelrib ribeironel...@gmail.com wrote:
  can anyone just give me a quick answer to this.

  On Jan 28, 1:17 pm, nelrib ribeironel...@gmail.com wrote:
   Hi,

   currently i am able to update my status through my twitter app. when
   updating with a link to an image i must click the link in twitter to
   view the image. what i wanted was to have the image popup in the right
   sidebar just like pictures from twitpic come up.

   just wondering if a domain must be whitelisted so that when updating
   your status with an image it becomes viewable in the sidebar, or if
   there is a special api call for pictures.

   thanks,
   Nelson

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

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


Re: [twitter-dev] Re: Updating status with a picture

2011-01-31 Thread Matt Harris
Hey to you all,

Feedback about the Details Pane has been great but we are focusing on other
projects right now. This means we aren't starting any new partner
integrations at this time.
We are excited to get more publishers into the program though, so when we
start accepting new integrations we'll let you all know.

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


On Mon, Jan 31, 2011 at 12:53 PM, Ashley Sarver asarv...@gmail.com wrote:

 How can a website apply for partnerships? Through
 http://dev.twitter.com/media_signup/new?
 How long does the process take?

 On Jan 31, 3:43 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
  Hi Nelson,
 
  At this time, Twitter selects which content partners appear in the
 details
  pane.
 
  Thanks,
  Taylor
 
 
 
 
 
 
 
  On Mon, Jan 31, 2011 at 12:29 PM, nelrib ribeironel...@gmail.com
 wrote:
   can anyone just give me a quick answer to this.
 
   On Jan 28, 1:17 pm, nelrib ribeironel...@gmail.com wrote:
Hi,
 
currently i am able to update my status through my twitter app. when
updating with a link to an image i must click the link in twitter to
view the image. what i wanted was to have the image popup in the
 right
sidebar just like pictures from twitpic come up.
 
just wondering if a domain must be whitelisted so that when updating
your status with an image it becomes viewable in the sidebar, or if
there is a special api call for pictures.
 
thanks,
Nelson
 
   --
   Twitter developer documentation and resources:
 http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
   Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk

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


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


Re: [twitter-dev] getting illegal/invalid characters back in json

2011-01-31 Thread Matt Harris
Hi,

Are you still seeing this issue?

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


On Mon, Jan 24, 2011 at 1:34 PM, dt dtip...@gmail.com wrote:

 I pull json results from a url like this:


 http://api.twitter.com/1/statuses/user_timeline/.json?count=9include_rts=truecallback=jsonp1295903703204_=12959037

 Where X is the feed name. Normally, this works (I can't say what
 the feed name is, unfortunately).  But I recently renamed the account,
 and now, intermittently, I get back jsonp that ends with something
 like this:

 o_screen_name:null,created_at:Mon ...45 + 2011},
 0,  0,  0,  0,  0]);

 You can't see them, but there are two bizarre, unknown illegal
 characters in there before all the zeros. json parsers, of course,
 choke on them quite badly.  If I look at them in a text editor, they
 are EOT and BS in black boxes instead of regular characters.

 Any idea why this would be happening?  Could it be related to changing
 the name of the account, and will it go away quickly?

 --
 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: Upgrading from Read to Read / Write access for OAuth API Key

2011-01-31 Thread Tim Bull
The way I read Abraham's note, he's saying that by simply upgrading
the token from read to read/write he was able to write?  I didn't take
it to mean he had also sent the user to reauthorise?

T

On Feb 1, 8:46 am, Tom van der Woerdt i...@tvdw.eu wrote:
 Actually, since the user needs to re-authorize the application, I do not
 think that this is a bug.

 Tom

 On 1/31/11 10:45 PM, Tim Bull wrote:







  While this makes me happy (from a developers point of view), surely
  this is a bug and therefore not to be relied on?

  As a user, I agree with the logic that if I authorised Read only, the
  application shouldn't be able to turn this into Read/Write without
  some subsequent approval.

  Tim

  On Jan 31, 1:46 pm, Abraham Williams4bra...@gmail.com  wrote:
  Taylor,

  Confirmed. I just upgraded read only tokens and was able
  to successfully send a DM.

  Thank you for finally allowing read only access tokens to be upgraded to
  read and write access tokens. This issue has been plaguing developers for
  almost a year now. Both forcing applications to ask for permission they
  didn't need if there was even a remote possibility they might want write
  permissions in the future and biting devs in the ass if they unknowingly
  built up a customer base of read only tokens.

  I hope we will continue to see fixes coming down the pipe to keep Twitter
  API a viable platform for further development.

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

  On Sun, Jan 30, 2011 at 11:19, Taylor Singletary

  taylorsinglet...@twitter.com  wrote:
  You'll have to re-ask your users for permission for write mode and you
  won't have any way via the API to track who is ready to read/write yet --
  you'll want to manage the conversion process yourself and track whether
  you've converted your users yet or not.

  The thinking behind this is that when your users authorized your app, they
  only authorized it for read-access. Wanting write access requires a new
  agreement with the user.

  The oauth/authorize step should now upgrade to read/write from read-only
  tokens when the user is re-challenged.

  Taylor

  On Sun, Jan 30, 2011 at 8:32 AM, Adam Green140...@gmail.com  wrote:

  So if a user authorizes an app for read access, the app can switch to
  read/write at any time without asking the users permission? Is this
  true? Anyone from Twitter have any input on this?

  On Sun, Jan 30, 2011 at 11:04 AM, Patrick Kennedykenned...@gmail.com
  wrote:
  Tim -

  1.  Changing from read to read/write won't change you API consumer
  keys or tokens.

  2.  Your application's users don't authorized for read or read/write;
  they merely use your application, which you offer as read or
  read/write to the world.  That is to say, if it's read, your
  application can only read its tweets, and if read/write, it can both
  read its own tweet and post to the world.

  I'd say go ahead and switch to read/write, given the fact that you now
  want that functionality.

  ~Patrick

  On Sat, Jan 29, 2011 at 10:24 PM, Tim Bulltim.b...@binaryplex.com
  wrote:
  We must be about the only developers in the universe that requested
  users grant only read access when we first got people to connect
 http://trunk.lytoTwitter (I think of the 40 or so apps authorized on
  my account, Trunk.ly is the only one that asks for Read only).  Never
  ask for more access than you need is my philosophy.

  Doh!

  Of course now, we want to add some Tweet out functions which require
  users grant us Write access.

  A couple of questions for the Twitter people.

  1. If we change the access in the application from read to read/write
  does this reset the API key, or will it stay the same (hoping it stays
  the same).
  2. How can I work out if existing users have authorised us for read/
  write?  I looked at
 http://developer.twitter.com/doc/get/account/verify_credentials
  but it doesn't show me what access they have.  Do I have to write,
  fail, force them to step through OAuth then post? Or is there a way of
  knowing before hand it will fail and asking them to upgrade?

  Thanks,

  Tim

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

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

Re: [twitter-dev] Re: tweet location information

2011-01-31 Thread Matt Harris
Hi Zhe,

The information is provided by the application making the status/update API
call. How that information is gathered is application and device specific.

It could be manually chosen by the user of the application, or identified
using the GPS in the device. Some devices may choose to use the IP of the
device.
Whichever method is used the API only captures the lat/long or place_id.

Extra information such as the cell phone tower is not included or supported
by Twitter.

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


On Mon, Jan 24, 2011 at 2:23 PM, Zhe Chen chenzhe@gmail.com wrote:

 I mean when they received search results. The returned data has lots
 of information about location. Generally the data is a hash, which has
 keys like 'geo', 'place' and 'location'. I am wondering what does
 people usually use to locate those tweets. More over, since some
 tweets are sent from cell phones, do they have information about which
 cell phone tower the user is using?

 Thanks

 On Jan 18, 11:18 am, Augusto Santos augu...@gemeos.org wrote:
  Hi,
 
  I don't understand very well your last question about many tags, but
 using
  the Search API or Streaming API it's possible to identify the location of
 a
  tweets, the location of a user and/or search for multiple tags at same
 time,
  since the default binary operator between the tags is OR.
 
  Cheers.
 
 
 
  On Tue, Jan 18, 2011 at 3:19 PM, Zhe Chen chenzhe@gmail.com wrote:
   HI,
 
   On this page,
 
  http://www.nytimes.com/interactive/2009/02/02/sports/20090202_superbo.
 ..
 
   Do you know what kind of information are they using to locate the
   tweets? To be specific, there are many tags about location
   information.
 
   Thanks
 
   --
   Twitter developer documentation and resources:
 http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
   Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk
 
  --
  氣

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


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


Re: [twitter-dev] Re: Upgrading from Read to Read / Write access for OAuth API Key

2011-01-31 Thread Abraham Williams
Upgraded by going through the authorization flow.

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 Mon, Jan 31, 2011 at 15:34, Tim Bull tim.b...@binaryplex.com wrote:

 The way I read Abraham's note, he's saying that by simply upgrading
 the token from read to read/write he was able to write?  I didn't take
 it to mean he had also sent the user to reauthorise?

 T

 On Feb 1, 8:46 am, Tom van der Woerdt i...@tvdw.eu wrote:
  Actually, since the user needs to re-authorize the application, I do not
  think that this is a bug.
 
  Tom
 
  On 1/31/11 10:45 PM, Tim Bull wrote:
 
 
 
 
 
 
 
   While this makes me happy (from a developers point of view), surely
   this is a bug and therefore not to be relied on?
 
   As a user, I agree with the logic that if I authorised Read only, the
   application shouldn't be able to turn this into Read/Write without
   some subsequent approval.
 
   Tim
 
   On Jan 31, 1:46 pm, Abraham Williams4bra...@gmail.com  wrote:
   Taylor,
 
   Confirmed. I just upgraded read only tokens and was able
   to successfully send a DM.
 
   Thank you for finally allowing read only access tokens to be upgraded
 to
   read and write access tokens. This issue has been plaguing developers
 for
   almost a year now. Both forcing applications to ask for permission
 they
   didn't need if there was even a remote possibility they might want
 write
   permissions in the future and biting devs in the ass if they
 unknowingly
   built up a customer base of read only tokens.
 
   I hope we will continue to see fixes coming down the pipe to keep
 Twitter
   API a viable platform for further development.
 
   Thank you again,
   Abraham
   -
   Abraham Williams | Hacker Advocate | abrah.am
   @abrahamhttps://twitter.com/abraham  | github.com/abraham |
 blog.abrah.am
   This email is: [ ] shareable [x] ask first [ ] private.
 
   On Sun, Jan 30, 2011 at 11:19, Taylor Singletary
 
   taylorsinglet...@twitter.com  wrote:
   You'll have to re-ask your users for permission for write mode and
 you
   won't have any way via the API to track who is ready to read/write
 yet --
   you'll want to manage the conversion process yourself and track
 whether
   you've converted your users yet or not.
 
   The thinking behind this is that when your users authorized your app,
 they
   only authorized it for read-access. Wanting write access requires a
 new
   agreement with the user.
 
   The oauth/authorize step should now upgrade to read/write from
 read-only
   tokens when the user is re-challenged.
 
   Taylor
 
   On Sun, Jan 30, 2011 at 8:32 AM, Adam Green140...@gmail.com
  wrote:
 
   So if a user authorizes an app for read access, the app can switch
 to
   read/write at any time without asking the users permission? Is this
   true? Anyone from Twitter have any input on this?
 
   On Sun, Jan 30, 2011 at 11:04 AM, Patrick Kennedy
 kenned...@gmail.com
   wrote:
   Tim -
 
   1.  Changing from read to read/write won't change you API consumer
   keys or tokens.
 
   2.  Your application's users don't authorized for read or
 read/write;
   they merely use your application, which you offer as read or
   read/write to the world.  That is to say, if it's read, your
   application can only read its tweets, and if read/write, it can
 both
   read its own tweet and post to the world.
 
   I'd say go ahead and switch to read/write, given the fact that you
 now
   want that functionality.
 
   ~Patrick
 
   On Sat, Jan 29, 2011 at 10:24 PM, Tim Bulltim.b...@binaryplex.com
 
   wrote:
   We must be about the only developers in the universe that
 requested
   users grant only read access when we first got people to connect
  http://trunk.lytoTwitter (I think of the 40 or so apps authorized
 on
   my account, Trunk.ly is the only one that asks for Read only).
  Never
   ask for more access than you need is my philosophy.
 
   Doh!
 
   Of course now, we want to add some Tweet out functions which
 require
   users grant us Write access.
 
   A couple of questions for the Twitter people.
 
   1. If we change the access in the application from read to
 read/write
   does this reset the API key, or will it stay the same (hoping it
 stays
   the same).
   2. How can I work out if existing users have authorised us for
 read/
   write?  I looked at
  http://developer.twitter.com/doc/get/account/verify_credentials
   but it doesn't show me what access they have.  Do I have to write,
   fail, force them to step through OAuth then post? Or is there a
 way of
   knowing before hand it will fail and asking them to upgrade?
 
   Thanks,
 
   Tim
 
   --
   Twitter developer documentation and resources:
  http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
   

Re: [twitter-dev] Re: Upgrading from Read to Read / Write access for OAuth API Key

2011-01-31 Thread Patrick Kennedy
Apparently there was a bug before (which I now recall), where if the
developer set it to read only, and subsequently changed it to
read-write, it wouldn't really change to read-write.  However, per
earlier conversation in this thread, that issue appears to have
finally been fixed.

So, if you, as the developer, decide to switch an app that is
currently read-only to read-write, it will finally offer the
read-write functionality.  As a developer, you get to choose that
functionality - it won't change without your approval.

~Patrick

On Mon, Jan 31, 2011 at 1:45 PM, Tim Bull tim.b...@binaryplex.com wrote:
 While this makes me happy (from a developers point of view), surely
 this is a bug and therefore not to be relied on?

 As a user, I agree with the logic that if I authorised Read only, the
 application shouldn't be able to turn this into Read/Write without
 some subsequent approval.

 Tim

 On Jan 31, 1:46 pm, Abraham Williams 4bra...@gmail.com wrote:
 Taylor,

 Confirmed. I just upgraded read only tokens and was able
 to successfully send a DM.

 Thank you for finally allowing read only access tokens to be upgraded to
 read and write access tokens. This issue has been plaguing developers for
 almost a year now. Both forcing applications to ask for permission they
 didn't need if there was even a remote possibility they might want write
 permissions in the future and biting devs in the ass if they unknowingly
 built up a customer base of read only tokens.

 I hope we will continue to see fixes coming down the pipe to keep Twitter
 API a viable platform for further development.

 Thank you again,
 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 Sun, Jan 30, 2011 at 11:19, Taylor Singletary 







 taylorsinglet...@twitter.com wrote:
  You'll have to re-ask your users for permission for write mode and you
  won't have any way via the API to track who is ready to read/write yet --
  you'll want to manage the conversion process yourself and track whether
  you've converted your users yet or not.

  The thinking behind this is that when your users authorized your app, they
  only authorized it for read-access. Wanting write access requires a new
  agreement with the user.

  The oauth/authorize step should now upgrade to read/write from read-only
  tokens when the user is re-challenged.

  Taylor

  On Sun, Jan 30, 2011 at 8:32 AM, Adam Green 140...@gmail.com wrote:

  So if a user authorizes an app for read access, the app can switch to
  read/write at any time without asking the users permission? Is this
  true? Anyone from Twitter have any input on this?

  On Sun, Jan 30, 2011 at 11:04 AM, Patrick Kennedy kenned...@gmail.com
  wrote:
   Tim -

   1.  Changing from read to read/write won't change you API consumer
   keys or tokens.

   2.  Your application's users don't authorized for read or read/write;
   they merely use your application, which you offer as read or
   read/write to the world.  That is to say, if it's read, your
   application can only read its tweets, and if read/write, it can both
   read its own tweet and post to the world.

   I'd say go ahead and switch to read/write, given the fact that you now
   want that functionality.

   ~Patrick

   On Sat, Jan 29, 2011 at 10:24 PM, Tim Bull tim.b...@binaryplex.com
  wrote:
   We must be about the only developers in the universe that requested
   users grant only read access when we first got people to connect
  http://trunk.lyto Twitter (I think of the 40 or so apps authorized on
   my account, Trunk.ly is the only one that asks for Read only).  Never
   ask for more access than you need is my philosophy.

   Doh!

   Of course now, we want to add some Tweet out functions which require
   users grant us Write access.

   A couple of questions for the Twitter people.

   1. If we change the access in the application from read to read/write
   does this reset the API key, or will it stay the same (hoping it stays
   the same).
   2. How can I work out if existing users have authorised us for read/
   write?  I looked at
 http://developer.twitter.com/doc/get/account/verify_credentials
   but it doesn't show me what access they have.  Do I have to write,
   fail, force them to step through OAuth then post? Or is there a way of
   knowing before hand it will fail and asking them to upgrade?

   Thanks,

   Tim

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

   --
   Twitter developer documentation and resources:
 http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements 

Re: [twitter-dev] gzip Accept-Encoding header alternative

2011-01-31 Thread Matt Harris
We don't support the X-Accept-Encoding header and there are no plans for it
to be added to the API. I'm not familiar with the roadmap for
Silverlight/Windows Phone development but suggest they are the best place to
ask about unlocking the ability to set those headers.

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


On Mon, Jan 24, 2011 at 2:28 PM, David W d_wy...@yahoo.com wrote:

 In Silverlight (and thus Windows Phone development) a developer is not
 allowed, for reasons unknown to me, to edit or alter the Accept-
 Encoding HTTP header.  More info here:

 http://msdn.microsoft.com/en-us/library/system.net.webheadercollection%28v=VS.95%29.aspx

 As such it's not possible to add gzip to the Accept-Encoding header
 and get a compressed response.

 I've seen other server-side implementations provide a work around to
 this by also checking a custom HTTP header for Accept-Encoding values,
 such as X-Accept-Encoding.

 Is this something that Twitter does, I'm guessing the answer is no,
 but thought I'd ask otherwise Silverlight and Windows Phone dev's
 won't be able to request gzip'd requests.

 Thanks,
 dw.

 --
 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] Minor glitch in Twitter's emails

2011-01-31 Thread Matt Harris
Hey Ed,

Is this still happening. I know the team made some changes recently which
may have caused this but I thought it was resolved.

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


On Mon, Jan 24, 2011 at 4:49 PM, M. Edward (Ed) Borasky 
zn...@borasky-research.net wrote:

 I'm now getting multiple emails from Twitter sometimes when someone follows
 me or sends me a direct message. This is only a minor annoyance - I'm sure
 you have more urgent issues to worry about. But I did want you to know it's
 happening. ;-)

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

 A mathematician is a device for turning coffee into theorems. -- Paul
 Erdős

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


-- 
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: Twitter Favorite Widget Sometimes Fails to load tweets.

2011-01-31 Thread Matt Harris
If the rate limit has been reached for your connection the widget is unable
to display Tweets. This is something the team is aware of but doesn't have a
timeline for solving yet.

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


On Tue, Jan 25, 2011 at 6:56 AM, AnnaSpanner anna.ha...@googlemail.comwrote:

 Hi Isshiki,

 I'm so glad it's not just me having this problem!

 Did you find a solution to this bug yet? I have the same issue with
 the list widget. Same error in Twitter's js.

 Thanks,
 Anna

 On Jan 17, 6:43 am, isshiki masa.issh...@gmail.com wrote:
  Hi,
 
  Twitter Favorite Widget Sometimes Fails to load tweets.
 http://twitter.com/about/resources/widgets/widget_faves
 
  Sample Output html is like this:
 
  div class=twtr-widget twtr-scroll id=twtr-widget-1
  div class=twtr-doc style=width: 596px; 
 
div class=twtr-hdh3.NET/h3h4info/h4
/div
 
div class=twtr-bd
  div class=twtr-timeline style=height: 100px;
div class=twtr-tweets
  div class=twtr-reference-tweet/div
  !-- tweets show here --
/div
  /div
/div
 
div class=twtr-ft
  diva target=_blank href=http://twitter.com;img alt=
  src=http://widgets.twimg.com/i/widget-logo.png;/a
spana target=_blank class=twtr-join-conv
  style=color:#bc2200 href=http://twitter.com/isshiki/favorites;Join
  the conversation/a/span
  /div
/div
 
  /div
  /div
 
  And widget.js fails like this:
 
  http://s3.amazonaws.com/data.tumblr.com/tumblr_lf5loabwgD1qza4iro1_12...
 
  error: this decay()  method is not supported in the object.
 
  -
 
  Sometimes means not so often. Maybe, this fail/erroris caused by
  API rate limit (from the same IP address)? I don't know why this
  happens. Is it a bug? If so, I would like Twitter to fix this problem.
  I'm not in a hurry about this.
 
  Masahiko Isshiki

 --
 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] Twitter Search API geocode parameter

2011-01-31 Thread Matt Harris
Hi Zhe,

The Search API can only return approx 1800 per query. Creating a radius that
covers the whole earth would be counter productive.
Instead you may wish to use the Streaming API. Using this API you can say
that you want all Geocoded Tweets from around the world. If you do that any
Tweet which includes geo information will be Streaming to you in real time
-- up to the allowed sample percentage.

You can read more about this API on our developer resources site:
http://dev.twitter.com/pages/streaming_api

in particular:
http://dev.twitter.com/pages/streaming_api_methods#statuses-filter

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


On Wed, Jan 26, 2011 at 3:54 PM, Zhe Chen chenzhe@gmail.com wrote:

 Twitter Search API geocode parameter.

 I need to specify a center with latitude and longitude and a radius.

 Is there a limitation of the radius? Can I create a circle cover the
 whole earth?

 I want to get tweets that have location information. Is there a way to
 do it directly using twitter API?

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


-- 
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] remote server returned an 401 unauthorized

2011-01-31 Thread Matt Harris
Hi Maanik,

In addition to the 401 header, the body of the response the API returns to
you contains a reason for the access being rejected. The reason will be
something like invalid timestamp or incorrect signature and knowing what
it is will tell you which part of your API request needs attention.

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


On Wed, Jan 26, 2011 at 11:54 PM, Maanik manikandanmc...@yahoo.co.inwrote:

 Hi,


 I am developing twitter application CE device using compact framework,
 i have downloaded one sample application

 http://data.nilzorblog.com/forumposts/WinmoOauthTester.zip

 but am getting error while accessing twitter application i have
 register a new application and coded those keys into it, even though
 its prompting me a error while connecting to Twitter

 Error ;

 The remote server returned an 401 unauthorized .

 Please sort out my 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 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] AD APIs

2011-01-31 Thread Matt Harris
Hi Srikanth,

You can find out more about the Business Services Twitter offers on our
dedicated Business website:
http://business.twitter.com/

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


On Sat, Jan 29, 2011 at 11:18 PM, Srikanth sri_w...@yahoo.com wrote:

 Hello all,
 I was wondering does twitter support AD APIs (Similar to Face book AD
 APIs). Basically the usecase is as follows. I am managing my own
 campaign for Facebook and similarly I want to do the same for twitter.
 I want the ability to programatically create and post an AD.
 Thanks
 Sri

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


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


Re: [twitter-dev] Re: Chinese Character

2011-01-31 Thread zn...@borasky-research.net
I think I asked this at Chirp, but I don't remember the answer ... is 
Romanizing a viable option for these languages?

- Reply message -
From: Matt Harris thematthar...@twitter.com
Date: Mon, Jan 31, 2011 16:01
Subject: [twitter-dev] Re: Chinese Character
To: twitter-development-talk@googlegroups.com

Hi Zhe,

At present the Streaming API is unable to match filter keywords for
languages who do not separate words or phrases with spaces.
This is because we currently tokenize (split) Tweets around spaces and then
match the filter keywords you pass to those words.

I hope that answers your question,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Thu, Jan 27, 2011 at 12:21 PM, Zhe Chen chenzhe@gmail.com wrote:

 Are you using search API or stream API?

 On their stream API document says Non-space separated languages, such
 as CJK and Arabic, are currently unsupported as tokenization occurs on
 whitespace. What does this mean?

 Thanks

 On Jan 27, 1:26 am, Reivax xavier.yo...@gmail.com wrote:
  Hi Zhe Chen
 
  Here at Yoono we do have a lot of Chinese users and we use the Twitter
  API with no issue at all.
  Just make sure you are using UTF-8 encoding, especially when computing
  OAuth signatures
 
  On 26 jan, 23:59, Zhe Chen chenzhe@gmail.com wrote:
 
   Does twitter stream API support Chinese character?

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


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

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


Re: [twitter-dev] Minor glitch in Twitter's emails

2011-01-31 Thread Matt Harris
You can forward to me and I can route it to the right place.

Thanks!
Matt

On Jan 31, 2011, at 15:53, M. Edward (Ed) Borasky 
zn...@borasky-research.net wrote:

 On Mon, 31 Jan 2011 15:47:48 -0800, Matt Harris thematthar...@twitter.com 
 wrote:
 Hey Ed,
 
 Is this still happening. I know the team made some changes recently
 which may have caused this but I thought it was resolved.
 
 It's been a while - I think I have one instance from a few days ago but I 
 need to check the headers to be sure. I can forward the emails as attachments 
 if someone gives me an email address.
 
 Best,
 @themattharris
 Developer Advocate, Twitter
 http://twitter.com/themattharris [1]
 
 On Mon, Jan 24, 2011 at 4:49 PM, M. Edward (Ed) Borasky  wrote:
 I'm now getting multiple emails from Twitter sometimes when someone
 follows me or sends me a direct message. This is only a minor
 annoyance - I'm sure you have more urgent issues to worry about. But I
 did want you to know it's happening. ;-)
 
 --
 http://twitter.com/znmeb [3] http://borasky-research.net [4]
 
 A mathematician is a device for turning coffee into theorems. --
 Paul Erdős
 
 --
 Twitter developer documentation and resources:
 http://dev.twitter.com/doc [5]
 API updates via Twitter: http://twitter.com/twitterapi [6]
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list [7]
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk [8]
 
 --
 Twitter developer documentation and resources:
 http://dev.twitter.com/doc [9]
 API updates via Twitter: http://twitter.com/twitterapi [10]
 Issues/Enhancements Tracker:
 http://code.google.com/p/twitter-api/issues/list [11]
 Change your membership to this group:
 http://groups.google.com/group/twitter-development-talk [12]
 
 
 Links:
 --
 [1] http://twitter.com/themattharris
 [2] mailto:zn...@borasky-research.net
 [3] http://twitter.com/znmeb
 [4] http://borasky-research.net
 [5] http://dev.twitter.com/doc
 [6] http://twitter.com/twitterapi
 [7] http://code.google.com/p/twitter-api/issues/list
 [8] http://groups.google.com/group/twitter-development-talk
 [9] http://dev.twitter.com/doc
 [10] http://twitter.com/twitterapi
 [11] http://code.google.com/p/twitter-api/issues/list
 [12] http://groups.google.com/group/twitter-development-talk
 
 -- 
 http://twitter.com/znmeb http://borasky-research.net
 
 A mathematician is a device for turning coffee into theorems. -- Paul Erdős
 
 -- 
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 http://groups.google.com/group/twitter-development-talk

-- 
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] wait time for Site Streams whitelist ?

2011-01-31 Thread paloalto
How long does it take to get whitelisted for Site Streams API?
I submitted a form to be whitelisted and have not received any
confirmation e-mail.
I am in the dark with no clue as to how long I should expect to wait.

Sungho

-- 
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] keyword search on past tweets

2011-01-31 Thread paloalto
I have a client who would like to perform  keyword search results on
past tweets that
go back as far as July 2010.

Any idea where I can get (or buy) such data?

-- 
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] wait time for Site Streams whitelist ?

2011-01-31 Thread Jan Paricka
Weeks upon weeks upon weeks.  No joking.

Jan


On Tue, Feb 1, 2011 at 4:14 AM, paloalto sungh...@gmail.com wrote:

 How long does it take to get whitelisted for Site Streams API?
 I submitted a form to be whitelisted and have not received any
 confirmation e-mail.
 I am in the dark with no clue as to how long I should expect to wait.

 Sungho

 --
 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: Chinese Character

2011-01-31 Thread Zhe Chen
Thanks.

How about the Twitter Search API? Does it work with those nonspace
characters?

On Jan 31, 5:01 pm, Matt Harris thematthar...@twitter.com wrote:
 Hi Zhe,

 At present the Streaming API is unable to match filter keywords for
 languages who do not separate words or phrases with spaces.
 This is because we currently tokenize (split) Tweets around spaces and then
 match the filter keywords you pass to those words.

 I hope that answers your question,
 @themattharris
 Developer Advocate, Twitterhttp://twitter.com/themattharris

 On Thu, Jan 27, 2011 at 12:21 PM, Zhe Chen chenzhe@gmail.com wrote:
  Are you using search API or stream API?

  On their stream API document says Non-space separated languages, such
  as CJK and Arabic, are currently unsupported as tokenization occurs on
  whitespace. What does this mean?

  Thanks

  On Jan 27, 1:26 am, Reivax xavier.yo...@gmail.com wrote:
   Hi Zhe Chen

   Here at Yoono we do have a lot of Chinese users and we use the Twitter
   API with no issue at all.
   Just make sure you are using UTF-8 encoding, especially when computing
   OAuth signatures

   On 26 jan, 23:59, Zhe Chen chenzhe@gmail.com wrote:

Does twitter stream API support Chinese character?

  --
  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: No user matches for specified

2011-01-31 Thread ToddySM
Hi Matt,

I use Twitter4J 2.7, and here is the code using Twitter4J library:
http://pastebin.com/fJKd6MkZ

What I do is I create pages of 100 user IDs, iterate through the
pages, and call lookup for each page.

As I said the call is not always failing and there is certain
percentage that goes through (about 50%-60%).

Thanks!
Toddy


On Jan 31, 4:15 pm, Matt Harris thematthar...@twitter.com wrote:
 Hi Toddy,

 The 500 errors imply there is something wrong with the way your
 library/client is making the request.

 If you can share the exact request you are making including request headers
 I can take a look at what might be happening.

 Best,
 @themattharris
 Developer Advocate, Twitterhttp://twitter.com/themattharris



 On Thu, Jan 27, 2011 at 11:26 PM, ToddySM todd...@gmail.com wrote:
  Hi Matt,

  I posted the error herehttp://pastebin.com/dNf84VVW
  Below are the times when the errors showed up - they come at random
  times and are either for lookupuser or showuser (the two APIs is use).
  I guess those are just random issues with the service, and this will
  not impact my application.

  Thank you!
  Toddy

  6:27 lookup - 500:Something is broken.  Please post to the group so
  the Twitter team can investigate.
  6:04 lookup - 500:Something is broken.  Please post to the group so
  the Twitter team can investigate.
  23:30 showuser - 500:Something is broken.  Please post to the group so
  the Twitter team can investigate.
  22:27 503:Service Unavailable: The Twitter servers are up, but
  overloaded with requests. Try again later. The search and trend
  methods use this to indicate when you are being rate limited.
  21:21 lookup - 500:Something is broken.  Please post to the group so
  the Twitter team can investigate.
  17:34 lookup - 500:Something is broken.  Please post to the group so
  the Twitter team can investigate.
  17:30 502:Twitter is down or being upgraded.
  17:11 502:Twitter is down or being upgraded.
  17:03 502:Twitter is down or being upgraded.
  16:45 502:Twitter is down or being upgraded.
  15.56 I received connection timeout
  15:01 showuser - 500:Something is broken.  Please post to the group so
  the Twitter team can investigate.
  14:24 showuser - 500:Something is broken.  Please post to the group so
  the Twitter team can investigate.
  14:24 502:Twitter is down or being upgraded.
  14:17 502:Twitter is down or being upgraded.
  09:27 502:Twitter is down or being upgraded.

  On Jan 25, 11:37 pm, Matt Harris thematthar...@twitter.com wrote:
   Hi Toddy,

   Something like pastebin is a good place to put example code/responses.
   Alternatively I post messages using an email client, and can post code
   without any problems -- maybe that will work for you?

   The API works on rate limits so ensure you stay within them. Also back
  off
   if you keep getting error responses. Constantly breaking the rate limit
  and
   ignoring multiple error responses could mean you get blacklisted. But if
  you
   are just running some testing code manually it is unlikely this will
  happen
   to you.

   Making multiple requests to the same method won't affect you're rate
  limit
   anymore than a request to another rate limited endpoint.

   If you can share the log we can take a look and see if anything odd shows
   up.

   Best,
   @themattharris
   Developer Advocate, Twitterhttp://twitter.com/themattharris

   On Tue, Jan 25, 2011 at 11:10 PM, ToddySM todd...@gmail.com wrote:
Hi Matt,

I looked at the logs from my application and it seems that each call
to lookup fails. Interestingly it seems there is another issue that
suggests I post to this group for investigation. Is there any way I
can send you the messages (apparently Google doesn't allow me to post
the full error message)?

By the way I have question - what is the retry policy for the APIs? Is
the retry counted as a new call? Also, is there any chance that my
application gets throttled even more because it makes frequent calls
to lookup?

Thanks!
Toddy

On Jan 18, 5:13 pm, Matt Harris thematthar...@twitter.com wrote:
 Hi Toddy,

 The users/lookup method, which lookupUsers calls, will only return
  that
 error if none of the user_ids/screen_names you provide are
  recognised.
The
 behavior of the API method is such that only the recognised
 user_ids/screen_names are returned and any which are not found are
  left
out
 of the response.

 As this method is a lookup by user_id or screen_name you can compare
  the
 returned user_ids/screen_names with the ones you queried for. Those
  that
are
 missing from the response were not found in our user database.

 You can find more information on the method in our developer
documentation:
    http://dev.twitter.com/doc/get/users/lookup

 Best,
 @themattharris
 Developer Advocate, Twitterhttp://twitter.com/themattharris

 On Tue, Jan 18, 2011 at 4:00 PM, ToddySM 

Re: [twitter-dev] Re: Chinese Character

2011-01-31 Thread Matt Harris
Yes, Twitter Search has better support non-space separated languages.

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


On Mon, Jan 31, 2011 at 8:18 PM, Zhe Chen chenzhe@gmail.com wrote:

 Thanks.

 How about the Twitter Search API? Does it work with those nonspace
 characters?

 On Jan 31, 5:01 pm, Matt Harris thematthar...@twitter.com wrote:
  Hi Zhe,
 
  At present the Streaming API is unable to match filter keywords for
  languages who do not separate words or phrases with spaces.
  This is because we currently tokenize (split) Tweets around spaces and
 then
  match the filter keywords you pass to those words.
 
  I hope that answers your question,
  @themattharris
  Developer Advocate, Twitterhttp://twitter.com/themattharris
 
  On Thu, Jan 27, 2011 at 12:21 PM, Zhe Chen chenzhe@gmail.com
 wrote:
   Are you using search API or stream API?
 
   On their stream API document says Non-space separated languages, such
   as CJK and Arabic, are currently unsupported as tokenization occurs on
   whitespace. What does this mean?
 
   Thanks
 
   On Jan 27, 1:26 am, Reivax xavier.yo...@gmail.com wrote:
Hi Zhe Chen
 
Here at Yoono we do have a lot of Chinese users and we use the
 Twitter
API with no issue at all.
Just make sure you are using UTF-8 encoding, especially when
 computing
OAuth signatures
 
On 26 jan, 23:59, Zhe Chen chenzhe@gmail.com wrote:
 
 Does twitter stream API support Chinese character?
 
   --
   Twitter developer documentation and resources:
 http://dev.twitter.com/doc
   API updates via Twitter:http://twitter.com/twitterapi
   Issues/Enhancements Tracker:
  http://code.google.com/p/twitter-api/issues/list
   Change your membership to this group:
  http://groups.google.com/group/twitter-development-talk

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


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