[twitter-dev] Re: Additional attribute in share link

2011-05-24 Thread Ken D.
Looks like a 13-digit timestamp - e.g. Python millis()

On May 23, 10:09 pm, Tony House tonyho...@gmail.com wrote:
 I'm looking through the FAQ for the tweet button and am not seeing one
 of the attributes listed.
 On the page, the different examples have an underscore and equal and a
 13 digit number (e.g.http://twitter.com/share?_=1306165040196).  It
 looks like the first 10 digits could be a unix timestamp, but I'm not
 100% sure about that.  It also means the three digits at the end (196)
 are something else.
 I couldn't find anything in FAQ, so I'm hoping someone can help.  What
 is this number?
 Thanks.
 Tony

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


[twitter-dev] Java client for Twitter as a student assignment

2011-05-19 Thread Ken Fogel
I am teaching a course in client GUI Java programming in the fall. In
the past I had my students write an email or calendar application. I
am thinking of having them write a Twitter program this time around. I
would appreciate any suggestions anyone could provide. I am
experimenting with Twitter4J but I am open to any suggestions. If you
have taught such a subject in a course I would love to hear from you.

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


[twitter-dev] Re: Twitter group API

2011-03-16 Thread Ken D.
er, there might be..

For Group substitute list. Maximum is 500 followers/list.
If they are following you, you can message them.
Where's the problem?

On Mar 15, 9:25 pm, Tim Haines tmhai...@gmail.com wrote:
 No, there's not.

 On Tue, Mar 15, 2011 at 1:03 PM, Richard fireston...@gmail.com wrote:
  Does anyone know if there is program available to create several
  groups using one Twitter account and allowing you to message each of
  those groups individually?

  For example -

  Twitter.com/username
     Group 1 (100 followers)
     Group 2 (56 followers)
     Group 3 (77 followers)

  I would like to send separate messages to each of those groups.
  Please let me know if you know of any way to do this via API or a 3rd
  party program.  Thank you.

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

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


[twitter-dev] Re: How to send tweets from multiple accounts without having to login

2011-03-16 Thread Ken D.
You will have stored the tokens for those accounts that you control
and on behalf of which you want to send Tweets. You no longer need to
authenticate via Twitter, just be logged in to your own system.

You can use a form that includes a SELECT tag allowing the choice of
account to use when tweeting. Bear in mind that consistently tweeting
the same tweets from multiple accounts is probably not a very good
idea.

As an aside, re-reading the TOS, I wonder whether this pattern on a
public web site - whereby a user is enabled to send Tweets without
passing the Connect with Twitter step -  requires display of the
end user's Twitter identity, including visible display of the end
user's avatar, Twitter user name, and the Twitter bird mark. (Rules
III.3)


On Mar 16, 8:12 am, Laddi satinderhundal1...@gmail.com wrote:
 HI,

  I have registered application onhttp://dev.twitter.com/. Now please
 tell how to send tweets from multiple accounts without having to
 login.

 Thanks
 satinder singh hundal

-- 
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: Recurring Tweets

2011-03-07 Thread Ken D.
Similarly, I have noticed that an exact duplicate tweet is no longer
systematically rejected.

Our CMS was set up to tweet new content items when they are first
viewed by a visitor. If two visitors view the same new item at nearly
the same time, two tweets are sent. Until recently, one would be
rejected. Now, both are published and we have to delete the duplicate
to avoid looking stupid. This behaviour seems to have changed 1-2
months ago.

On Mar 7, 4:17 pm, Tammy Fennell tammykahnfenn...@gmail.com wrote:
 Hi There,

 I was just scanning the twitter automation rule and it doesn't say
 anything about reoccuring scheduled  tweets. I swear it used to say it
 was banned, but has Twitter ammended this now for certain business
 use? Hope so, it's great functionality when used right!

 Best,
 Tammy

-- 
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: Bigger avatar images for users/profile_image/twitter ?

2011-03-07 Thread Ken D.
 Avatars come in three sizes:

         mini = 24x24
         normal = 48x48
         bigger = 73x73
         reasonably_small = 128x128

 http://a3.twimg.com/profile_images/361706538/mk1_mini.jpg
 http://a3.twimg.com/profile_images/361706538/mk1_normal.jpg
 http://a3.twimg.com/profile_images/361706538/mk1_bigger.jpg
 http://a3.twimg.com/profile_images/361706538/mk1_reasonably_small.jpg


The original seems to be available at
http://a3.twimg.com/profile_images/361706538/mk1.jpg

-- 
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: Recurring Tweets

2011-03-07 Thread Ken D.
1537,

I'm not sure you're going to get an official response since the
twitter team will be wanting to prevent abuse.

Basically I was talking about two or more consecutive tweets with char-
for-char the same content. But I believe the guidelines referred to
above warn that near-identical tweets too, if repeated too soon or too
often, could be caught by an anti-spam algorithm. And even if some
perfect formula allowed such tweets to get through, they could be
viewed as spam.

More and more I see the same messages repeated after a few hours or
the next day. I'm free to unfollow or reply, but basically I think it
means I am spending too much time on Twitter...

Ken

On Mar 7, 8:22 pm, 1537 News 1537n...@gmail.com wrote:
 What is considered an Exact Duplicate Tweet?

 On Mon, Mar 7, 2011 at 11:03 AM, Ken D. k...@cimas.ch wrote:
  Similarly, I have noticed that an exact duplicate tweet is no longer
  systematically rejected.

-- 
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: POSTs to :user/:list_id/create_all returning HTTP status 404 for all requests

2011-03-03 Thread Ken D.
Mistakes are a fact of life, no excuses necessary. What is hard to
understand is not being able to change a few characters in the
documentation, while developers continue to fall into this silly
trap.

Is the doc generated from the code? Doesn't look like it.

Of course, this documentation bug - and the FAQ about getting a user's
email address, which could also be laid to rest by improving the doc -
keeps this list alive, so I shouldn't complain.

On Mar 3, 7:24 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 There's obviously no good excuse I can tell you for the documentation being
 wrong.

 In this case, the old resource was never deprecated and never existed -- the
 documentation was wrong from the beginning.

 We're very aware of documentation bugs and are actively working towards
 allowing their modification with more fluidity than we have today. Thanks
 for your patience while we get there.

 @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer
 Advocate

 On Mon, Feb 28, 2011 at 8:21 AM, sferik sfe...@gmail.com wrote:
  On Monday, February 28, 2011 8:05:09 AM UTC-8, Taylor Singletary wrote:
   It's a documentation error at the moment, the proper path is: POST
  :user/:list_id/members/create_all

  When was the old resource deprecated? Were there any other resources that
  changed at the same time? I try to pay close attention to the Twitter API
  Announcements list, but don't recall seeing anything about this. Could you
  direct me to the relevant post?

  I'm disappointed that the documentation is not keeping up with the API. If
  anything, the documentation should be coming ahead of changes, not trailing
  them.

  --
  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: display user's profile image - definitive answer?

2011-02-17 Thread Ken D.
A couple of months ago, the consensus seemed to be to use tweetimag.es
with user id, like so: http://img.tweetimag.es/i/8970972_o

Ken

On Feb 17, 1:16 pm, del del1...@googlemail.com wrote:
 Hi All,

 New to the forum, apologies if I'm covering old ground. I've done a
 search but can't find a definitive answer:

 I'm trying to develop a simple page that will display the last 25 of
 my twitter feed. All I want to display is each user's profile image
 (thumbnail) and their tweet. While I am new to this, this seems like a
 basic development task.

 When I access my twitter's json file...

 http://api.twitter.com/statuses/user_timeline/xxxUserdIdxxx.json?coun...

 ... I do indeed get the information I need - except the
 user.profile_image_url is MY profile image?? So I have 25 tweets from
 different users (correct) all displaying my profile image next to them
 (incorrect). Why am I not getting each user's profile image?

 I know I can check the user's profile image 
 viahttp://api.twitter.com/version/users/profile_image/:screen_name.format

 but as that is not the recommended solution due to rate limits what
 should I do?

 Thanks in advance,
 Del

-- 
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: Data-expanded-url attribute

2011-02-15 Thread Ken D.
I have a possibly related problem.

We also use an inhouse shortener that returns a 301 redirect, but
Twitterbot misinterprets the shortened URLs. The usual search engine
bots follow the redirect correctly, as far as I can tell.

Each tweet results in a frenzy of 404s from API users who have
received the incorrect URL. Mousing over the shortened URL on
Twitter.com shows the incorrect URL in the title tooltip. Fortunately
for now, it seems we are not subject to t.co wrapping so the original,
correct short URLs can be clicked by Twitter.com users.

The incorrectly interpreted URL is always the same. We've set it up to
redirect to our home page so all is not lost.

Any ideas what could be going on here?

Thanks, Ken


On Feb 14, 2:04 am, ctrand ctr...@gmail.com wrote:
 Any ideas on this one guys?

 On Feb 10, 4:06 pm, ctrand ctr...@gmail.com wrote:

  Hello,

  I have a bunch of shortened urls which are resolved/redirected to full
  urls by my webapp.

  e.g.

 http://dealush.com/sale/2wml

  resolves to

 http://dealush.com/shopping-sales/2wml/sydney-sale-8-off-at-catwalk-w...

  When I tweet the short URL, sometimes the data-expanded-url attribute
  is populated for the url and when I mouseover it I can see the full
  url. However sometimes it is not populated, and there is no data-
  expanded-url attribute at all!

  I am wondering if anyone can shed some light onto why it would be so.

  I am also thinking that this is affecting the counters on my tweet
  buttons, as tweets that do have an URL with the data-expanded-url
  attribute give a +1 for the counter, and those that do not have a data-
  expanded-url don't.

  Does something need to happen for the data-expanded-url value to
  populate? Or perhaps there something wrong with some of my URLS?

  Note: THe example URL above does have a data-expanded-url value.

  Thanks in advance,

  Carl

  PS - Please let me know if you need any additional information from me
  and it will be forthcoming!

-- 
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: Media Partnerships and Oembed for Twitter's Detail Panel

2011-02-02 Thread Ken D.
Ashley,

While waiting for native support from Twitter, have you checked out
the embed.ly Parrotfish plugin ( http://labs.embed.ly/ ) ?

Grooveshark is one of 160-plus OEmbed-compliant media partners
supported by the plugin. Tweets bearing supported URLs are marked in
the timeline and yes, you'll see Grooveshark content in your Twitter
right pane.

Don't know how many people are using it.

Ken

On Feb 1, 9:38 pm, Ashley Sarver asarv...@gmail.com wrote:
 The purpose of this is to find out a way to use twitter's oembed for
 listen.grooveshark.com links, and embed the media player of a specific
 song when the link is posted. How long does requesting permission for
 a media partnership take, and has anyone had problems requesting a
 partnership? Has anyone atempted to use oembed on twitter, or began
 working with oembed?

-- 
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: Media Partnerships and Oembed for Twitter's Detail Panel

2011-02-02 Thread Ken D.
I just re-enabled the Parrotfish plugin and it's pretty amazing. It's
pulling content from my own website and from just about any URL
mentioned in a Tweet. Goes way beyond the advertised performance.

On Feb 2, 1:26 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 Some Twitter applications (including my own) use embed.ly to display
 content.

 Tom

 On 2/2/11 1:25 PM, Ken D. wrote:

  Ashley,

  While waiting for native support from Twitter, have you checked out
  the embed.ly Parrotfish plugin (http://labs.embed.ly/) ?

  Grooveshark is one of 160-plus OEmbed-compliant media partners
  supported by the plugin. Tweets bearing supported URLs are marked in
  the timeline and yes, you'll see Grooveshark content in your Twitter
  right pane.

  Don't know how many people are using it.

  Ken

  On Feb 1, 9:38 pm, Ashley Sarverasarv...@gmail.com  wrote:
  The purpose of this is to find out a way to use twitter's oembed for
  listen.grooveshark.com links, and embed the media player of a specific
  song when the link is posted. How long does requesting permission for
  a media partnership take, and has anyone had problems requesting a
  partnership? Has anyone atempted to use oembed on twitter, or began
  working with oembed?

-- 
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: statuses missing geo /

2010-11-09 Thread Ken D.
Add Location to your tweets does not actually add a location - good
point, and you are probably not the first to think so. It only enables
your account to accept location information. It is still up to you to
send the geo data.

On Nov 9, 12:23 pm, Andrew Cross. Gna success@gmail.com wrote:
 I am succeeded in integrating the twitter with my web application and
 access the twitter futures.

 Now, I need your help to get the following in the list of my statuses.

   geo /
   coordinates /
   place /

 at the below of the user tags of the tweet status list.

 I have enabled the Tweet Location Add Location to your tweets
 checked to TRUE.

 May I know, do I need to make any other settings to be set in order to
 get the elements filled with the right information.

 Thanking You

 Regards,
 Gna Andrew Cross

-- 
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: #newtwitter direct message UI

2010-11-05 Thread Ken D.
Good points. The order is not random - it's the same each time - just
baffling and useless.

Perhaps we are meant to delete read messages?  A useful 3rd party app
might archive and delete them, leaving only new messages on Twitter
and helping to resolve the rogue app reading dms issue.

On Nov 5, 1:18 am, Jef Poskanzer jef.poskan...@gmail.com wrote:
 The #newtwitter direct message UI sucks.

 - There's no indication on the main UI that you have an unread
 message.  If you miss the email notification you will never notice the
 message.

 - On the DM page, there's no indication of which conversations have
 unread messages, or even the most recent messages.  The conversations
 are presented in random order.

 - When a conversation is displayed, again there is no indication of
 which messages are unread or which is the most recent.  Again they are
 displayed in random order.

 So.  Are there plans to improve it?  Has anyone written their own
 improved version?  Anyone want to collaborate on writing one?
 ---
 Jef

-- 
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: #newtwitter direct message UI

2010-11-05 Thread Ken D.
Oh great. I just got my first email spam purporting to be a Twitter DM
notification.

On Nov 5, 9:19 am, Ken D. k...@cimas.ch wrote:
 Good points. The order is not random - it's the same each time - just
 baffling and useless.

 Perhaps we are meant to delete read messages?  A useful 3rd party app
 might archive and delete them, leaving only new messages on Twitter
 and helping to resolve the rogue app reading dms issue.

 On Nov 5, 1:18 am, Jef Poskanzer jef.poskan...@gmail.com wrote:

  The #newtwitter direct message UI sucks.

  - There's no indication on the main UI that you have an unread
  message.  If you miss the email notification you will never notice the
  message.

  - On the DM page, there's no indication of which conversations have
  unread messages, or even the most recent messages.  The conversations
  are presented in random order.

  - When a conversation is displayed, again there is no indication of
  which messages are unread or which is the most recent.  Again they are
  displayed in random order.

  So.  Are there plans to improve it?  Has anyone written their own
  improved version?  Anyone want to collaborate on writing one?
  ---
  Jef

-- 
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: Posting to tweeter directly via JS?

2010-11-05 Thread Ken D.
۔
the above Unicode character is the closest I could find to a dot,
without being a dot...

On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote:
 Hello all,

 I am in need of developing a JS manner of making a tweeter post that
 is slightly different from what Twitter already offers (I mean the
 Tweet button).

 THe post I need to make comes under this form:

 Please visit A.BBB using very long URL here

 If I use the Tweet button, the very long URL is shortened (ok) but the
 company name which is close to an URL form is also rewritened as a
 short URL (wrong). I need to have the company name left alone somehow,
 yet keeping the current form A.BBB in plain text (or as a URL, but
 not shortened) as well as the shortened long URL.

 Is there a way to tell twitter to not forcibly shorten an URL that's
 not in full URL format? Or at least mark the first one to be skipped
 from shortening? (I could do this if I would manually shorten the long
 URL, but I cannot do that in my production system, I still need
 Twitter to handle that).

 I need a JS-only solution and until now nothing I tried works.

 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: Posting to tweeter directly via JS?

2010-11-05 Thread Ken D.
cool, that seems to have worked.

Just that it's a funny character to work with: #1748; - try and
you'll see

Anyway it probably defeats the URL parsing.

On Nov 5, 5:11 pm, Ken D. k...@cimas.ch wrote:
 ۔
 the above Unicode character is the closest I could find to a dot,
 without being a dot...

 On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote:

  Hello all,

  I am in need of developing a JS manner of making a tweeter post that
  is slightly different from what Twitter already offers (I mean the
  Tweet button).

  THe post I need to make comes under this form:

  Please visit A.BBB using very long URL here

  If I use the Tweet button, the very long URL is shortened (ok) but the
  company name which is close to an URL form is also rewritened as a
  short URL (wrong). I need to have the company name left alone somehow,
  yet keeping the current form A.BBB in plain text (or as a URL, but
  not shortened) as well as the shortened long URL.

  Is there a way to tell twitter to not forcibly shorten an URL that's
  not in full URL format? Or at least mark the first one to be skipped
  from shortening? (I could do this if I would manually shorten the long
  URL, but I cannot do that in my production system, I still need
  Twitter to handle that).

  I need a JS-only solution and until now nothing I tried works.

  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: Posting to tweeter directly via JS?

2010-11-05 Thread Ken D.
Try tweeting this:

http://not-a-url۔com

On Nov 5, 11:15 am, Damien thequietdr...@gmail.com wrote:
 Hello all,

 I am in need of developing a JS manner of making a tweeter post that
 is slightly different from what Twitter already offers (I mean the
 Tweet button).

 THe post I need to make comes under this form:

 Please visit A.BBB using very long URL here

 If I use the Tweet button, the very long URL is shortened (ok) but the
 company name which is close to an URL form is also rewritened as a
 short URL (wrong). I need to have the company name left alone somehow,
 yet keeping the current form A.BBB in plain text (or as a URL, but
 not shortened) as well as the shortened long URL.

 Is there a way to tell twitter to not forcibly shorten an URL that's
 not in full URL format? Or at least mark the first one to be skipped
 from shortening? (I could do this if I would manually shorten the long
 URL, but I cannot do that in my production system, I still need
 Twitter to handle that).

 I need a JS-only solution and until now nothing I tried works.

 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: Upload image with a tweet

2010-11-04 Thread Ken D.
OK, I tested it for you.

Post a tweet containing the URL of a Flickr image, you get the
preview.
Post a tweet containing the URL of your avatar on Twitter, no preview.

Keep searching, you find somewhere it's been mentioned the media
partners or some such.

On Nov 4, 3:20 pm, fxbois fxb...@gmail.com wrote:
 Any Twitter developper have a clue about this ... I ve searched a lot
 on the web have found nothing

 On Nov 3, 6:27 pm, Ken D. k...@cimas.ch wrote:

  Maybe I'm wrong, but doesn't it have to do with *where* the image is
  hosted? I thought Twitter had a list of recognized rich content
  websites, à la embed.ly.

  On 3 Nov, 18:09, Edward Hotchkiss edw...@edwardhotchkiss.com wrote:

   YOU NEED TO HOST THE IMAGE SOMEWHERE ELSE. Once you upload it  
   somewhere else and have a link to it, there is your preview.

   Best,

   --
   Edward H. 
   Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
   --

    edward.png
   3KViewDownload

   On Nov 3, 2010, at 4:20 AM, fxbois wrote:

Hi

thanks for your response.

I've tried to include in a tweet the url of an image but I don't have
the image preview when I click on the tweet and I don't have the
little picto (top right corner) that shows that the tweet includes an
image.

I there anything I miss ? Isn't there any hidden param to the
publish method ?

On Nov 2, 7:30 pm, Edward Hotchkiss edw...@edwardhotchkiss.com
wrote:
No, because it needs to be hosted somewhere else. It's just a
shortened link to the pic. You can roll your own.

Best,

--
Edward H. 
Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
--

 edward.png
3KViewDownload

On Nov 2, 2010, at 6:12 AM, fxbois wrote:

Hi,

is there any API that can be used to insert an image in a tweet. I
know that I can use external services like twitpic but I would  
prefer
to use an internal twitter API if it exists.

Thanks in advance

Fx

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

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

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


[twitter-dev] Re: About catching Twitter user status

2010-11-04 Thread Ken D.
you're right, it's pretty hard to find this information.

It's way down in 4th position of a Google search for Twitter API :
http://dev.twitter.com/doc

On Nov 4, 4:44 am, ESN ihsuanli...@gmail.com wrote:
  HI,

  I am beginner of using twitter api. If I want to collect user status
 from Twitter, what approach should I take?

  How to use java to collect all users status, if I want to use the
 jsp / java with Twitter API.

  Thank you

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


[twitter-dev] Re: Suggestion for new feature ..

2010-11-04 Thread Ken D.
Favorite

On Nov 4, 10:17 pm, Ronak Kumar Samantray ronak@gmail.com wrote:
 It would be super-cool to have this feature. Many a times i just skip the
 tweet for future reference, it would cool if i could mark it somehow..

 Ronak Kumar Samantray
 Hyderabad

 Mobile : +91-9347290267
                040-66933916

 On Fri, Nov 5, 2010 at 2:32 AM, Edward Hotchkiss edw...@edwardhotchkiss.com

  wrote:
  borat, check out hootsuite. this is a list for dev not end-users.

  Best,

  --
  Edward H. Hotchkiss
 http://www.edwardhotchkiss.com/
 http://www.twitter.com/edwardhotchkiss/
  --

  On Nov 4, 2010, at 12:03 PM, Alexandre E. Knorst wrote:

   Hi Guys !!

  I´m use Twitter for a short time.

  Sometimes I see important tweets attached with movies and URL links,
  but, don´t have time for read on this moment.
  It´s possible mark that tweet for read later ???

  And .. other important feauture will be score for ranking tweets.

  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


[twitter-dev] Re: Upload image with a tweet

2010-11-03 Thread Ken D.
Maybe I'm wrong, but doesn't it have to do with *where* the image is
hosted? I thought Twitter had a list of recognized rich content
websites, à la embed.ly.

On 3 Nov, 18:09, Edward Hotchkiss edw...@edwardhotchkiss.com wrote:
 YOU NEED TO HOST THE IMAGE SOMEWHERE ELSE. Once you upload it  
 somewhere else and have a link to it, there is your preview.

 Best,

 --
 Edward H. 
 Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
 --

  edward.png
 3KViewDownload



 On Nov 3, 2010, at 4:20 AM, fxbois wrote:

  Hi

  thanks for your response.

  I've tried to include in a tweet the url of an image but I don't have
  the image preview when I click on the tweet and I don't have the
  little picto (top right corner) that shows that the tweet includes an
  image.

  I there anything I miss ? Isn't there any hidden param to the
  publish method ?

  On Nov 2, 7:30 pm, Edward Hotchkiss edw...@edwardhotchkiss.com
  wrote:
  No, because it needs to be hosted somewhere else. It's just a
  shortened link to the pic. You can roll your own.

  Best,

  --
  Edward H. 
  Hotchkisshttp://www.edwardhotchkiss.com/http://www.twitter.com/edwardhotchkiss/
  --

   edward.png
  3KViewDownload

  On Nov 2, 2010, at 6:12 AM, fxbois wrote:

  Hi,

  is there any API that can be used to insert an image in a tweet. I
  know that I can use external services like twitpic but I would  
  prefer
  to use an internal twitter API if it exists.

  Thanks in advance

  Fx

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

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

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


[twitter-dev] Re: How to display lists from multiple users in an app

2010-11-03 Thread Ken D.
If you own a private list and want to share the content, you just use
your own credentials (My Access Token) to fetch it. Real-time or
cached, whatever works for you. There is no 'logged in' - each API
call is authenticated. How could a user break into your account? A
single web page can display content retrieved from different accounts
- yours and the user's, for example.

On 3 Nov, 18:46, Adam Nason apna...@gmail.com wrote:
 Twitter limits each user account to 20 lists. I have three accounts
 with different purposes but need the 60 lists across these three
 accounts to be displayed on one page on my website. Each list link
 needs to be clickable to the status updates from that list (in that
 same page likely using ajax). They are private lists (created for
 viewing only in the app) and I would like to keep them that way though
 I will take them public if absolutely necessary.

 I'm just the content manager asking this on behalf of the developer so
 I know little about oAuth but this is how it has been explained to me:
 When you request an access token you send Twitter a current timestamp
 and that timestamp is used to make a signature_basestring. With that
 signature, you sign every request you send to Twitter. It's a bit
 tricky not to enter login/pass manually when Twitter asks you to do
 that. And then there is my concern about the security of my accounts
 if they are logged into on a public, live webpage (warranted/
 unwarranted? not sure).

 The developer mentioned that even if we take the lists public, we
 would still need to use oauth/logins to retrieve status updates from
 the lists. What he proposed is doing the oauth/logins process behind
 the scenes periodically during the day (based on cron.php timer) and
 displaying cached messages to users of the app. My preference is to
 display in real-time assuming that I can get the other two accounts
 whitelisted. Only one of the accounts is whitelisted for 20,000
 requests (per hour?).

 So the advice I'm seeking is a bit open-ended as to how proceed from
 here. Private/public lists? Display real-time vs display cached
 version? Security concerns? The developer is still pretty new to the
 API so we're hoping someone can toss us a bone here. 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: How to display lists from multiple users in an app

2010-11-03 Thread Ken D.
I should add you must not use your credentials to display tweets from
protected accounts that your account has access to.

On 3 Nov, 23:21, Ken D. k...@cimas.ch wrote:
 If you own a private list and want to share the content, you just use
 your own credentials (My Access Token) to fetch it. Real-time or
 cached, whatever works for you. There is no 'logged in' - each API
 call is authenticated. How could a user break into your account? A
 single web page can display content retrieved from different accounts
 - yours and the user's, for example.

 On 3 Nov, 18:46, Adam Nason apna...@gmail.com wrote:

  Twitter limits each user account to 20 lists. I have three accounts
  with different purposes but need the 60 lists across these three
  accounts to be displayed on one page on my website. Each list link
  needs to be clickable to the status updates from that list (in that
  same page likely using ajax). They are private lists (created for
  viewing only in the app) and I would like to keep them that way though
  I will take them public if absolutely necessary.

  I'm just the content manager asking this on behalf of the developer so
  I know little about oAuth but this is how it has been explained to me:
  When you request an access token you send Twitter a current timestamp
  and that timestamp is used to make a signature_basestring. With that
  signature, you sign every request you send to Twitter. It's a bit
  tricky not to enter login/pass manually when Twitter asks you to do
  that. And then there is my concern about the security of my accounts
  if they are logged into on a public, live webpage (warranted/
  unwarranted? not sure).

  The developer mentioned that even if we take the lists public, we
  would still need to use oauth/logins to retrieve status updates from
  the lists. What he proposed is doing the oauth/logins process behind
  the scenes periodically during the day (based on cron.php timer) and
  displaying cached messages to users of the app. My preference is to
  display in real-time assuming that I can get the other two accounts
  whitelisted. Only one of the accounts is whitelisted for 20,000
  requests (per hour?).

  So the advice I'm seeking is a bit open-ended as to how proceed from
  here. Private/public lists? Display real-time vs display cached
  version? Security concerns? The developer is still pretty new to the
  API so we're hoping someone can toss us a bone here. 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: Copying or Importing Twitter Lists

2010-11-02 Thread Ken D.
Don't know of any public tool, but as you suggest it won't be hard to
make one.

If you were planning to use the list /create_all method, see this
thread first:
https://groups.google.com/group/twitter-development-talk/browse_thread/thread/8668d4b94d7e0043/eaa833e422b3f4d1

On Nov 2, 7:54 pm, Quy quyten...@gmail.com wrote:
 Is there a tool out there that allows me to copy a Twitter List? For
 example, I've created a new account and wanted to migrate my Twitter
 Lists over to this new account or I want to copy an existing public
 Twitter List and edit it to my liking.

 I'm thinking of creating a simple tool using the Twitter API but will
 this hit any rate limiting if this is a public tool?

 Quy

-- 
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: Creating a list without description silently fails (on website as wel as using API

2010-10-06 Thread Ken D.
In my app, the list names are quite descriptive, so until this gets
fixed - and I think it will be -  I send description=name which makes
some sense as the originally input name is transformed (loss of
capitals and special characters) and does not appear in the Twitter UI
anyway.

On Oct 6, 1:06 am, Bert Lagaisse bert.lagai...@virtual-remote.com
wrote:
 Posted ;-)

 I hadn't run my unittests for my upcoming WP7 twitter client in two
 weeks. Just ran them again and discovered this feature ;-)
 I now force the user to enter a description ;-)

 greets

 Bert Lagaissewww.virtual-remote.com/twozaic

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


[twitter-dev] Re: user details

2010-10-06 Thread Ken D.
Just a wild guess. Try this:
import oauth.oauth as oauth

On Oct 6, 2:22 pm, ashwin morey ashwinmo...@gmail.com wrote:
 Hi All,

 I have a python file and I am running it through command line. But it keeps
 giving error here

 CONSUMER = oauth.OAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET)
 AttributeError: 'module' object has no attribute 'OAuthConsumer'

 whereas it works when trying to run it through web application.

 thanks
     ashy

-- 
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: Creating a list without description silently fails (on website as wel as using API

2010-10-05 Thread Ken D.
Nice find! This is recent, a day or two.

There is confusion elsewhere in the doc regarding optional parameters,
For example, in DELETE :user/lists/:id, id is said to be optional.

If this also fails in the Twitter UI there is hope that it will be
fixed soon.

For now Bert, this bug is yours:
http://code.google.com/p/twitter-api/issues/entry

Ken

On Oct 5, 10:08 pm, Bert Lagaisse bert.lagai...@virtual-remote.com
wrote:
 Whenever I create a list, using the twitter.com website, or using the
 api, and I dont' give a description (which is marked optional in the
 api), then the list is not created. However, there is no error
 message.
 This bug can only have been introduced in the last weeks I think.

 Any one else with this problem ?

-- 
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: add list members

2010-10-04 Thread Ken D.
Cool. You could visit the tracker page for this issue,
http://code.google.com/p/twitter-api/issues/detail?id=1884 and star
the issue to help get it fixed sooner. This has got to be one of the
easiest Twitter bugs to fix.

Ken

On Oct 3, 6:08 pm, Damon Clinkscales sca...@pobox.com wrote:
 On Sun, Oct 3, 2010 at 9:25 AM, Ken D. k...@cimas.ch wrote:
  Damon,

  Mea culpa! There's an error in the create_all documentation. I should
  know since I filed the bug...

  Try:http://api.twitter.com/1/:user/:list/members/create_all.format

  Afaik,http://api.twitter.com/1/:user/:list/members.xmlis correct for
  adding a single user.

  Ken

 Hey Ken,

 That was it exactly.  The create_all works perfectly now.

 Thanks!
 /damon

-- 
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: add list members

2010-10-03 Thread Ken D.
Damon,

Mea culpa! There's an error in the create_all documentation. I should
know since I filed the bug...

Try: http://api.twitter.com/1/:user/:list/members/create_all.format

Afaik, http://api.twitter.com/1/:user/:list/members.xml is correct for
adding a single user.

Ken

On Oct 3, 3:41 pm, Damon Clinkscales sca...@pobox.com wrote:
 On Sat, Oct 2, 2010 at 2:06 PM, Ken D. k...@cimas.ch wrote:
  Hey Damon,

  The URL you cite is that of the documentation page. The correct URL
  (for create_all) is:

 http://api.twitter.com/1/:user/:list/create_all.xml

  with parameter user_id=:ids or screen_name=:screen_names

  The example is:
 http://api.twitter.com/1/twitterapidocs/firemen/create_all.xml?user_i...

  Try that..

 Hey Ken,

 Yeah, I was just including those URLs to let you know which methods I
 was talking about in the documentation.

 The call being generated by the client lib (Grackle, in this case)
 should look as you describe, afaik.  But there must be something amiss
 with it.

 Thanks,
 /damon

-- 
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: Comparing Friendship

2010-10-02 Thread Ken D.
Interesting! - thanks for sharing. As they say, one man's terrorist is
another man's freedom fighter.

I've just been followed by someone selling business cards. They are
following 51,000 and are followed by 54,000. Well, I doubt they are
reading many of those tweets, they are too busy selling business
cards. Their own stream consists of recycled aphorisms and I doubt
many people are reading that. Funnily, three people we follow also
follow them, but this can only be due to auto-following. It's all
meaningless, and worse, it's a waste of resources. When Twitter is
having capacity issues I can't help but think of that.

It's also too bad when one's following list is just a mirror of one's
followers, because following lists can be a great source of new
accounts to follow. The list of accounts we follow is likely to
interest our followers, and we now make it available as a Twitter list
that can be followed. My observation is that carefully curated
followings are the best lists on Twitter. We'll soon be releasing our
tool that lets anyone grab a following and make a followable list from
it. Of course, the following has to be less than 500, but that's about
the maximum number of accounts I could follow...

On Sep 30, 5:19 pm, D. Smith emai...@sharedlog.com wrote:
 It's important to unfollow someone who unfollowed you. I must
 emphasize here that I am not talking about unfollowing someone who is
 not following me, but only those who used to follow me, then
 unfollowed. In this case it's very important to unfollow them right
 away. This is important because otherwise the schemers that follow
 you, then get a follow-back and then unfollow you win.
 Remember kids: if you don't auto unfollow-back that the terrorists
 will win.

 And that's not a good thing. Also if you want to follow over 2000
 people you must keep you following/followers ratio really tight and
 that's why I would need to unfollow people who are not following me
 back. It's really simple.

 There are good ways to follow and read messages from many thousands of
 people. One way is to separate them by lists and then read lists
 instead of your main timeline. second way is to you other third party
 clients that lets you filter by keywords and stuff like that.

 I want to follow people with common interests and that common interest
 happens to be I am interested in following people who follow back

 When I follow someone I basically giving that person a chance to sell
 me something. I say, fine, but you give me a chance to sell you
 something too. I may still follow a few accounts that are so important
 to me that I will follow them even though I know they don't follow
 back, but that's just a handful of people.

 On Sep 28, 12:03 pm, Ken D. k...@cimas.ch wrote:

  Hey Rick,

  It's the second time in a week that someone brings up the autofollow/
  unfollow question (see 
  also:http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6...)
  and I would love to understand the follow economy once and for all.

  First of all, you say that if someone is following you, you will
  follow back, but if they are not following, you will unfollow. If you
  are not yet following them, do you mean that you would block them?

  What is the use case for auto-following, and why would it be so
  important to unfollow users who do not follow back? Is there a cost?
  Are those users' tweets less interesting if they aren't following you?
  I mean, we can't all be followed by Justin Bieber! Personally, I'm
  over that...

  If one succeeds in building up an account that follows and is followed
  back by thousands of users - as seems to be the goal - does one ever
  actually visit the account? It can't possibly make any sense to access
  such an account via twitter.com. Are there tools that can render such
  an account usable or meaningful? Finally, why the pretense of
  following if one will never actually read the users' tweets? Does
  Twitter have in mind to adapt the system to this reality?

  This is not a rant, I sincerely want to know!

  On Sep 28, 4:34 pm, Rick Stuivenberg rickstuivenb...@gmail.com
  wrote:

   Hello,

   What are the oauth functions to check if somebody is following me or
   not? I am currently making a script to check up if a user is following
   me, and if so, following them back, and if not, unfollow the user.

   Can somebody give me a point in the direction what oauth functions I
   need?

   btw; I am using twitteroauth.

   Rick

-- 
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: add list members

2010-10-02 Thread Ken D.
Hey Damon,

The URL you cite is that of the documentation page. The correct URL
(for create_all) is:

http://api.twitter.com/1/:user/:list/create_all.xml

with parameter user_id=:ids or screen_name=:screen_names

The example is:
http://api.twitter.com/1/twitterapidocs/firemen/create_all.xml?user_id=783214,6253282

Try that..

On Oct 2, 8:16 pm, Damon Clinkscales sca...@pobox.com wrote:
 I've tried both create_all.xml and members.xml to add multiple or just
 one member to a list.  The list is owned by me and exists.

 http://dev.twitter.com/doc/post/:user/:list_id/create_all
 orhttp://dev.twitter.com/doc/post/:user/:list_id/members

 When the call goes through, the response is a normal #newtwitter web
 page instead of an API response.

 Is this a known issue?

 thanks,
 /damon

-- 
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: List-related weirdnesses

2010-09-30 Thread Ken D.
I resolved this problem by adding a few seconds of sleep after
creating a list and populating it. The problem did not appear when I
first tested my code, but it was morning European time and Twitter may
not have been too busy.

In the process of finding this out, I seem to have created some
corrupt lists that cannot be edited or deleted.

May I ask someone from Twitter to kindly contact me to help get these
lists removed from my account!

Thanks!

Ken


On Sep 29, 9:33 pm, Ken D. k...@cimas.ch wrote:
 I am creating private lists and then adding members with the
 create_all method.

 1.) Creating a list via the API is no problem. Then I post to
 create_all with batches of 20-90 user ids. Only rarely have I been
 able to add more than a single batch, even with a few seconds of
 sleep, but occasionally it has succeeded.

 2.) Viewing the result on 'old' 
 twitter.com,http://twitter.com/#list/[account]/[list-name]
 will show a timeline (eg a batch of 20 users successfully added) and a
 link, Following: 0. On the list page 
 itself,http://twitter.com/[account]/[list-name],
 no tweets are shown, only the Find people to add to your list:
 search box.

 3.) And... I am unable to delete these lists, using either the API or
 manually on Twitter.com.

 Oh, and one more thing: If I try to add (via API) a list named
 mylist twice and I already have say 12 lists, the second mylist
 will not be called mylist-2, but mylist-13!

 Are these known issues? I am working on a project where lists are
 important, so any advice will be appreciated.

 Cheers!

-- 
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: List-related weirdnesses

2010-09-30 Thread Ken D.
Hey Taylor,

These lists are zombies.

Through Twitter.com, I have failed to change the status from private
to public, change the name or add a member. When I select a member to
add from the find people search, then user-actions list-menu button,
it appears to have worked: the Your lists: list-name tag appears
below the selected user. But the action has actually failed - the list
page shows no members.

Attempting to add a member via the API, I get an XML list element
with member_count0/member_count. Attempting to delete the list via
the API returns the same list... undead!

Ken


On Sep 30, 10:30 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hey Ken,

 Lists really are a sometimes embarrassing corner of the API, not going
 to mince words there.

 What is the type of failure you're getting when deleting the lists via the 
 API?

 A lingering bug around is that lists without users often cannot be
 deleted correctly. If you're still having this problem, can you try
 adding a user to a list you haven't been able to delete and then try
 the deletion?

 Your batch creation problems do seem to be more availability-bound
 than anything else.

 As for the seemingly-chaotic naming convention of duplicately named
 lists: yes, it boggles the mind. Best to just make sure you check the
 names of lists a member already has before attempting to create a new
 one at this time.

 Taylor

 On Thu, Sep 30, 2010 at 12:15 PM, Ken D. k...@cimas.ch wrote:
  I resolved this problem by adding a few seconds of sleep after
  creating a list and populating it. The problem did not appear when I
  first tested my code, but it was morning European time and Twitter may
  not have been too busy.

  In the process of finding this out, I seem to have created some
  corrupt lists that cannot be edited or deleted.

  May I ask someone from Twitter to kindly contact me to help get these
  lists removed from my account!

  Thanks!

  Ken

  On Sep 29, 9:33 pm, Ken D. k...@cimas.ch wrote:
  I am creating private lists and then adding members with the
  create_all method.

  1.) Creating a list via the API is no problem. Then I post to
  create_all with batches of 20-90 user ids. Only rarely have I been
  able to add more than a single batch, even with a few seconds of
  sleep, but occasionally it has succeeded.

  2.) Viewing the result on 'old' 
  twitter.com,http://twitter.com/#list/[account]/[list-name]
  will show a timeline (eg a batch of 20 users successfully added) and a
  link, Following: 0. On the list page 
  itself,http://twitter.com/[account]/[list-name],
  no tweets are shown, only the Find people to add to your list:
  search box.

  3.) And... I am unable to delete these lists, using either the API or
  manually on Twitter.com.

  Oh, and one more thing: If I try to add (via API) a list named
  mylist twice and I already have say 12 lists, the second mylist
  will not be called mylist-2, but mylist-13!

  Are these known issues? I am working on a project where lists are
  important, so any advice will be appreciated.

  Cheers!

  --
  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: List-related weirdnesses

2010-09-30 Thread Ken D.
Zut alors...

Would it not be preferable to create an issue in the tracker as API-
related? I'd be interested in learning what happened. And maybe I can
get some help removing those lists... So far my research indicates
that to kill a zombie you need to destroy its brain...

HTH

Ken


On Sep 30, 11:29 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Ken,

 Bizarre. While I expect a certain amount of List bugginess on a daily
 basis, this is a bit more severe than usual.

 And also outside of where I can help you to any level of satisfaction.

 Hate to pass the buck, but please re-summarize the issues that lead to
 this zombie state, along with the specific lists in a support ticket
 athttp://bit.ly/twicket

 Blargh,
 Taylor

 On Thu, Sep 30, 2010 at 2:23 PM, Ken D. k...@cimas.ch wrote:
  Hey Taylor,

  These lists are zombies.

  Through Twitter.com, I have failed to change the status from private
  to public, change the name or add a member. When I select a member to
  add from the find people search, then user-actions list-menu button,
  it appears to have worked: the Your lists: list-name tag appears
  below the selected user. But the action has actually failed - the list
  page shows no members.

  Attempting to add a member via the API, I get an XML list element
  with member_count0/member_count. Attempting to delete the list via
  the API returns the same list... undead!

  Ken

  On Sep 30, 10:30 pm, Taylor Singletary taylorsinglet...@twitter.com
  wrote:
  Hey Ken,

  Lists really are a sometimes embarrassing corner of the API, not going
  to mince words there.

  What is the type of failure you're getting when deleting the lists via the 
  API?

  A lingering bug around is that lists without users often cannot be
  deleted correctly. If you're still having this problem, can you try
  adding a user to a list you haven't been able to delete and then try
  the deletion?

  Your batch creation problems do seem to be more availability-bound
  than anything else.

  As for the seemingly-chaotic naming convention of duplicately named
  lists: yes, it boggles the mind. Best to just make sure you check the
  names of lists a member already has before attempting to create a new
  one at this time.

  Taylor

  On Thu, Sep 30, 2010 at 12:15 PM, Ken D. k...@cimas.ch wrote:
   I resolved this problem by adding a few seconds of sleep after
   creating a list and populating it. The problem did not appear when I
   first tested my code, but it was morning European time and Twitter may
   not have been too busy.

   In the process of finding this out, I seem to have created some
   corrupt lists that cannot be edited or deleted.

   May I ask someone from Twitter to kindly contact me to help get these
   lists removed from my account!

   Thanks!

   Ken

   On Sep 29, 9:33 pm, Ken D. k...@cimas.ch wrote:
   I am creating private lists and then adding members with the
   create_all method.

   1.) Creating a list via the API is no problem. Then I post to
   create_all with batches of 20-90 user ids. Only rarely have I been
   able to add more than a single batch, even with a few seconds of
   sleep, but occasionally it has succeeded.

   2.) Viewing the result on 'old' 
   twitter.com,http://twitter.com/#list/[account]/[list-name]
   will show a timeline (eg a batch of 20 users successfully added) and a
   link, Following: 0. On the list page 
   itself,http://twitter.com/[account]/[list-name],
   no tweets are shown, only the Find people to add to your list:
   search box.

   3.) And... I am unable to delete these lists, using either the API or
   manually on Twitter.com.

   Oh, and one more thing: If I try to add (via API) a list named
   mylist twice and I already have say 12 lists, the second mylist
   will not be called mylist-2, but mylist-13!

   Are these known issues? I am working on a project where lists are
   important, so any advice will be appreciated.

   Cheers!

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

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

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


[twitter-dev] List-related weirdnesses

2010-09-29 Thread Ken D.
I am creating private lists and then adding members with the
create_all method.

1.) Creating a list via the API is no problem. Then I post to
create_all with batches of 20-90 user ids. Only rarely have I been
able to add more than a single batch, even with a few seconds of
sleep, but occasionally it has succeeded.

2.) Viewing the result on 'old' twitter.com, 
http://twitter.com/#list/[account]/[list-name]
will show a timeline (eg a batch of 20 users successfully added) and a
link, Following: 0. On the list page itself, 
http://twitter.com/[account]/[list-name],
no tweets are shown, only the Find people to add to your list:
search box.

3.) And... I am unable to delete these lists, using either the API or
manually on Twitter.com.

Oh, and one more thing: If I try to add (via API) a list named
mylist twice and I already have say 12 lists, the second mylist
will not be called mylist-2, but mylist-13!

Are these known issues? I am working on a project where lists are
important, so any advice will be appreciated.

Cheers!


-- 
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: Comparing Friendship

2010-09-28 Thread Ken D.
Hey Rick,

It's the second time in a week that someone brings up the autofollow/
unfollow question (see also: 
http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6500ab83)
and I would love to understand the follow economy once and for all.

First of all, you say that if someone is following you, you will
follow back, but if they are not following, you will unfollow. If you
are not yet following them, do you mean that you would block them?

What is the use case for auto-following, and why would it be so
important to unfollow users who do not follow back? Is there a cost?
Are those users' tweets less interesting if they aren't following you?
I mean, we can't all be followed by Justin Bieber! Personally, I'm
over that...

If one succeeds in building up an account that follows and is followed
back by thousands of users - as seems to be the goal - does one ever
actually visit the account? It can't possibly make any sense to access
such an account via twitter.com. Are there tools that can render such
an account usable or meaningful? Finally, why the pretense of
following if one will never actually read the users' tweets? Does
Twitter have in mind to adapt the system to this reality?

This is not a rant, I sincerely want to know!

On Sep 28, 4:34 pm, Rick Stuivenberg rickstuivenb...@gmail.com
wrote:
 Hello,

 What are the oauth functions to check if somebody is following me or
 not? I am currently making a script to check up if a user is following
 me, and if so, following them back, and if not, unfollow the user.

 Can somebody give me a point in the direction what oauth functions I
 need?

 btw; I am using twitteroauth.

 Rick

-- 
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: Auto tweet implementation

2010-09-15 Thread Ken
Yes.

This is a FAQ. Until Twitter staff update the group FAQ, search the
group archives for My Access Token.

-- 
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?hl=en


[twitter-dev] Re: list api create_all method not working

2010-09-14 Thread Ken
Finally, after discovering this thread, I added /members/ to the
create_all endpoint and was able to add 98 members to a list. As
twitter would say, 'Yay'...

I filed a bug to have the documentation corrected.

Are there still problems adding lots of members, as reported earlier
in this thread? Since rate-limiting as listed as false in the doc,
would it be more reliable to just loop over :user/:list_id/members 100
times? I need to go for reliable wherever possible... That way we
could add up to the 500 members maximum. Recommended or not really?

Thanks
-Ken


On Aug 23, 9:07 pm, Jim Chevalier jcheval...@gmail.com wrote:
 Hello,

 Ah-ha! I did not have /members/ in my POST URL.  Thanks for pointing
 that out!
 This actually make it seem 
 likehttp://dev.twitter.com/doc/post/:user/:list_id/create_all
 should be changed to state:
 POSThttp://api.twitter.com/version/:user/:list_id/members/create_all.format

 I also didn't realize I could/should check on $connection-http_code
 so often.  Thanks for pointing that out as well.
 It's funny, now that you mention it, I notice the test.php file you
 included in twitteroauth has that call *everywhere*.

 It seems like I should rewrite my calls to be more like the
 twitteroauth_row function you define in the test.php file so that I
 can use the $connection-http_code results as error-checking.
 I'll also have to test if setting public $retry = TRUE; in the
 twitteroauth.php file helps with the 502 response that comes when
 attempting to push 99 users through the create_all call...

 Thanks for all the help!
 -Jim

 On Aug 23, 2:44 pm, Abraham Williams 4bra...@gmail.com wrote:

  After each TwitterOAuth call you should check $connection-http_code to
  check what the result is. 200 on success, 404 on not found, etc.

  My quick findings:
  Works: $connection-post('abraham/test3/members/create_all', array('user_id'
  = $user_ids));
  AKA: $connection-post('{$screen_name/{$list}/members/create_all',
  array('user_id' = $user_ids));

  But with the 99 user_ids it would usually return a 502 after adding ~60
  users to the list:http://goo.gl/Zur3

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

  On Mon, Aug 23, 2010 at 10:54, Jim Chevalier jcheval...@gmail.com wrote:
   hrm, back to square one then...

   Abraham - the value of $users is:

   2142731,14125623,15998931,19560364,16559320,17036420,14791918,16908659,5538992,14984281,20188175,14277276,111226850,14327961,20257060,94168006,107679193,54567920,18171797,8886022,16390772,69422500,171538302,818340,168929218,141333525,132534968,14124542,14408989,138293290,2039761,6752072,111896485,175801197,14912789,22907920,15099178,16583906,10870772,94269486,174521748,82002786,15395087,39407092,123734452,17193910,16362662,7762662,21514744,7596972,31563269,23147529,27440127,14337563,1528701,82497472,19251912,15292430,17005679,7192042,14600753,97484744,2023641,92086501,15447441,98735657,16950385,2023191,14411651,23111875,2900,15039436,14479810,16024218,57933102,8453452,18363508,16569530,21034443,17007607,7029452,54997124,47397228,15226527,18193201,22278762,15127641,14204449,60616288,16465359,10371312,15805506,14995035,27727035,19211127,35279958,18023868,9369722,8088412

   That's 99 users, in what I believe to be the correct format.

   I also ran a test with just 8088412 like this, with the same (blank)
   result:
   $users = 8088412;
   $added = $connection-post({$user-screen_name}/lists/$listid-id/
   create_all, array('user_id' = $users));
   print_r($added);

   Since it seems like the 'create_all' call itself that's the problem, I
   decided to run another test:
   $blahblah = $connection-post({$user-screen_name}/{$list-id}/
   qhweoi, array('user_id' = $users));
   print_r($blahblah);

   This returned nothing, similar to my 'create_all' call.  Since
   'qhweoi' is not a valid Twitter API call, I'm wondering if either
   twitteroauth just doesn't do the create_all call for lists or if my
   implementation of it is broken...

   Thanks everyone!
   -Jim

   On Aug 23, 12:56 pm, Taylor Singletary taylorsinglet...@twitter.com
   wrote:
I'm filled with misinformation today.

But after being set straight by my colleague Matt Harris, I can tell you
that the correct end point for this method is in actuality:

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

Our list methods are obviously confusing in their lack of a
   distinguished,
consistent namespace.

Taylor

On Mon, Aug 23, 2010 at 9:07 AM, Abraham Williams 4bra...@gmail.com
   wrote:
 Jim,

 What is your value for $users?

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

 On Mon, Aug 23, 2010 at 08:55, Jim

[twitter-dev] Retweet a listed tweet

2010-09-08 Thread Ken
As I work today on some features related to lists, I wonder again why,
on Twitter.com, I am unable to retweet a tweet that appears on a list
timeline. Only the 'Reply' option is available.

I plan to implement this and I expect it to work!

Any thoughts on why Twitter.com would not have designed for this?

Ken

-- 
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?hl=en


[twitter-dev] Re: Retweet a listed tweet

2010-09-08 Thread Ken
Same on Chrome... also for lists created by me and lists I follow. So
what's up? You guys all on IE?

On Sep 8, 3:56 pm, Ken k...@cimas.ch wrote:
 No... just to clarify, I'm talking about the Twitter.com website. I've
 wondered about it for some time.

 See:http://twitter.com/twitterapi/team. Each tweet has a 'Reply' link
 but no 'Retweet'. It seems to be intentional but I don't get the
 logic. You can retweet from search results, from the various retweets
 timelines - if it were a bug it would have been trivial to fix long
 ago.

 OK, wait - it seems to be a browser thing. I'm on Firefox 3.6.8 for
 Ubuntu and inspecting with Firebug I see that the span class=retweet-
 link is there but set to display:none in some css somewhere..

 On Sep 8, 3:04 pm, John Kalucki j...@twitter.com wrote:

  Is the tweet in question from a protected user?

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

  On Wed, Sep 8, 2010 at 3:15 AM, Ken k...@cimas.ch wrote:
   As I work today on some features related to lists, I wonder again why,
   on Twitter.com, I am unable to retweet a tweet that appears on a list
   timeline. Only the 'Reply' option is available.

   I plan to implement this and I expect it to work!

   Any thoughts on why Twitter.com would not have designed for this?

   Ken

   --
   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?hl=en



-- 
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?hl=en


[twitter-dev] Re: Obtain email address after authentication

2010-09-07 Thread Ken
Twitter has distinguished itself as a minimally invasive social
network. The API gives you the ability to replicate and build on the
communication model appreciated by Twitter users.

It's about brevity, it's lightweight and of course you can reach your
followers inbox by direct messaging, if the user accepts email
notifications.

Meanwhile, verify_credentials gives you what you need to set up their
account and log them in when they return. If you need a user's email
address, just ask them for it.

Ken

-- 
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?hl=en


[twitter-dev] Re: Twitter logout - hate to open this can of worms again

2010-09-03 Thread Ken
I thought I had found a solution, albeit a horrendously ugly one:
redirect them to http://twitter.com/logout, but even that doesn't
work.

If you are looking for reliable, don't log them in with OAuth - except
once, the first time, when you store their token.

On Sep 3, 7:23 am, Abraham Williams 4bra...@gmail.com wrote:
 There is no pragmatic way to sign a user out of twitter.com through the API.

 When a user logs out of your site send them to to twitter.com so they can
 sign out there or to a page explaining they should sign out of twitter.com

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

 On Thu, Sep 2, 2010 at 10:43, Matei mad.doroba...@gmail.com wrote:
  bump?

  On Sep 1, 10:45 am, Matei mad.doroba...@gmail.com wrote:
   Hi everyone,

   I am compelled to ask because the search turned out a few post that
   were somewhat vague and didn't answer all my questions.

   I have a website widget that interacts heavily with Twitter. We use
   OAuth to authenticate our requests. To logout the users from our side
   we destroy the OAuth token. However during the initial OAuth workflow
   Twitter places a cookie on the browser, so if the user logs out from
   our site but navigates to the Twitter site they are still logged in.
   Closing the browser solves this, as it appears the cookie is a session
   cookie. Calling the account/end_session.json end point does nothing
   for use because the call is server side so the cookie doesn't get
   replaced.

   I am a little concerned about this behavior since the widget will be
   on a public site users can access from public computers. It is
   possible the users will log out of our widget but not close the
   browser window. At that point someone could navigate to twitter and
   still be logged in with their account.

   So finally my questions are:
   1. Is how do I reliably log users out of Twitter?
   2. Is it really necessary for Twitter to send this cookie during the
   OAuth workflow? The API is stateless so the cookie is really un-
   necessary as far as using the apis is concerned.

   Sorry for the lengthy post, responses are greatly appreciated!

   Cheers,
   Matei

  --
  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?hl=en



-- 
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?hl=en


[twitter-dev] Re: Twitter logout - hate to open this can of worms again

2010-09-03 Thread Ken
What is the risk of storing a token? It can't be used outside your
app.

This is for sites that manage users. There's no need for a
registration flow, at least one that is apparent to the user.

For new users, send them to Twitter for a one-time Oauth roundtrip.
Upon receipt of the token, create a user in your system, assign them a
password and use it to log them in. Provide them this password, and/or
let them change it. That's pretty pain-free account creation.

If you need to associate an existing logged-in user with their Twitter
account, send them to twitter for Oauth once. When they return they'll
still be logged in and you'll have the credentials for future use.

On Sep 3, 6:57 pm, Abraham Williams 4bra...@gmail.com wrote:
 If i don't want to manage an authentication system, risk storing passwords,
 make users go through the paint of yet another registration flow then I
 might consider just using Sign in with Twitter every time someone sign into
 my site.

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

 On Fri, Sep 3, 2010 at 09:47, Bernd Stramm bernd.str...@gmail.com wrote:
  On Fri, 3 Sep 2010 01:27:34 -0700 (PDT)
  Ken k...@cimas.ch wrote:

   I thought I had found a solution, albeit a horrendously ugly one:
   redirect them tohttp://twitter.com/logout, but even that doesn't
   work.

   If you are looking for reliable, don't log them in with OAuth - except
   once, the first time, when you store their token.

  Indeed.

  If you already have the token, why would you make them log in?

  If you get a new token every time they visit your 3rd party (consumer)
  site, you generate a lot of authorized tokens, ALL of which are valid
  for the rest of eternity, or until twitter decides that it should be
  possible to invalidate tokens.

  Bernd

  --
  Bernd Stramm
  bernd.str...@gmail.com

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



-- 
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?hl=en


[twitter-dev] Re: Twitter logout - hate to open this can of worms again

2010-09-03 Thread Ken
Bernd, totally.

In answer to the OP, I was referring to the traditional server-based
app.

These may one day constitute a numeric minority of apps, but will
probably remain an important use case for some time to come.

Really, all bets are off when you talk about stealing of the device.
When there is a risk of theft, a device (phone, car etc) needs to be
disabled, turned off etc.

Publishing Bob's token, credit card details or other compromising
information by that criminal Alice would be bad for Bob, I'll grant
you that.

On Sep 3, 8:43 pm, Bernd Stramm bernd.str...@gmail.com wrote:
 On Fri, 3 Sep 2010 11:29:22 -0700 (PDT)

 Ken k...@cimas.ch wrote:
  What is the risk of storing a token? It can't be used outside your
  app.

 The token being confined to use within an app is very insecure when
 the app runs on an end-user device. There soon will be a billion smart
 phones, and many of those will run twitter apps.

 Then suppose user Alice finds out user Bob's token (perhaps by
 borrowing or stealing a phone), and publishes it.

 User Bob now has no way to retire the token, short of disabling the app
 that runs on millions of phones. Or Bob can get a new twitter user name.

 That's not what is normally called security.

 OAuth as currently done with twitter only works when the app runs on
 a small number of secure servers.
 --
 Bernd Stramm
 bernd.str...@gmail.com

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


[twitter-dev] Re: Open Source CMS Module and Consumer Secret

2010-08-31 Thread Ken
It seems that we are talking about two categories of applications.

1.) As in the subject of this thread, open-source CMS or other multi-
user, membership or blogging systems. This type of system usually has
some facility for the admin user/webmaster to change settings such as
admin email address, error messages, API keys, etc. It makes sense for
each deployment of such a system/module to be registered as a Twitter
application (even if it is not an original unique application) if
only because that way, the source or via tag would be a link back to
the individual deployment and not to the original developers of the
software. In these cases the person installing the system can probably
be counted on to have the ability and willingness to go to twitter.com
and register an app, following the instructions provided by the
software developers (you guys).

2.) Single-user server or open-source desktop app. I don't know all
the details of Xauth, but it seems to involve some manual effort by
Twitter. So apologies up front if the following already exists, has
been rejected, or doesn't make sense: If the single-user server or
open-source desktop app has been approved by Twitter, why not build in
to the app a call to the Twitter API that would create and install the
needed credentials? The callback url would be defined by the app, the
other properties could be taken from the details proved by the user at
install time. This could even be executed transparently during the
installation. This new API endpoint would return something like what
we now get using My Access Token.

Ken

On Aug 31, 2:30 am, John SJ Anderson geneh...@gmail.com wrote:
  I think it's far better developer/business practice to design
  *proprietary* applications that are secure and register them with Twitter
  using xAuth.

 As has been said time and time again, proprietary is not a solution
 for this, as any non-hosted app using OAuth can have the keys
 extracted from it.

 Additionally, some of us would like to write Free or Open Source
 applications, that people can use on their own machines, without
 requiring them to register as Twitter developers. It used to be
 possible to do this. sigh

 j.

-- 
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?hl=en


[twitter-dev] Re: Open Source CMS Module and Consumer Secret

2010-08-31 Thread Ken
oops. really, I had thought this through but got carried away with the
'transparent installation' idea.

During the installation, the user would authenticate (via the software
provider or directly with twitter?) - and then be delivered the
credentials. Sorry.

On Aug 31, 10:58 am, Ken k...@cimas.ch wrote:
 It seems that we are talking about two categories of applications.

 1.) As in the subject of this thread, open-source CMS or other multi-
 user, membership or blogging systems. This type of system usually has
 some facility for the admin user/webmaster to change settings such as
 admin email address, error messages, API keys, etc. It makes sense for
 each deployment of such a system/module to be registered as a Twitter
 application (even if it is not an original unique application) if
 only because that way, the source or via tag would be a link back to
 the individual deployment and not to the original developers of the
 software. In these cases the person installing the system can probably
 be counted on to have the ability and willingness to go to twitter.com
 and register an app, following the instructions provided by the
 software developers (you guys).

 2.) Single-user server or open-source desktop app. I don't know all
 the details of Xauth, but it seems to involve some manual effort by
 Twitter. So apologies up front if the following already exists, has
 been rejected, or doesn't make sense: If the single-user server or
 open-source desktop app has been approved by Twitter, why not build in
 to the app a call to the Twitter API that would create and install the
 needed credentials? The callback url would be defined by the app, the
 other properties could be taken from the details proved by the user at
 install time. This could even be executed transparently during the
 installation. This new API endpoint would return something like what
 we now get using My Access Token.

 Ken

 On Aug 31, 2:30 am, John SJ Anderson geneh...@gmail.com wrote:

   I think it's far better developer/business practice to design
   *proprietary* applications that are secure and register them with Twitter
   using xAuth.

  As has been said time and time again, proprietary is not a solution
  for this, as any non-hosted app using OAuth can have the keys
  extracted from it.

  Additionally, some of us would like to write Free or Open Source
  applications, that people can use on their own machines, without
  requiring them to register as Twitter developers. It used to be
  possible to do this. sigh

  j.



-- 
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?hl=en


[twitter-dev] Re: How do I get which user has returned authorized my app on Twitter (oauth)?

2010-08-20 Thread Ken
You've got the request_token, next you'll need the access_token.
With that, you'll do verify_credentials. Then Bob's your uncle..

On Aug 20, 10:37 am, d.dinchev vese...@gmail.com wrote:
 Hello guys!

 I absolutely can not believe I haven't seen this in any tutorial, but
 follow this scenario:

 I have user database with user IDs. The user has identified himself on
 my application and he wants to allow it to use his Twitter account. I
 get an authorization URL, the user follows the URL and allows my
 application. Then he is redirected to the callback URL. OK, but in the
 callback url I get his request token and don't know how to understand
 which user actually allowed me to use his Twitter account so I can
 store his access token!

 I have one idea to send the user id in the callback url eg:
 example.com/?userid=1

 Is there other solution to this one?

 Thank you so much for your support!


[twitter-dev] Re: How i can logout using oauth or rest api of twitter?

2010-08-19 Thread Ken
Taylor, I don't need this as much as some other developers but I think
I understand why they keep asking for this.

Sure, our app is not logged in. But many apps make the user log in
to Twitter in order to use the app. Then, when the user is done with
the app, they can't just logout and leave, we have to tell them to go
to Twitter.com and logout. This is embarrassing (unprofessional) and
potentially risky. If they don't understand that they are still logged
in with Twitter, they may make some mistake, such as tweeting from the
wrong account, and there could be privacy/security concerns about
subsequent actions a user may perform while unknowingly logged in to
Twitter.

Let me turn the question around: why does Twitter not want this?

Ken

On Aug 19, 4:20 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 The REST API is (mostly) stateless. There is no logged in to log out.

 Are you wanting to ensure that the user has to enter their credentials in
 again when presented with the OAuth flow? If not, what would you be
 interested in doing this for?

 Taylor

 On Thu, Aug 19, 2010 at 6:50 AM, JTOne jthot...@gmail.com wrote:
  How i can logout using oauth or rest api of twitter?




[twitter-dev] Re: How i can logout using oauth or rest api of twitter?

2010-08-19 Thread Ken
Destroy session is what people are asking for.

There's no way to handle this from our side at the moment. When a user
leaves our site, they generally logout out first, but we can't log
them out from Twitter if they logged in that way. (After initially
creating an account with us through Twitter Oauth, they have the
option of logging in directly to our site without logging in to
Twitter.)

Per Twitter app guidelines, we never perform any API action that is
not directly, immediately requested by a user, so that's not the
problem.

The problems I see are:

1.) It's weird that we can log them in but we can't log them out. OK,
we get them to log themselves in, but they can't be expected to
understand that, and
2.) If we don't make sure they know they are still logged in - to
Twitter, not us - then something bad might happen to them. And whose
fault would that be?

On Aug 19, 6:33 pm, Dave Ingram d...@dmi.me.uk wrote:
  On 08/19/10 17:16, Ken wrote: Taylor, I don't need this as much as some 
 other developers but I think
  I understand why they keep asking for this.

  Sure, our app is not logged in. But many apps make the user log in
  to Twitter in order to use the app. Then, when the user is done with
  the app, they can't just logout and leave, we have to tell them to go
  to Twitter.com and logout. This is embarrassing (unprofessional) and
  potentially risky. If they don't understand that they are still logged
  in with Twitter, they may make some mistake, such as tweeting from the
  wrong account, and there could be privacy/security concerns about
  subsequent actions a user may perform while unknowingly logged in to
  Twitter.

 So one way to handle this from your side would be to just forget the
 user's OAuth tokens. Your app will still appear authorized to the user
 in the connections screen, which would be confusing, but your
 application wouldn't be able to perform any operations on their behalf.
 It might be useful to have a destroy credentials endpoint though, to
 remove your app from the connections screen.

 D

  On Aug 19, 4:20 pm, Taylor Singletary taylorsinglet...@twitter.com
  wrote:
  The REST API is (mostly) stateless. There is no logged in to log out.

  Are you wanting to ensure that the user has to enter their credentials in
  again when presented with the OAuth flow? If not, what would you be
  interested in doing this for?

  Taylor

  On Thu, Aug 19, 2010 at 6:50 AM, JTOne jthot...@gmail.com wrote:
  How i can logout using oauth or rest api of twitter?




[twitter-dev] Re: How i can logout using oauth or rest api of twitter?

2010-08-19 Thread Ken
An API method allowing a user to revoke your credentials from within
your app, as users can do through http://twitter.com/settings/connections
- if they manage to find it.

Probably would need to be a TOS requirement...

On Aug 19, 6:53 pm, JTOne jthot...@gmail.com wrote:
 It might be useful to have a destroy credentials endpoint though,
 to
 remove your app from the connections screen.

 what you means? how do it?


[twitter-dev] Re: Open Source CMS Module and Consumer Secret

2010-08-18 Thread Ken
I am new to this thread having seen it over the past few weeks and
wondered what all the fuss was about.

The solution by MindcrimeNL above seems optimal, why is it a
workaround?

Do developers not really want their users to register their own
Twitter app? It's not exactly hard to do. You just need to tell them
what to put for the callback URL...

For opensource systems targeted at non-technical users, don't you
provide a 'control panel' where the admin user can edit their
preferences such as webmaster's email etc?  Just like inserting your
Google maps API key, Adsense id, Amazon associates id, etc.

For applications with a more technical installation, you'd just have
them edit a config file.

On Aug 18, 11:34 am, MindcrimeNL hostmas...@gab-ev.de wrote:
 Still no 
 solution:http://groups.google.com/group/twitter-development-talk/msg/58b4b54d4...
 After that initial message, it is apparently still not available...

 I've released my module by explaining in the readme how webmasters can
 add their own application and obtain the consumer public and secret
 key for their application and giving them an option to enter them in
 the module.
 I'm not really happy about this workaround... It just sucks...

 On Aug 1, 2:19 am, Michael Babcock mjet...@gmail.com wrote:

  Sorry for the confusion. I mean web application developers. There are
  quit a number of open-source web apps for twitter. Besides standalone
  apps, there are also, add-ons for all the various CMS solutions out
  there, written in PHP, Perl, etc.

  On Jul 27, 2:02 pm, M. Edward (Ed) Borasky zn...@borasky-

  research.net wrote:
   There are plenty of open source *library* developers, and plenty of  
   applications that use open source libraries, but not all that many  
   open source full applications. The only ones I can think of at the  
   moment are Gwibber (Gnome), Choqok (KDE), mine (Social Media Analytics  
   Research Toolkit), Spaz, get2gnow, and ttytter. IMHO Choqok and  
   Gwibber are lame - I use CoTweet or Twitter.com on my desktop and  
   mobile.twitter.com, Twitter, Twidroid, Seesmic, Touiteur and Peep on  
   my HTC Verizon Droid Incredible.

   The Twitter piece of Social Media Analytics Research Toolkit is at the  
   moment read only, and as I noted earlier the main reason I even looked  
   at oAuth was to get the 1500 (read) API calls per hour. Given the  
   small number of users I have at the moment, it wouldn't be all that  
   difficult to upgrade them to oAuth and 350 calls per hour one at a  
   time by hand - all that would be required is to license that piece of  
   code separately. ;-)
   --
   M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb

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

   Quoting Michael Babcock mjet...@gmail.com:

Correct me if I am wrong, but doesn't Twitter risk loosing a large
percentage of their third party open-source developers, by not having
a solid solution for the required OAuth security changes in time for
the deadline?

I can only guess, but, I would think that the open-source segment
would count for quite a large number of independent developers, all
eager to build for and promote the Twitter vision.

Michael

On Jul 27, 8:59 am, Taylor Singletary taylorsinglet...@twitter.com
wrote:
Hi Folks,

There are a few hold ups to rolling this out more widely, the most 
pressing
being that we are currently unable to serve SSL content on
dev.twitter.com-- there are also better solutions than this
rudimentary one that we simply
can't implement yet. We're also concerned with releasing (and 
supporting) a
solution widely that we'll soon want to deprecate.

Taylor

On Tue, Jul 27, 2010 at 8:53 AM, Cameron Kaiser 
spec...@floodgap.comwrote:

  I have the same question. I need to add Twitter OAuth to my widely
  distributed PHP based open-source CMS add-on. All the documentation
  says never ever distribute your consumer secret, which I understand
  why this would be a bad idea. Yet all of the 
  documentation/examples I
  have found require that the consumer secret be hard-coded into the
  source.

  The closes thing I have found, that doesn't require the consumer
  secret embedded in the source, is a description of how it might 
  work,

http://groups.google.com/group/twitter-development-talk/browse_thread...
  But, I cannot find any docs/examples where this scenario has 
  actually
  been implemented.

 It does exist. While I can't speak for Twitter and whatever  
internal issues
 are slowing up its rollout, TTYtter has been a test bed for the key
 exchange
 for some time now. Most of the users have found the process 
 painless. You
 can
 see how a sample workflow works in the documentation, or try it 
 yourself.
 The
 app itself is open Perl.

  

[twitter-dev] Re: official twitter equivalent of tweetimag.es

2010-08-16 Thread Ken
There's also

http://api.twitter.com/1/users/profile_image/:id

You might call that less volatile as ids don't change.

I notice on the dev page referenced by Abraham, these methods *must
not be used* as image source URLs.
Any plans to introduce such URLs?


On Aug 16, 6:17 am, Abraham Williams 4bra...@gmail.com wrote:
 http://dev.twitter.com/doc/get/users/profile_image/:screen_name

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

 On Sun, Aug 15, 2010 at 13:11, Kyle Bragger kyle.brag...@gmail.com wrote:
  Apologies if this has been asked before; ~45 min of searching and I
  couldn't find anything.

  I vaguely remember seeing something Twitter offered that was an
  official equivalent of tweetimag.es — non-volatile urls for user
  photos.

  Am I crazy?




[twitter-dev] Re: OAuth and impact on Twitter userbase / volume and freedom of speech

2010-08-14 Thread Ken
If they can't get to Twitter even once, then the point of the original
argument is lost as they need to set up a Twitter account in the first
place.

Perhaps the OP should obtain permission from Twitter to create
accounts for persons affected by censorship and then facilitate their
access through his app.

On Aug 14, 6:20 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 Simple answer: because people in china can't even get to twitter.com *once*.

 Tom

 On 8/14/10 4:37 PM, Ken wrote:

  Why is this an issue?

  A few months ago, someone from Twitter I believe suggested a pattern
  such as this:

  User starts to create an account on your site
  To enable the Twitter integration, you send them to Twitter.com *once*
  where they allow your app.
  You store their token and log the user in to your site with a
  temporary password you generate, that they can change. You might
  collect their email address this way.
  From then on, they never have to go to Twitter.com. They can interact
  with Twitter via your app, using your website, email, sms, etc.

  Of course, with the massive use of your site that you claim, it won't
  be long before your site is listed by Websense and the various evil
  governments mentioned above.

  On Aug 14, 1:04 am, TheGuru jsort...@gmail.com wrote:
  Is there no one from Twitter proper who has a position regarding this?

  On Aug 13, 2:12 pm, TheGuru jsort...@gmail.com wrote:

  Add that to the list of even more reasons why this is an issue.

  However, even stating oh well, tell them to use their cell phones,
  obviously isn't a solution of any degree.  Smart Phone penetration in
  the US, for example, is still less than 20%...

  On Aug 13, 9:43 am, earth2marsh ma...@earth2marsh.com wrote:

  At least people at work have the potential to use phones to access
  Twitter

  I'm worried about users like those in China behind The Great Firewall.
  Currently, they can interact with Twitter by using proxies and http
  basic auth. But OAuth requires access to twitter.com (or some sort of
  mediation). xAuth could be a solution, but there is already a shortage
  of clients that support alternate endpoints, and some of those use
  OAuth instead of xAuth (or neither).

  When basic auth is shut off, who knows how many Chinese voices will
  fall silent or in North Korea. Or in Iran. Or in ?

  I'm interested in hearing what others think about this.

  Marsh

  On Aug 12, 10:31 pm, TheGuru jsort...@gmail.com wrote:

  I'm curious to post this question to see if Twitter has fully thought
  out the impact of forcing OAuth onto their API applications.  While it
  may appear to be a more secure method preferred in principle by users,
  the fact of the matter is that one of the main benefits of the API, is
  the ability for third party twitter alternatives to be created, thus
  allowing people to tweet during business hours, when they normally
  could not due to firewall / web sense restrictions, etc, that prevent
  them from accessing the twitter.com domain.

  Via basic authentication, users would never have to visit twitter.com
  to login and gain access to twitter functionality via api clients.  By
  shutting this down, you are now forcing ALL potential users to login
  via twitter.com, many of which do not have access to this domain in
  their workplace environment, thus excluding them from easily using
  your service wholesale.

  This can / will, I suspect, have significant impact on twitter usage /
  volume, unless I am missing something and there is an alternative the
  does not require them to directly access the twitter.com domain to
  grant access.




[twitter-dev] Re: New app for every Twitter account?

2010-08-12 Thread Ken
As Taylor says, you don't need a different app for each account, but
actually that's the easy solution, with the added benefit that you
never need to do the Oauth dance to capture any tokens. PLUS... each
app gets the glory of it's own via tag.

Creating an app is no more work than creating a Twitter account. The
actual app is of course your same code each time. Just fill in the
blanks and grab the tokens using the 'My Access Token link.

Then in your publication code just substitute in the keys for that
site/account.

On Aug 11, 9:37 pm, Skygazer marc.bouc...@gmail.com wrote:
 My company has several news sites and each has one or more Twitter
 accounts depending on the topic. I've created a new app using OAuth
 and PHP to post our news stories automatically as they are published.
 Previously with basic authentication I would just pass the username
 and password etc. to get the story posted. But now I'm wondering, do I
 need to create a new app for every Twitter account we have? Or can I
 post to our accounts with the one app I created with its keys and
 tokens? And if I can use just the one app, how do I post to the other
 accounts? The app was created on our primary Twitter account.

 Thanks
 Marc

 PS I already have the OAuth and PHP code working for our primary
 Twiter account.


[twitter-dev] Re: List names - allowed characters

2010-08-10 Thread Ken
Thanks Taylor! Maybe this could be moved to the API documentation.

I can report that once, after creating (for the first time) a list
called 'Awesome', a second 'Awesome' list got the slug, 'awesome-10'.
So I just considered the slug to be unpredictable.

Also, I wouldn't mind knowing the rationale behind allowing same-named
lists. We won't be allowing that through our app.



[twitter-dev] Re: Can we automate the user login process on twitter...

2010-08-09 Thread Ken
Punit,

If you have regular users with accounts on your site, they only need
to go through Oauth once - assuming you have a more convenient login
process to offer them.

The first time they authorize through Twitter, you need to capture the
token and store it. Then they can log in using your less cumbersome
process and, until such time as they deny access to your app -
invalidating the token you have stored - they can use your app to
interact with Twitter.

Maybe that's what you had in mind?

On Aug 8, 5:02 pm, Punit.khaire punit.kha...@gmail.com wrote:
 Hi,

 I am develop[eing one web application to tweet posts on twitter,

     1. Request token
     2.Authorize user on twitter
     3.Get access token from twitter
     4.Post on tweitter.

 When I authorize user on twitter(2nd step) ,I am redirected to
 twitter.com to allow user to enter the Username and Password.Can we
 automate this process.Can I send username and password of user from my
 application?


[twitter-dev] List names - allowed characters

2010-08-07 Thread Ken
Can someone please confirm the allowed characters (and transforms)
when creating new list names?

We need to check whether a user already has a list with the proposed
name. Unfortunately, the API doesn't return an error if the name
already exists, instead naming the list, 'new-list-2', which our user
must then delete.


[twitter-dev] POST :user/lists

2010-08-06 Thread Ken
I'd like some help as I implement and test the API methods, of which
there are dozens.

For example, the create list method, titled POST :user/lists on
dev.twitter.com, shows the URL endpoint as:
http://api.twitter.com/version/:user/lists.format

I am not familiar with the notation :user but from the example I
guess that means we need to insert the screen_name or id here. We
don't keep screen name, only ids, so I wondered if that would work. By
mistake I used a user id that was not the same as the authenticated
user. Result was, the authenticated user got a new list. The user
whose id was sent in the URL was unaffected. Then i tried sending one
with some junk in place of the user and got this error:

?xml version=1.0 encoding=UTF-8?
hash
  request/1/jdsflfj/lists.xml/request
  errorNot found/error
/hash

Why are we sending :user ?

I guess my question is, in order to economize on time, what is the
best source of API documentation?


[twitter-dev] Can't remove saved search if no results

2010-08-01 Thread Ken
I give up trying to find the bug submission page on Twitter. Here
goes.

From Twitter.com, I saw a tweet that had been posted from The Hague
(Netherlands).
I clicked the from link to see the little map and access the link,
Tweets from this place.
I clicked Tweets from this place and saw other tweets posted from
The Hague.
I clicked save this search. Since I already had 10 saved searches, I
had to remove one first.
In my saved searches now appeared The Hague, South Holland.
The next day, the name of this place (in my saved searches) had
mysteriously changed to 's-Gravenhage, Zuid-Holland.
Clicking on the link, there are no tweets from this place.
And - perhaps because there were no results - there is no link to
remove the saved search.


[twitter-dev] Re: Can't remove saved search if no results

2010-08-01 Thread Ken
I've since found the bug submission page, but I'll just follow up here
and then post a bug.

I implemented the saved search api methods - so now it's a developer
question suitable for this list!

I was able to create saved searches for text queries and for places
(e.g. place:55da0f3350b51881)

I was able to add more than 10 saved searches to an account through
the API - using Twitter.com, there's a limit of 10.

For saved_searches/destroy.xml, according to the documentation,
supported request methods are POST and DELETE, but I got the following
response:

?xml version=1.0 encoding=UTF-8?
hash
  request/1/saved_searches/destroy.xml/request
  errorThis method requires a GET./error
/hash

So that's bizarre. Result of using destroy.xml with GET for any saved
search id was always errorNot found/error.

Finally, I created a saved search for a query that returns no results:
djsalkofsj. On Twitter.com the result is No real-time results for
djsalkofsj and there is no Remove this saved search link. You can't
actually save such a search via Twitter.com, but if a user creates an
erroneous saved search through an app, or one that dies after a while,
there is no way to delete it through Twitter.com.


[twitter-dev] Permission denied error in Firefox when trying to add a tweet-box with @anywher

2010-07-08 Thread Glide Ken
I'm just trying add a twitter's tweet box with @anywhere but I'm
getting the
following error in Firefox:

Permission denied to get property Window.jQuery from https://api.twitter.com;

It works fine for me in Chrome.

All I have on the page is the code snippet from Twitter's api tutorial
which is:

div id=tbox/div
script type=text/javascript
 twttr.anywhere(function (T) {
   T(#tbox).tweetBox();
 });

/script

and twitter's js in the header


[twitter-dev] anchor to twitter.com/home?status authentication conerns

2010-07-08 Thread Glide Ken
If I provide an anchor that that takes the user to
http://twitter.com/home?status=TheirStatusMsg, I don't have to worry
about oAuth or any authentication issues, right?


[twitter-dev] profile_image by id?

2010-06-23 Thread Ken
We have: http://twitter.com/account/redirect_by_id

and we have: http://api.twitter.com/1/users/profile_image/[screen_name].[format]

Is there a way to get the profile image by id?

Thanks!




[twitter-dev] Re: profile_image by id?

2010-06-23 Thread Ken
[edit]

by the above I mean a URL to be used as img src, not an api call.


[twitter-dev] Re: profile_image by id?

2010-06-23 Thread Ken
Thanks Taylor, I take your point - we don't want to add to the
problem.

Looking ahead of course we expect Twitter to resolve the issues that
cause us all so much pain these days. Our own app is pretty useless
when Twitter is whaling.

We could also ignore the change of username question as an edge case,
except that one of our sites gets a lot of Twitter newbies - they
create a Twitter account from our page - and they will probably change
their avatar at least once in the short term. When we display an
activity stream aggregating many users we can't be checking them all
in real time for changes. Wouldn't it be nice to have a permanent URL
for a user's current image...

On Jun 23, 4:25 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Looks like the profile_image endpoint takes id OR screen name..

 so these are equivalent

 http://api.twitter.com/1/users/profile_image/819797http://api.twitter.com/1/users/profile_image/episod

 It's not recommended to use these directly in an IMG src tag, as that'd make
 your displaying the image depend on being redirected (and if Twitter is
 whaling, you'll get no image at all or other unexpected behavior). Instead,
 you should follow the redirect and use the resultant URL.

 Taylor

 On Wed, Jun 23, 2010 at 4:42 AM, Ken k...@cimas.ch wrote:
  [edit]

  by the above I mean a URL to be used as img src, not an api call.


[twitter-dev] Who retweeted?

2010-06-16 Thread Ken
Maybe not a dev question, but I keep wanting to click on retweeted by
you and one other to know who that was!


[twitter-dev] Re: Who retweeted?

2010-06-16 Thread Ken
To clarify, I know how to find out, I just expect that text to be
clickable.


[twitter-dev] Lost without maps...

2010-06-15 Thread Ken
Geolocation seems to be disabled..?

One of our services depends on this. Haven't seen this particular
outage mentioned. Any ETA for a fix?

Note to self: site must gracefully degrade when there's no Twitter...


[twitter-dev] tco crawler details

2010-06-11 Thread Ken
If tco is to be the new three-letter agency and gatekeeper, we would
like to treat it nice and whitelist its crawler. If tco is
inadvertantly blocked, what happens?

I do not know if we have already been checked by tco as I have not
sent or received a dm with one of our own URLs.

What are the user-agent and IP addresses used by this crawler? Does it
check robots.txt?

And since, for some, a tco thumbsdown could be a problem, is there a
(speedy) appeals process?


[twitter-dev] Re: tco crawler details

2010-06-11 Thread Ken
Presumably, in order to check that a URL is not malicious, it would
have to be accessed and analysed by tco.

In his post Raffi said, Twitter will redirect them to the original
URL after first confirming with our database that that URL is not
malicious. So it's not by domain, but by URL.

One of our Twitter apps is built in to our CMS workflow and tweets new
content that an editor has selected. Now, I guess - unless domains can
be whitelisted - Twitter will have to crawl and approve the newly
minted content page... before publishing the Tweet ??

On Jun 11, 12:00 pm, John Adams j...@twitter.com wrote:
 t.co is not a crawler; Are you referring to the URL unpacking process or
 something else?

 -john

 On Thu, Jun 10, 2010 at 11:46 PM, Ken k...@cimas.ch wrote:
  If tco is to be the new three-letter agency and gatekeeper, we would
  like to treat it nice and whitelist its crawler. If tco is
  inadvertantly blocked, what happens?

  I do not know if we have already been checked by tco as I have not
  sent or received a dm with one of our own URLs.

  What are the user-agent and IP addresses used by this crawler? Does it
  check robots.txt?

  And since, for some, a tco thumbsdown could be a problem, is there a
  (speedy) appeals process?


[twitter-dev] Re: tco crawler details

2010-06-11 Thread Ken
Dean - I meant the IP of the crawler - we have lots of DENY ACLs in
place to curb rogue bots.

On Jun 11, 3:21 pm, Dean Collins d...@cognation.net wrote:
 Of course it is.

 Twitter were asked what defines a bad site on the second day but I
 haven't seen a reply apart from more questions about who is making the
 choice, eg will pornography be classed as bad, will religious free
 speech be classed as bad.

 I don't think the Twitheads thought through what it means to now offer
 an aol version of the web and the long term responsibilities that this
 entails through implicit guarantees to their users.

 Of course Ken you don't expect them to publish their ip address list do
 youotherwise some smartass would route this ip address to a clean
 site and everyone else to the bad content.

 Regards,

 Dean Collins
 Cognation Inc
 d...@cognation.net
 mailto:d...@cognation.net +1-212-203-4357   New York
 +61-2-9016-5642   (Sydney in-dial).
 +44-20-3129-6001 (London in-dial).

 

 From: twitter-development-talk@googlegroups.com
 [mailto:twitter-development-t...@googlegroups.com] On Behalf Of John
 Adams
 Sent: Friday, 11 June 2010 6:00 AM
 To: twitter-development-talk@googlegroups.com
 Subject: Re: [twitter-dev] tco crawler details

 t.co is not a crawler; Are you referring to the URL unpacking process or
 something else?

 -john

 On Thu, Jun 10, 2010 at 11:46 PM, Ken k...@cimas.ch wrote:

 If tco is to be the new three-letter agency and gatekeeper, we would
 like to treat it nice and whitelist its crawler. If tco is
 inadvertantly blocked, what happens?

 I do not know if we have already been checked by tco as I have not
 sent or received a dm with one of our own URLs.

 What are the user-agent and IP addresses used by this crawler? Does it
 check robots.txt?

 And since, for some, a tco thumbsdown could be a problem, is there a
 (speedy) appeals process?


[twitter-dev] Re: link wrapping on the API

2010-06-09 Thread Ken
Sorry if this is pedantic, but can you point to Twitter's definition
of malicious ?

Obviously, viruses, phishing etc. Presumably, fraudulent or
illegal would be included, but this might vary depending on the
jurisdiction.

Also, if a site is banned in country x, can the government of x
request that Twitter disable redirection for users in its
jurisdiction? Twitter might prefer this to a complete ban on Twitter
itself...


[twitter-dev] Re: link wrapping on the API

2010-06-09 Thread Ken
Chris, I am not worried about that or any of this, but agree that it's
unfortunate to lose the choice. And it feels wrong to be obfuscating
links to my own website...

For apps that display tweets, I understand that the t.co link must be
used and not the display link. But what does it mean, require you to
check t.co and register the click ? How do we check and
register ?

On Jun 9, 7:03 pm, Chris Barr chrisba...@gmail.com wrote:
 My 2 pence:

 The difference with bit.ly is that I choose to use it. If I don't want
 to use it I'm not forced to.

 Additionally, what happens if the t.co service goes down? All links
 will be temporarily broken until the service goes back up.

 On Jun 9, 4:17 pm, Harshad RJ harshad...@gmail.com wrote:

  On Wed, Jun 9, 2010 at 6:48 PM, Dewald Pretorius dpr...@gmail.com wrote:

   I don't buy the click tracking privacy argument. Twitter will have no
   more insight into clicks than what bit.ly or any other shortening
   service has,

  The difference being that the user who clicks the links in Twitter will have
  most probably logged into Twitter. Thus, Twitter can directly associate a
  click with a user.

  When clicking on bit.ly shortened URLs it is very very unlikely that the
  user is logged into bit.ly. That is because only people who shorten URLs
  need a bit.ly account (which is a very small percentage).

  --
  Harshad RJhttp://hrj.wikidot.com


[twitter-dev] Re: link wrapping on the API

2010-06-09 Thread Ken
Not exactly spyware, but deceptive. Don't expect the public to
appreciate this.

On Jun 9, 9:45 pm, Bernd Stramm bernd.str...@gmail.com wrote:

 If an application wants to provide the original intent of the user, it
 is forced (by ToS), to present a link that doesn't go to where it says
 it does. That is problematic, the application acts as spyware.

 --
 Bernd Stramm
 bernd.str...@gmail.com


[twitter-dev] Re: API for archive tweets

2010-06-01 Thread Ken
For use on a web page, try a Google custom search engine (CSE) with
setSiteRestriction(twitter.com).

You can get older tweets - if they come up in the results. Works well
for 'dated' subjects!

Hint - use inurl:status

On Jun 1, 12:05 pm, msr emess...@gmail.com wrote:
 Hi,

 I understand the Search API gives tweets logged in about a week
 backwards. Do we have (undocumented) API to access tweets older than
 is this? Please point me to relevant links.
 If there is no such API, are there workarounds/third-party services
 that provide archive data? Google replay only goes back to Feb 11,
 2010 (according to their blog).

 Thanks,
 msr


[twitter-dev] Re: Bug on dev.twitter.com login page

2010-06-01 Thread Ken
Hey, here's a couple of minor probs inside the dev site:
- when registering a new app (on Firefox 3.6.3/Ubuntu) - the terms of
service thingy shows no text, just grey background.
- on the application details page, app description section, the
Created by link goes to http://dev.twitter.com/[screen_name], which
does not compute...

On Jun 1, 2:55 am, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Thanks. We'll have this fixed soon. For now, just remove the bonus subdomain.

 On Monday, May 31, 2010, Ernandes Jr. ernan...@gmail.com wrote:
  Hi,
  As soon as I enter my credentials on Twitter's dev login page and press 
  Sign In, the website is redirecting me to http://dev.dev.twitter.com/, 
  instead of http://dev.twitter.com/.

  Regards,
  --
  Ernandes Jr.
  -
  ALL programs are poems. However,
  NOT all programmers are poets.

 --
 Taylor Singletary
 Developer Advocate, Twitterhttp://twitter.com/episod


[twitter-dev] Re: having trouble with geolocation in tweets

2010-05-24 Thread Ken Hoff
Worked like a charm. Thanks so much!

On May 21, 2:29 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Ken,

 Few things I would check:

 #1 - is the account that you are using geo-enabled ? You can configure
 this option on the account settings page:http://twitter.com/settings/account
 #2 - I noticed that in your query here, you've specified
 display_coordinates=true with a question mark ahead of it. Since you
 already had a query parameter, you should be joining it by an ampersand
 (same with long)
 #3 - The lat, long, and display_coordinates are all more appropriately
 passed as POST parameters (like you are doing for status

 Your request, given that the user is geo-enabled, might be better executed
 as:

 curl -u username:password -d status=status_text -d lat=32.6626 -d
 long=-115.8471 -d 
 display_coordinates=truehttp://api.twitter.com/1/statuses/update.json

 Taylor Singletary
 Developer Advocate, Twitterhttp://twitter.com/episod



 On Fri, May 21, 2010 at 12:26 PM, Ken Hoff telefrag...@gmail.com wrote:
  Hey there – I've been trying to get geolocation in my tweets and it's
  not taking. It posts the tweet to the correct account just fine, but
  the tweet doesn't contain any location data. The account is geo
  enabled. Here's an example of my curl call:

  curl -u username:password -d status=status_text

 http://api.twitter.com/1/statuses/update.json?lat=32.6626?long=-115.8...

  I'm not sure what's wrong with it. Any chance anyone knows what's up?


[twitter-dev] having trouble with geolocation in tweets

2010-05-21 Thread Ken Hoff
Hey there – I've been trying to get geolocation in my tweets and it's
not taking. It posts the tweet to the correct account just fine, but
the tweet doesn't contain any location data. The account is geo
enabled. Here's an example of my curl call:

curl -u username:password -d status=status_text
http://api.twitter.com/1/statuses/update.json?lat=32.6626?long=-115.8471?display_coordinates=true

I'm not sure what's wrong with it. Any chance anyone knows what's up?


[twitter-dev] Re: API call to turn on location-based tweets?

2010-05-18 Thread Ken
I have an issue with the text itself.
You can give applications permission to tell Twitter where you are
when you send a Tweet implies that the geodata refers to the user's
actual location. People are - rightly or wrongly - worried about this,
and many do not activate geolocation. Our simple app allows users to
locate coordinates on a map and tweet from there, associating geo-
metadata with the subject of their tweet. I wish Twitter would
reconsider the uses of geo and adapt the settings, workflow and text
accordingly, especially since the takeup for current location
tweeting does not seem to be all that great.

And Stephen - device-based current location geotweeting mainly works
in a few English-speaking countries...

On May 7, 11:50 am, Stephen Rife stephenr...@gmail.com wrote:
 This is great.  Would be really nice if this displayed in the user's
 account language setting.

 - Steve
 @melobubu

 On 4月30日, 午前6:23, Abraham Williams 4bra...@gmail.com wrote:

 https://twitter.com/account/geo

  On Thu, Apr 29, 2010 at 14:17, Ken k...@cimas.ch wrote:

there
is also a mobile optimized page with just that checkbox on 
twitter.comthat
you could use too.

   could be useful.. what's the URL?

   thanks

   Ken

  --
  Abraham Williams | Developer for hire |http://abrah.am
  @abraham |http://projects.abrah.am|http://blog.abrah.am
  This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: API call to turn on location-based tweets?

2010-05-18 Thread Ken
I take back what I said about the availability of device-based
tweeting. I was thinking about plain old dumb-phone SMS tweeting. And
of course browsers can now do geolocation. So, yes, bring on the
translations, but for those doing manual entry of arbitrary
coordinates let it be clear that they are not being spied on!

Also, wasn't there a way to enable geo on a tweet-by-tweet basis?

On May 18, 10:07 pm, M. Edward (Ed) Borasky zn...@borasky-
research.net wrote:
 On Tuesday, May 18, 2010 12:17:34 pm Ken wrote:



  I have an issue with the text itself.
  You can give applications permission to tell Twitter where you are
  when you send a Tweet implies that the geodata refers to the user's
  actual location. People are - rightly or wrongly - worried about this,
  and many do not activate geolocation. Our simple app allows users to
  locate coordinates on a map and tweet from there, associating geo-
  metadata with the subject of their tweet. I wish Twitter would
  reconsider the uses of geo and adapt the settings, workflow and text
  accordingly, especially since the takeup for current location
  tweeting does not seem to be all that great.

  And Stephen - device-based current location geotweeting mainly works
  in a few English-speaking countries...

  On May 7, 11:50 am, Stephen Rife stephenr...@gmail.com wrote:
   This is great.  Would be really nice if this displayed in the user's
   account language setting.

   - Steve
   @melobubu

   On 4月30日, 午前6:23, Abraham Williams 4bra...@gmail.com wrote:
   https://twitter.com/account/geo

On Thu, Apr 29, 2010 at 14:17, Ken k...@cimas.ch wrote:
  there
  is also a mobile optimized page with just that checkbox on
  twitter.comthat you could use too.

 could be useful.. what's the URL?

 thanks

 Ken

--
Abraham Williams | Developer for hire |http://abrah.am
@abraham |http://projects.abrah.am|http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.

 I'm still testing some of this on my Android, but I've discovered that the
 available clients differ widely in how they tag tweets when location is fully
 enabled. I've had to delete tweets that I made from the Android because they
 had my street address embedded in them.

 Watch this space, as they say ... ;-)
 --
 M. Edward (Ed) Boraskyhttp://borasky-research.net/m-edward-ed-borasky/@znmeb

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


[twitter-dev] Re: Using Oauth to tag tweets with location data from an application.

2010-05-17 Thread Ken
User needs to enable geotagging..

On May 17, 7:05 pm, netlatch netla...@gmail.com wrote:
 I am sending the data but it is not tagging the location. So I figured
 that Twitter was blocking it. The application can tag its own tweets
 fine but when it tries to tag retweets from others through the
 application the tweets are listed but without the location info.

 On May 17, 1:02 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:

  As long as the user is fully cognizant of the geotagging of their Tweets,
  yes. There's nothing special about OAuth in this case versus any other
  authentication means. You may want to see our Geo Best Practices for
  Developers guide:http://dev.twitter.com/pages/geo_dev_guidelines

  Taylor Singletary
  Developer Advocate, Twitterhttp://twitter.com/episod

  On Mon, May 17, 2010 at 9:51 AM, netlatch netla...@gmail.com wrote:
   Is it allowed for an application to tag tweets with location data
   using Oauth?


[twitter-dev] Re: nested user object bug in statuses/friends

2010-05-09 Thread Ken
Hi Taylor,

I confirmed my apps are fully working well.
Thank you for your efforts!!

Br,
Ken

On 5月7日, 午後11:03, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Ken,

 We've done our best to fully purge the cache from the system -- are you
 still seeing the issue today?

 Taylor Singletary
 Developer Advocate, Twitterhttp://twitter.com/episod

 On Thu, May 6, 2010 at 7:43 PM, Ken omori.ke...@gmail.com wrote:
  I noticed nested user tag issue at statuses/friends API.

  It seems to be same as following another API's report:

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

  Thanks
  Ken


[twitter-dev] nested user object bug in statuses/friends

2010-05-07 Thread Ken
I noticed nested user tag issue at statuses/friends API.

It seems to be same as following another API's report:
 
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/560a544d6703f2b9

Thanks
Ken


[twitter-dev] Geolocation bug?

2010-04-29 Thread Ken
Hey sorry to report a bug here..  (I did finally find http://twitter.com/HELP
via Google, but there's no confirmation that the report was received.
Upon submission of the bug report I was redirected to 
http://twitter.com/help/start.)

Anyway, it is sort of a developer thing, concerning geolocated tweets.

Some tweets that include geodata are tagged via [appname] from
[neighborhood] while others are tagged via [appname] from here.
(There's been a lot of weirdness in the neighborhood names, at least
here in Europe.)

Problem is, on Firefox under both Ubuntu 9.10 and Windows 7, clicking
on the neighborhood links doesn't work. No response, no little map-
in-a-box. The from here ones work fine.

Is it only me?





[twitter-dev] Re: Geolocation bug?

2010-04-29 Thread Ken
Here is the error from clicking on a neighborhood link, copied from
Firebug:

I.geometry is null
http://a1.twimg.com/a/1272477713/javascripts/geov1.js?1272481439
Line 1


[twitter-dev] Re: API call to turn on location-based tweets?

2010-04-29 Thread Ken

 there
 is also a mobile optimized page with just that checkbox on twitter.com that
 you could use too.


could be useful.. what's the URL?

thanks

Ken


[twitter-dev] Re: API call to turn on location-based tweets?

2010-04-29 Thread Ken
just what we needed! thanks

On Apr 29, 11:23 pm, Abraham Williams 4bra...@gmail.com wrote:
 https://twitter.com/account/geo

 On Thu, Apr 29, 2010 at 14:17, Ken k...@cimas.ch wrote:

   there
   is also a mobile optimized page with just that checkbox on twitter.comthat
   you could use too.

  could be useful.. what's the URL?

  thanks

  Ken

 --
 Abraham Williams | Developer for hire |http://abrah.am
 @abraham |http://projects.abrah.am|http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: Geolocation revisited

2010-03-22 Thread Ken
On Mar 22, 06:20 am, Raffi Krikorian ra...@twitter.com wrote:


  So if a user enables geolocation on Twitter, but refuses geolocation
  in Firefox, their location will not show when tweeting through the
  web? Also, any such user of a moblie device would have to disable
  transmission of geodata? If so, any links to the instructions for
  doing that on various devices?

 We have a geolocation best practices document around that we hand off
 to developers - that details a recommended UX model that makes it
 clear how users should be presented with the choice to geolocate.

I guess you mean this page: 
http://apiwiki.twitter.com/Geotagging-API-Best-Practices


 So, in short, yes - your users would need to enable geo, but disable
 it in the browser.

cool, Geo is our app name

In our case, it is not the app that risks to disclose the user's
current location, unless that is the location they have deliberately
chosen to associate with their tweet. It is the act of enabling
geolocation in Twitter that could get them into trouble depending on
the device(s) or browser(s) they subsequently use to tweet. I guess
what I wish for is an API-specific geo-enable switch. Nothing to do
with tracking a user's current location, nothing that creeps anyone
out, nothing that requires elaborate warnings or disclaimers.


 that's the main reason we're doing it! It's all about context and
 relevancy!


  I am just a bit surprised to find myself alone in promoting a use case
  whereby arbitrary geo-metadata is manually assigned to a tweet in order
  to enhance its searchability and interestingness.

Sure we agree on the benefits. Still, most of the discussion has
focused on automated geolocation. The best practices page is all about
that. But I want to tweet about the great shawarma I recently ate in
Amman and pinpoint it on a map, or say, we just issued a press release
on our project in Mongolia, or a social issue in a place I can't even
get a visa for, and I want to locate my tweet there! This is API-only
for now, not the browser- or device-based tweeting that I've seen
discussed.

On Mar 21, 10:04 pm, Raffi Krikorian ra...@twitter.com wrote:
  The other day, when map pins and cute little maps began to appear with
  our tweets, we thought that was very cool indeed and we began thinking
  again about promoting this app. (Oddly, the geodata only shows when we
  are logged in - maybe that will change..?)

 that's a bug that is being addressed.

  In order for a user to geo-tweet using our app, they needed to have
  Enable geotagging checked in their settings. This has since been
  changed to Add a location to your tweets. On a support page dated 12
  November 2009 (which I suspect has been updated more recently),
  Twitter states, Twitter won't show any location information unless
  you've opted-in to the feature, and have allowed your device or
  browser to transmit your coordinates to us, but the part about the
  device or browser does not seem to apply to to the use of third-party
  apps like ours. On the same page Twitter says that Tweet With Your
  Location is only available in the United States which again does not
  appear to apply to users of third party browser apps. (We are not in
  the US)

 a user needs to have enable geotagging on in order for them to send
 geotagged tweets from their account.  what i would possibly do is tell your
 users to turn on geotagging, but also just inform them what will happen on
 twitter.com.  the status quo hasn't really changed, except we have added
 some new features to twitter.com.  if your users aren't in the US, then, for
 now, they won't see any add location stuff to tweets.  they will
 eventually, and i think its more important to just explain to them that, by
 default, twitter.com won't expose precise coordinates -- but instead
 neighborhood information.

 --
 Raffi Krikorian
 Twitter Platform Teamhttp://twitter.com/raffi

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


[twitter-dev] Geolocation revisited

2010-03-20 Thread Ken
When geolocation was first introduced we launched an app that was a
very simple mashup of Google maps and Twitter, enabling users to
attach a location of their choosing - not necessarily their actual
location - to a tweet. The much-discussed privacy concerns of
geolocation were not relevant to this application, which we made first
of all for our own use - to geotag new, location-specific content from
our website. Anyway, it seemed at the time that only users tweeting
from GPS-enabled phones had to worry about revealing their true
location.

The other day, when map pins and cute little maps began to appear with
our tweets, we thought that was very cool indeed and we began thinking
again about promoting this app. (Oddly, the geodata only shows when we
are logged in - maybe that will change..?)

In order for a user to geo-tweet using our app, they needed to have
Enable geotagging checked in their settings. This has since been
changed to Add a location to your tweets. On a support page dated 12
November 2009 (which I suspect has been updated more recently),
Twitter states, Twitter won't show any location information unless
you've opted-in to the feature, and have allowed your device or
browser to transmit your coordinates to us, but the part about the
device or browser does not seem to apply to to the use of third-party
apps like ours. On the same page Twitter says that Tweet With Your
Location is only available in the United States which again does not
appear to apply to users of third party browser apps. (We are not in
the US)

We just need to know what we should tell our users. They need change
their settings by checking the box by Tweet Location, but _not_
allow their browser to transmit their location, right? Then they can
ignore the part about 'available in US only' and _not worry_ about
accidently revealing their exact location? Can we promise them that?

Thanks, Ken

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words REMOVE ME as the subject.


RE: [twitter-dev] Re: Mass account creation

2010-01-29 Thread Ken Dobruskin

Of course, if I disable the new follower notices then the spammers have won...  
 I guess I could use the API to create a summary report of the day's new 
followers, hey...

I like the notices. I don't read them all, but when I do their 
followers/following numbers often give them away. There's good stuff too. 
People you know, etc, and I just checked and here's another one of these:

0 followers

0 tweets

following 1 person
  

Anyway, I no longer look at follower lists - even my own - because of all the 
junk. Following lists are where the value is.

 Date: Thu, 28 Jan 2010 14:51:54 -0800
 Subject: [twitter-dev] Re: Mass account creation
 From: dpr...@gmail.com
 To: twitter-development-talk@googlegroups.com
 
 Honestly, I don't understand why people break their heads over who
 follow them.
 
 It does not make an ounce of difference if an entire army of spam bots
 or follower churners follow your account. They can't DM you if you
 don't follow back. They can @reply you whether they follow you or not.
 In fact, if you are stuck at a magical following limit, then those
 followers can enable you to follow more accounts.
 
 The only small irritation is the new follower email notification that
 Twitter sends out. Just disable those notifications, and you will
 never even know that you are followed by spammers, scammers, and
 churners.
 
 On Jan 28, 6:56 am, DenisioDelBoro alya...@gmail.com wrote:
  On 28 ÑÎ×, 06:42, Ken Dobruskin k...@cimas.ch wrote:
 
   When I am followed by a bot, or even a human who has no actual interest 
   in my tweets but is only trying for a follow back, I regard it as an 
   unsolicited message.
   This happens way too much and as a victim, I don't care if it's been done 
   massively. Spam is spam and fake following - on whatever scale - not 
   only uses resources but complicates analysis of the social network. 
   Twitter has allowed the follow mechanism to be repurposed as a simple 
   attention grabbing measure, but they tell us that the rules will evolve. 
   It is also within their power to keep the bot armies at bay.
 
  Who's talking about bots following real people here?
  
_
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969

RE: [twitter-dev] Re: Mass account creation

2010-01-27 Thread Ken Dobruskin

+1, Ed. Nice post. The humans will win!

Whether every RSS feed, weather station, search query, refrigerator, etc is 
allowed to be turned into a twitter bot is a policy decision for Twitter. I 
like to think that Twitter would prefer to be an original source of unique and 
meaningful content and not just a dump for low grade data.

 First of all, there is only one form of spam - it's *unsolicited* messages 
 sent massively.

When I am followed by a bot, or even a human who has no actual interest in my 
tweets but is only trying for a follow back, I regard it as an unsolicited 
message. 
This happens way too much and as a victim, I don't care if it's been done 
massively. Spam is spam and fake following - on whatever scale - not only 
uses resources but complicates analysis of the social network. Twitter has 
allowed the follow mechanism to be repurposed as a simple attention grabbing 
measure, but they tell us that the rules will evolve. It is also within their 
power to keep the bot armies at bay.

Date: Wed, 27 Jan 2010 09:37:43 -0800
Subject: Re: [twitter-dev] Re: Mass account creation
From: zzn...@gmail.com
To: twitter-development-talk@googlegroups.com



On Wed, Jan 27, 2010 at 9:02 AM, DenisioDelBoro alya...@gmail.com wrote:

First of all, there is only one form of spam - it's *unsolicited*

messages sent massively.

Second of all, tell me, please, in what way creating, let's say, 100

accounts just for tweeting weather forecasts for different cities is a

spam? I'm not talking about mentioning there random nicknames or

something like that to get new followers, of course. Just pure

forecast, without any links.

Third of all, why do you think those RSS feeds will be useless? Maybe

it's more convenient for some users to get updates with Twitter than

with Google Reader.

I don't see how  creating, let's say, 100 accounts just for tweeting weather 
forecasts for different cities fits in with the Twitter spirit, which is 
humans talking to other humans over the messaging system. For example, here in 
Portland, we have a hashtag, #pdxtst (PDX Twitter Storm Team) where we talk 
about the sometimes unusual weather in this normally boring rainy place. It's 
people talking about the weather. 


We had an unexpected snowstorm a few weeks back, and Mayor Sam Adams got on 
Twitter and gave traffic and Tri-Met updates. I doubt very seriously if the 
folks in the #pdxtst chat would have appreciated some bot spewing the National 
Weather Service warnings or the stuff coming from the TV weather crews. Those 
crews were, in fact, on Twitter conversing with people! Fortunately, this all 
happened before the texting while driving ban went into effect.


Maybe what you propose is simply annoying and not spam, but don't be too 
terribly surprised if you build it and see people blocking you, rather than 
simply not following. I unfollow bots often and block when something gets 
annoying enough. But Twitter isn't intended to be an aggregator! 




On 27 янв, 18:30, Dale Folla MeDia mogul...@gmail.com wrote:

 the only possible reasons someone would have to create that many accounts

 would be to spam in one form or another.  There should be other ways to skin

 that cat..  You could not keep up with that many accounts unless you sent

 out huge amounts of useless RSS feeeds just to gain followers so you can

 mass dm them...





 On Thu, Jan 7, 2010 at 5:16 AM, Andrew Badera and...@badera.us wrote:

  I would point them to examples of other apps (local news spammers come

  to mind) that have recently been blacklisted.



  That aside, I for one am 100% opposed to giving anyone this sort of

  tool. Not that certain other people on this list haven't already done

  so for profit, sadly.



  ∞ 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 Thu, Jan 7, 2010 at 7:50 AM, Jonathan Markwell

  j.l.markw...@inuda.com wrote:

   Hi All,



   Would be interested to hear both the community's opinion on this and

   the official Twitter view.



   I have a client that wants to create thousands of new accounts that

   they can use to send out a wide variety of niche interest tweets. They

   already have a quote from an outsourcing company that can do the work

   and are keen to go ahead. The accounts will, for the most part, be

   automated but I'm encouraging them to ensure each gets at least some

   human participation in them on a regular basis.



   I'm apprehensive about this and I'm trying to disuade them from going

   ahead. I'm not convinced that accounts that are primarily automated,

   especially when set up on this scale can add that much value to the

   ecosystem. Their feeling is quite the opposite and they believe the

   audience they are working to provide for will find this extremely

   valuable. In addition they are confident, and have some data to back

   it up, that 

RE: [twitter-dev] @ Message read rate for non-followers

2010-01-18 Thread Ken Dobruskin

Zero percent, and report for spam.

 Date: Sun, 17 Jan 2010 22:13:33 -0800
 Subject: [twitter-dev] @ Message read rate for non-followers
 From: abstar...@gmail.com
 To: twitter-development-talk@googlegroups.com
 
 Hey Guys,
 
 Do you know what % of people read @ messages if you are not a follower
 + targeting them based on keywords or search api's?
 
 Thanks,
 Abir
  
_
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010

RE: [twitter-dev] @ Message read rate for non-followers

2010-01-18 Thread Ken Dobruskin

Further to this, I think Abir has raised a subject that gets little attention 
on this list, user behaviour. It is relevant as we must take it into account as 
we design our apps.

My initial response to the OP was of course facetious. If a message arrives in 
my timeline I will read it, which is why spam must be dealt with mercilessly by 
Twitter. As another poster pointed out recently, keyword based fake @replies 
are a violation of Twitter TOS. As with email spam, this should apply equally 
to automated and manually composed messages.

But it would be interesting to know more about the behaviour of different types 
of Twitter users and for this one would first need to establish a typology of 
users. I suggest two broad categories, readers and writers, and maybe a third 
category that would include those engaged in massive mutual following. Users 
who follow thousands of accounts can't possibly be reading much of their 
streams, and may not be writing much either. As a writer I tend to regard 
members of this group (those that are human) as disoriented, and focus my 
attention on followers who are following reasonable numbers of accounts.

As for the effectiveness of 'targeting' users by keywords, I've seen a clever 
implementation lately whereby I was followed by an fully automated (or 
possibly, 'curated') account that was just amassing followers based on keyword. 
Checking out their website one finds thousands of similar keyword-based 
accounts, a big system. Evidently the intention is that you should follow them 
and click on a link or whatever. It was almost credible, I'll hand them that, 
but could not withstand any real scrutiny. Still, plenty of high quality 
accounts had followed them back..

What can you all say about user behaviour that you have observed?

 From: and...@badera.us
 Date: Mon, 18 Jan 2010 04:59:56 -0500
 Subject: Re: [twitter-dev] @ Message read rate for non-followers
 To: twitter-development-talk@googlegroups.com
 
 On Mon, Jan 18, 2010 at 3:00 AM, Ken Dobruskin k...@cimas.ch wrote:
  Zero percent, and report for spam.
 
  Date: Sun, 17 Jan 2010 22:13:33 -0800
  Subject: [twitter-dev] @ Message read rate for non-followers
  From: abstar...@gmail.com
  To: twitter-development-talk@googlegroups.com
 
  Hey Guys,
 
  Do you know what % of people read @ messages if you are not a follower
  + targeting them based on keywords or search api's?
 
  Thanks,
  Abir
 
 ++ to reporting as spam.
 
 ∞ 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
 
  
  Windows Live: Keep your friends up to date with what you do online.
  
_
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010

RE: [twitter-dev] How to monitor our brand by Streaming API

2010-01-13 Thread Ken Dobruskin

Hi,

I don't know anything about Wordpress or plugins, but is there any moderation 
workflow built into these widgets? I just had to cringe at the silly results 
produced by the indiscriminate use of a twitter search feed by one colleague 
from a highly respectable international organisation. It's not a matter of 
censoring negative remarks about your brand - evidently you are prepared for 
that. But what happens when someone says something really, really dumb, vulgar 
or racist involving your searchterm? Can you handle all the world's languages? 
It could be a fun opportunity for spammers or competitors! Even assuming that 
your brandname is universally unambiguous and could only ever refer to your 
business, you may be in for a case of 'irrelevant automated content syndrome'.

Have fun!

Ken

 Date: Wed, 13 Jan 2010 01:31:49 -0800
 Subject: [twitter-dev] How to monitor our brand by Streaming API
 From: cantutulma...@gmail.com
 To: twitter-development-talk@googlegroups.com
 
 Dear Developers,
 
 We would like to monitor what have been tweeted about our brand and we
 would like to publish this up to minute
 
 tweets on our wp based blog
 
 What should be the best WP-Plugin coded by Twitter Search Streaming
 API ?
 
 Thank you for your help,
 
 Best Regards,
  
_
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010

RE: [twitter-dev] How to monitor our brand by Streaming API

2010-01-13 Thread Ken Dobruskin

Peter, just to expand on your remark, it should be straightforward to integrate 
a twitter-api search thingy into the Wordpress workflow or that of other 
similar CMS, to provide some control over content published on a corporate 
website. By all means publish the social content, just weed out the irrelevant, 
silly or gnarly stuff.

Date: Wed, 13 Jan 2010 20:33:51 -0800
Subject: Re: [twitter-dev] How to monitor our brand by Streaming API
From: petermden...@gmail.com
To: twitter-development-talk@googlegroups.com

Its pretty easy to build a widget, from fetching the results, parsing them, and 
presenting them, twitter makes it easy to do. 

With all that extra time, your developers should be able to find global stop 
lists of words that prevent displays of harassing/vulgar/racist language and 
continue to add rules as you go to create a content stream that works for your 
company. 


Don't get me wrong, Ken's points are very valid, however, I personally feel if 
you have a company people talk about, show other people this content. 1 page of 
perfectly written marketing isn't going to reach me as much as 10 tweets 
saying, I really really love this product. (imo)


Regards
Peter

On Wed, Jan 13, 2010 at 7:14 PM, Ken Dobruskin k...@cimas.ch wrote:






Hi,

I don't know anything about Wordpress or plugins, but is there any moderation 
workflow built into these widgets? I just had to cringe at the silly results 
produced by the indiscriminate use of a twitter search feed by one colleague 
from a highly respectable international organisation. It's not a matter of 
censoring negative remarks about your brand - evidently you are prepared for 
that. But what happens when someone says something really, really dumb, vulgar 
or racist involving your searchterm? Can you handle all the world's languages? 
It could be a fun opportunity for spammers or competitors! Even assuming that 
your brandname is universally unambiguous and could only ever refer to your 
business, you may be in for a case of 'irrelevant automated content syndrome'.


Have fun!

Ken

 Date: Wed, 13 Jan 2010 01:31:49 -0800
 Subject: [twitter-dev] How to monitor our brand by Streaming API
 From: cantutulma...@gmail.com

 To: twitter-development-talk@googlegroups.com
 
 Dear Developers,
 
 We would like to monitor what have been tweeted about our brand and we

 would like to publish this up to minute
 
 tweets on our wp based blog
 
 What should be the best WP-Plugin coded by Twitter Search Streaming
 API ?
 
 Thank you for your help,

 
 Best Regards,
  
Keep your friends updated— even when you’re not signed in.


  
_
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010

RE: [twitter-dev] Mass account creation

2010-01-07 Thread Ken Dobruskin

I can't wait to hear how they plan to interest real people to follow these 
accounts. More keyword- (or geo-) based @ replies? save us!

 Date: Thu, 7 Jan 2010 06:03:17 -0700
 From: john.l.me...@gmail.com
 To: twitter-development-talk@googlegroups.com
 Subject: Re: [twitter-dev] Mass account creation
 
 Sounds like a swit (spam twitterer) to me.  Have you told them about 
 twitter's blacklisting policy?
 
 
 
 On 1/7/2010 5:50 AM, Jonathan Markwell wrote:
  Hi All,
 
  Would be interested to hear both the community's opinion on this and
  the official Twitter view.
 
  I have a client that wants to create thousands of new accounts that
  they can use to send out a wide variety of niche interest tweets. They
  already have a quote from an outsourcing company that can do the work
  and are keen to go ahead. The accounts will, for the most part, be
  automated but I'm encouraging them to ensure each gets at least some
  human participation in them on a regular basis.
 
  I'm apprehensive about this and I'm trying to disuade them from going
  ahead. I'm not convinced that accounts that are primarily automated,
  especially when set up on this scale can add that much value to the
  ecosystem. Their feeling is quite the opposite and they believe the
  audience they are working to provide for will find this extremely
  valuable. In addition they are confident, and have some data to back
  it up, that what they are creating will bring a huge number of new
  real users to Twitter.
 
  What are your thoughts on this?
 
  Jon.
 
 
 
  
_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009

RE: [twitter-dev] Twitter Developer QA on Stack Overflow

2009-12-28 Thread Ken Dobruskin

 It seems like creating a stackexchange would just split the support power. 


+1, totally.


One issue I've noticed with Stackoverflow is it is harder for new
developers to participate where as the barrier for entry on Google
Groups is just having an email address.

Some email groups
can be very tough on newbies and this can change (ie, get worse) over
time as there are no posted rules/policy. In my view, stack exchange is
well conceived to avoid the trap of a harsh expert user playing the
troll and shutting out new users. There is also a place for rules, and
if desired a meta-QA for discussion of the discussion. I agree
though that it should be up to Twitter to provide this environment.

Ken 


 Abraham


On Mon, Dec 28, 2009 at 21:40, Ken Dobruskin k...@cimas.ch wrote:







Jonathan,

Good points and initiative.

 
 I do not believe Twitter have the resources to recreate the success of
 Stack Overflow for QA purposes.

Have you considered setting up a Twitter Dev QA beta site on 
stackexchange.com? I have, and someone probably could, but I thought I'd wait 
and see what the official Twitter development platform had to offer before 
doing that!



Ken

  
Windows Live: Keep your friends up to date with what you do online.




-- 
Abraham Williams | Awesome Lists | http://awesomeli.st
Project | Intersect | http://intersect.labs.poseurtech.com


Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States
  
_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009

RE: [twitter-dev] The remote name could not be resolved: 'twitter.com' problem

2009-12-20 Thread Ken Dobruskin

You might want to try the Twitterizer API Google group here: 
http://groups.google.com/group/twitterizer

hth,

Ken

 Date: Sat, 19 Dec 2009 17:53:05 -0800
 Subject: [twitter-dev] The remote name could not be resolved: 'twitter.com'   
 problem
 From: mr.ki...@gmail.com
 To: twitter-development-talk@googlegroups.com
 
 Hi there
 
 I started to use twitterizer API for my blog. I post my tweet from my
 cms system. I get this error
 
 
 The remote name could not be resolved: 'twitter.com'
 
 
 In the .cs file my code goes here
 
 
 Twitter t = new Twitter(emrekiyak, *);
 t.Status.Update(textbox1.Text);
 
 
 and web.config configuration is that :
 
 
 trust level=Medium originUrl=https?://(www\.)?twitter.com/.+/
 
 
 How can i solve this problem.
 
 
 Thank you all
 
 
  
_
Windows Live Hotmail: Your friends can get your Facebook updates, right from 
Hotmail®.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009

[twitter-dev] URLification

2009-12-17 Thread Ken Dobruskin

When adding a URL surrounded by parentheses or followed by a period, these 
marks are included in the resulting link. Is a trailing whitespace the only 
workaround? It's ugly and wastes a character.
  
_
Windows Live Hotmail: Your friends can get your Facebook updates, right from 
Hotmail®.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009

  1   2   >