Re: [twitter-dev] Re: 401 to site streams since yesterday

2011-07-29 Thread Fabien Penso
On Wed, Jul 27, 2011 at 8:35 AM, Tim Haines tmhai...@gmail.com wrote:
 I've seen 2 things recently that can cause it.  1) Your user you connect
 with becomes deauthed from the app, or 2) I upgraded my version of roauth
 gems in ruby today, and it broke the way I was handling params and I was
 getting 401s.

Tim,

Good catch, it was the oauth token, for some reason it was not working
anymore, I took another one and it did the trick. I don't understand
why using the app oauth access token it didn't work neither, I would
have expected it to work fine...

Thanks for your idea.

 I expect your reason is probably something different though.  Have you tried
 a verify credentials call with your user you connect with?
 Cheers,
 Tim.

 On Fri, Jul 22, 2011 at 1:17 AM, Fabien Penso fabienpe...@gmail.com wrote:

 Am I the only one having this issue?

 On Thu, Jul 21, 2011 at 9:19 AM, Fabien Penso fabienpe...@gmail.com
 wrote:
  Hi,
 
  Any idea why the site streams give me 401 for the last 16 hours ? I
  haven't changed anything and I don't understand why it would change?
  This is for @appnotification
 
  Thanks.
 

 --
 Have you visited the Developer Discussions feature on
 https://dev.twitter.com/discussions yet?

 Twitter developer links:
 Documentation and resources: https://dev.twitter.com/docs
 API updates via Twitter: https://twitter.com/twitterapi

 Unsubscribe or change your group membership settings:
 http://groups.google.com/group/twitter-development-talk/subscribe

 --
 Have you visited the Developer Discussions feature on
 https://dev.twitter.com/discussions yet?

 Twitter developer links:
 Documentation and resources: https://dev.twitter.com/docs
 API updates via Twitter: https://twitter.com/twitterapi

 Unsubscribe or change your group membership settings:
 http://groups.google.com/group/twitter-development-talk/subscribe


-- 
Have you visited the Developer Discussions feature on 
https://dev.twitter.com/discussions yet?

Twitter developer links:
Documentation and resources: https://dev.twitter.com/docs
API updates via Twitter: https://twitter.com/twitterapi

Unsubscribe or change your group membership settings: 
http://groups.google.com/group/twitter-development-talk/subscribe


[twitter-dev] Re: 401 to site streams since yesterday

2011-07-22 Thread Fabien Penso
Am I the only one having this issue?

On Thu, Jul 21, 2011 at 9:19 AM, Fabien Penso fabienpe...@gmail.com wrote:
 Hi,

 Any idea why the site streams give me 401 for the last 16 hours ? I
 haven't changed anything and I don't understand why it would change?
 This is for @appnotification

 Thanks.


-- 
Have you visited the Developer Discussions feature on 
https://dev.twitter.com/discussions yet?

Twitter developer links:
Documentation and resources: https://dev.twitter.com/docs
API updates via Twitter: https://twitter.com/twitterapi

Unsubscribe or change your group membership settings: 
http://groups.google.com/group/twitter-development-talk/subscribe


[twitter-dev] 401 to site streams since yesterday

2011-07-21 Thread Fabien Penso
Hi,

Any idea why the site streams give me 401 for the last 16 hours ? I
haven't changed anything and I don't understand why it would change?
This is for @appnotification

Thanks.

-- 
Have you visited the Developer Discussions feature on 
https://dev.twitter.com/discussions yet?

Twitter developer links:
Documentation and resources: https://dev.twitter.com/docs
API updates via Twitter: https://twitter.com/twitterapi

Unsubscribe or change your group membership settings: 
http://groups.google.com/group/twitter-development-talk/subscribe


Re: [twitter-dev] How many REST calls do you save with the streaming API?

2011-06-24 Thread Fabien Penso
On Thu, Jun 23, 2011 at 2:09 PM, Matt Harris thematthar...@twitter.com wrote:
 Fabien,
 Thanks for sharing this insight into how much the Streaming API is helping
 reduce the API calls you are making.
 It would be really interesting to hear the difference other developers are
 seeing.

+1, and if only the streaming API was including private lists tweets...

-- 
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] How many REST calls do you save with the streaming API?

2011-06-20 Thread Fabien Penso
Hey,

I thought some of you might wonder how many REST calls you save using
the Streaming API instead, so here is a graph for my iPhone
application http://2apn.com

I usually do about 7k requests/hour (for lists, and stuff not
available through the streaming API), but I had an temporary glitch in
my streaming scripts and my REST scripts launched at full capacity,
going from 7,000 requests / hour to 70,000 requests / hour.

See the attached graph, over a day of history.

-- 
Fabien Penso
@fabienpenso

-- 
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
attachment: push4_rest_calls.png

[twitter-dev] Private list API Using oauth broken ?

2011-06-08 Thread Fabien Penso
Hi,

Just wondering if I'm the only one having

Error:  {error:Not
found,request:\/1\/fabienpenso\/lists\/test\/statuses.json}

When calling a private list at
http://api.twitter.com/1/fabienpenso/lists/test/statuses.json with a
proper oauth Authorization: header, since last Monday ?

Thanks.

-- 
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] Twitter Streaming API blocked user

2011-05-18 Thread Fabien Penso
Hi,

I'm using the streaming API (sitestream) and one of my user @thecivvie
blocked @fabientest but if @fabientest tweets, I see those tweets for
@thecivvie coming.

Is that an implementation bug, is it supposed to be like this, or have
I missed something?

Thanks.

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


Re: [twitter-dev] Twitter Streaming API blocked user

2011-05-18 Thread Fabien Penso
Thanks Taylor,

I wish the streaming did, is that planned at all in the future? Don't
want to code something if you guys are planning it soon :)

On Wed, May 18, 2011 at 7:30 AM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 Hi Fabien,
 The Streaming API/Site Streams/User Streams don't support certain kinds of
 post-filter user settings like blocked users/no retweets from this
 user/etc. -- if you want to provide that filtering, you can keep an index
 of the users they block and filter in real time.
 http://dev.twitter.com/doc/get/blocks/blocking/ids to get the ids.
 @episod - Taylor Singletary


 On Tue, May 17, 2011 at 11:33 PM, Fabien Penso fabienpe...@gmail.com
 wrote:

 Hi,

 I'm using the streaming API (sitestream) and one of my user @thecivvie
 blocked @fabientest but if @fabientest tweets, I see those tweets for
 @thecivvie coming.

 Is that an implementation bug, is it supposed to be like this, or have
 I missed something?

 Thanks.

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


Re: [twitter-dev] Twitter Streaming API blocked user

2011-05-18 Thread Fabien Penso
Another one :

It would be nice to have those events in the stream (new blocked user
/ removal of a blocked user) so we don't need to fetch those through
the REST API once our streaming process is running.

On Wed, May 18, 2011 at 10:27 AM, Fabien Penso fabienpe...@gmail.com wrote:
 Thanks Taylor,

 I wish the streaming did, is that planned at all in the future? Don't
 want to code something if you guys are planning it soon :)

 On Wed, May 18, 2011 at 7:30 AM, Taylor Singletary
 taylorsinglet...@twitter.com wrote:
 Hi Fabien,
 The Streaming API/Site Streams/User Streams don't support certain kinds of
 post-filter user settings like blocked users/no retweets from this
 user/etc. -- if you want to provide that filtering, you can keep an index
 of the users they block and filter in real time.
 http://dev.twitter.com/doc/get/blocks/blocking/ids to get the ids.
 @episod - Taylor Singletary


 On Tue, May 17, 2011 at 11:33 PM, Fabien Penso fabienpe...@gmail.com
 wrote:

 Hi,

 I'm using the streaming API (sitestream) and one of my user @thecivvie
 blocked @fabientest but if @fabientest tweets, I see those tweets for
 @thecivvie coming.

 Is that an implementation bug, is it supposed to be like this, or have
 I missed something?

 Thanks.

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


Re: [twitter-dev] Stream API and UserLists

2011-03-25 Thread Fabien Penso
+1

Is this planned ?

On Tue, Mar 8, 2011 at 1:23 AM, tmurray tmurr...@gmail.com wrote:
 I was wondering if there is a way to use the streaming API  to receive
 tweets associated with User Lists??  If not, what is the best way to
 receive tweets associated with user lists?

 Thanks in advance for your help!!

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


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


Re: [twitter-dev] Stream API and UserLists

2011-03-25 Thread Fabien Penso
On Fri, Mar 25, 2011 at 12:40 PM, Augusto Santos augu...@gemeos.org wrote:
 You can get http://dev.twitter.com/doc/get/:user/:list_id/members
 and then use with http://dev.twitter.com/pages/streaming_api_methods#follow
 don't you?

Doesn't work for private profiles.

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


Re: [twitter-dev] Stream API and UserLists

2011-03-25 Thread Fabien Penso
On Fri, Mar 25, 2011 at 12:53 PM, Augusto Santos augu...@gemeos.org wrote:
 Well, but streaming api really doesn't work for private profiles, for that
 you must use User Streams.

I had site streams in mind.

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


Re: [twitter-dev] Re: Introducing the Tweet Button

2010-08-14 Thread Fabien Penso
On Fri, Aug 13, 2010 at 4:06 PM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 We had some caching/rate limiting issues related to tweet counts for a
 portion of yesterday but these should be relieved now. Please let us know if
 you continue seeing the zero counts after a reasonable amount of time (they
 won't update instantaneously).

I feel like still having the issue at
http://tweetsell.it/users/wineheadlines/products/21170418193 (for
example).

It's also very disturbing to have the counter incrementing when
tweeting about the link, then going back to 0 when you reload the
page. Will you try to update this instantaneously later?


Re: [twitter-dev] Retrieving new tweets for 40-60 thousand users

2010-07-20 Thread Fabien Penso
On Tue, Jul 20, 2010 at 11:54 PM, John Kalucki j...@twitter.com wrote:
 The trick is getting the 60k followers.

The trick is getting 60k users ;)


Re: [twitter-dev] Re: Issues with OAuth

2010-07-19 Thread Fabien Penso
On Tue, Jul 20, 2010 at 1:02 AM, cyclemenow cycleme...@gmail.com wrote:
 I'm unable to use my own app!

same here.


[twitter-dev] Can't add a friend

2010-07-18 Thread Fabien Penso
Hi,

I'm trying to add @tweetsellit as a friend from @fabienpenso, can't do
it whatever what I'm doing. Tried twitter.com, the iphone app, etc.

Is there an issue?


Re: [twitter-dev] Re: oauth status update returning error 401 invalid / used nonce

2010-07-09 Thread Fabien Penso
On Fri, Jul 9, 2010 at 3:38 AM, Fabien Penso fabienpe...@gmail.com wrote:

 Where my application http://twitter.com/apps/edit/14088 has readwrite
 access permission.

This is fixed, what happened :

- My application had read-only access for the user (myself in fact), I
revoked access and asked for a new oauth token = working.

- My application always had read-write access, there is no reason this
token was read-only.


Re: [twitter-dev] Re: oauth status update returning error 401 invalid / used nonce

2010-07-08 Thread Fabien Penso
On Wed, Jun 16, 2010 at 9:39 PM, Craig chanson9...@gmail.com wrote:
 By the way, even when I try to tweet with just one word like: tweet,
 it doesn't work.  Just simple ascii characters.  Is there any way you
 can just intercept one of my test tweets and look at what, if anything
 might be going wrong on the server side?

I have the exact same issue than Craig.

My iPhone application uses 3 accounts, 2 are working (@fabienpenso and
@fabientest) and the third one (@appnotification) returns 401 no
matter what I'm doing. Some of my users are also telling me getting
401s.

Is there anything I can do to trace this?


Re: [twitter-dev] Re: oauth status update returning error 401 invalid / used nonce

2010-07-08 Thread Fabien Penso
On Fri, Jul 9, 2010 at 3:24 AM, Fabien Penso fabienpe...@gmail.com wrote:
 On Wed, Jun 16, 2010 at 9:39 PM, Craig chanson9...@gmail.com wrote:
 By the way, even when I try to tweet with just one word like: tweet,
 it doesn't work.  Just simple ascii characters.  Is there any way you
 can just intercept one of my test tweets and look at what, if anything
 might be going wrong on the server side?

 I have the exact same issue than Craig.

 My iPhone application uses 3 accounts, 2 are working (@fabienpenso and
 @fabientest) and the third one (@appnotification) returns 401 no
 matter what I'm doing. Some of my users are also telling me getting
 401s.

 Is there anything I can do to trace this?

If it helps the answer I have right now is : =
{request=/statuses/update.json, error=Read-only application
cannot POST}

Where my application http://twitter.com/apps/edit/14088 has readwrite
access permission.


Re: [twitter-dev] Re: New opt-in API features available today, May 26th: entities, retweets in timelines, custom oauth_callback schemes

2010-05-28 Thread Fabien Penso
On Fri, May 28, 2010 at 8:08 AM, earth2marsh ma...@earth2marsh.com wrote:

 Finally, it would be super-helpful to have a changelog on
 dev.twitter.com—especially if it came with an rss feed!

+1


Re: [twitter-dev] Re: Annotations Hackfest

2010-05-26 Thread Fabien Penso
On Wed, May 26, 2010 at 4:05 PM, M. Edward (Ed) Borasky
zn...@borasky-research.net wrote:

 This is 2010, right? There's this thing called the Internet, right? IRC
 still works, right?

Yes but IRC works too well.


Re: [twitter-dev] Re: New social events on User Streams

2010-05-26 Thread Fabien Penso
John,

Any chance it moves so quickly than time is left to look at the issue
I've posted?

Subject was 'UserStream : bug with oauth connection'

On Wed, May 26, 2010 at 11:08 AM, John Kalucki j...@twitter.com wrote:
 I had to remove unfollow messages until we can sort out a complicated issue.
 The block and unblock messages remain. Sorry for the regression -- we're
 trying to move quickly.


[twitter-dev] Re: UserStream : bug with oauth connection

2010-05-24 Thread Fabien Penso
On Fri, May 21, 2010 at 10:35 AM, Fabien Penso fabienpe...@gmail.com wrote:

 Joshua and I tried to debug something and found a bug in the
 userstream. If you connect for 2 users and send DMs between them,
 while being connected with oauth token, only one of them (the sender)
 receives it in the stream, the recipient does not.

Anyone on this ?


[twitter-dev] @anywhere follow button width

2010-05-23 Thread Fabien Penso
Hi,

May I suggest being able to have a small version of the follow button
(a bit like the like button of Farcebook), or begin able to change its
title/width? This is way too large for some website design.

Thanks.


[twitter-dev] UserStream : bug with oauth connection

2010-05-21 Thread Fabien Penso
Hi,

Joshua and I tried to debug something and found a bug in the
userstream. If you connect for 2 users and send DMs between them,
while being connected with oauth token, only one of them (the sender)
receives it in the stream, the recipient does not.

If you connect the same accounts using basic auth, it works.

Oauth :

pe...@moonmac ..chirpstream ./test-josh2.rb
#Chirpstream::Connect::User::Oauth:0x10188dd10 DM : yo ? (from
Fabien Penso (@fabienpenso)) to fabientest
event for fabienpenso
^C

Basic Auth :

pe...@moonmac ..chirpstream ./test-josh2.rb
#Chirpstream::Connect::User::Basic:0x10188df40 DM : yo ? (from
Fabien Penso (@fabienpenso)) to fabientest
event for fabienpenso
#Chirpstream::Connect::User::Basic:0x10188dea0 DM : yo ? (from
Fabien Penso (@fabienpenso)) to fabientest
event for fabientest
^C

Code example :

http://gist.github.com/409140
(Using the chirpstream gem from http://github.com/joshbuddy/chirpstream).


Re: [twitter-dev] Re: Basic authentication

2010-05-21 Thread Fabien Penso
On Tue, May 18, 2010 at 1:23 AM, Rich rhyl...@gmail.com wrote:
 That argument is fine, except for one glaring issue... xAuth.

 I've seen plenty of iPhone clients for instance using xAuth but there
 is no good reason for them to be using xAuth as it's remarkably simple
 to use the oAuth workflow using UIWebView.

For my iPhone push app http://2apn.com I've received many complains
because user did not understand what they had to do (usint
oauth+webview).

I'm going xauth because I want to be able to do the UI I want.


Re: [twitter-dev] TwitteRBL - Filtering SPAMs from Twitter

2010-02-28 Thread Fabien Penso
On Sun, Feb 28, 2010 at 6:18 AM, Atul Kulkarni atulskulka...@gmail.com wrote:

 This sounds like a collaborative filtering problem. But rule based system
 alone might not be your best choice for such a dynamic environment like
 twitter.

Probably, but there could be different rbls for different kind of filtering.

Else a bayesian based filtering would probably be better, but I found
nothing available yet.


[twitter-dev] Access Denied on Profile images

2010-02-28 Thread Fabien Penso
Hi,

I'm getting a lot of access denied on images like :

http://a1.twimg.com/profile_images/672324994/19978_748284884009_7814447_43537412_3252727_n_normal.jpg

returns :

Error
CodeAccessDenied/Code
MessageAccess Denied/Message
RequestIdEA3280A7F9F639B8/RequestId
HostId
wFQLCa5SyR+Frsv+wNRb3nJB4VWkjWVSFykzTf1sFMQOS1FPC7vBa00bYiLZZwa8
/HostId
/Error

RequestId and HostId changing at every request. Am I doing something wrong ?


[twitter-dev] TwitteRBL - Filtering SPAMs from Twitter

2010-02-27 Thread Fabien Penso
Hi,

I'm currently using the streaming API for a new service I work on, but
I see lots of tweets I would consider as SPAM and I'd like to find a
way to prevent it.

I have not found anything to filter them, therefor I wrote a little
blog post about how it could be done. Something to combine RBL and
Tweets, but I wonder if that makes sense.

Any feedback welcome.

http://blog.penso.info/2010/02/28/filtering-spams-on-twitter-twitterbl/

-- 
Fabien Penso
@fabienpenso


Re: [twitter-dev] Re: Any iPhone Twitter apps with OAuth login ?

2010-02-09 Thread Fabien Penso
On Tue, Feb 9, 2010 at 8:39 PM, Mark McBride mmcbr...@twitter.com wrote:
 We pushed fixes to the mobile OAuth page last night that should have fixed
 the page on BlackBerry devices.  Please let us know if you still see issues.

Mark,

Can I suggest to make the allow/deny button a bit larger?

Looks small on my iPhone, very small!


Re: [twitter-dev] Re: Any iPhone Twitter apps with OAuth login ?

2010-02-06 Thread Fabien Penso
On Fri, Jan 29, 2010 at 4:20 PM, Ryan Sarver rsar...@twitter.com wrote:
 Good news. A mobile-friendly version of the OAuth page is due to be
 deployed next week (finally!:). We look forward to your feedback on
 the new screens when they are ready.

Looks much better now, thanks !


Re: [twitter-dev] Any iPhone Twitter apps with OAuth login ?

2010-01-08 Thread Fabien Penso
 I'm partly curious to know/confirm whether our app is the only iPhone
 (or mobile) app that uses Twitter OAuth login for posting
 tweets, but I also want to know what you think of the UI, if
 you've used Twitter OAuth login in any publicly released mobile app.

I do and I sincerely thin Twitter could improve this design, it's not
usable for me.


Re: [twitter-dev] Any iPhone Twitter apps with OAuth login ?

2010-01-08 Thread Fabien Penso
On Fri, Jan 8, 2010 at 11:24 PM, Raffi Krikorian ra...@twitter.com wrote:
 hey fabien (and the rest of the list).
 what do you think we could do to improve this for all of you?  i'm actively
 interested in making it better.  feel free to add to this thread, or mail me
 personally.

Raffi,

That would be such a great improvement. I think the required changes
is small, I would go very simple and just display a login/password and
the 2 buttons approve/deny in *large* without the sidebox on the right
you have currently, as it's not needed. Something like what you get
when you browse twitter.com/username from your iPhone.


[twitter-dev] Ping bot now available

2009-12-08 Thread Fabien Penso
Hi everyone,

I looked for a few minutes without finding a ping bot account on twitter.

So here it goes http://twitter.com/pingpongbot using the streaming
API, therefor should be fast. Works on public replies for now, suggest
ideas if you wish.

...


Re: [twitter-dev] Re: Ping bot now available

2009-12-08 Thread Fabien Penso
On Tue, Dec 8, 2009 at 9:10 PM, dbasch dba...@gmail.com wrote:

 Just a thought in case you haven't considered it: be careful not to
 get caught in an infinite loop. There are bots that listen to keywords
 and reply to you. Someone may trigger a situation like that by making
 you echo such keywords, either maliciously or by accident.

Yeah, I limit the number of tweet I ping back per user in a period of
time (like 20 at most but i could lower the number), so such loop will
at least won't be too much of hurt.

I also remove URLs for not having spamers using the bot to spread
links. I'm thinking about replying to DMs too, can be useful.


[twitter-dev] Streaming Api - Keywords matched

2009-11-03 Thread Fabien Penso

Hi.

Would it be possible to include the matched keywords in another field
within the result from the streaming/keyword API?

It would prevent matching those myself when matching for multiple
internal users, to spread the tweets to the legitimate users, which
can be time consuming and tough to do on lots of users/keywords.

Thanks.


[twitter-dev] Re: Streaming Api - Keywords matched

2009-11-03 Thread Fabien Penso

I agree, however it would help a lot because instead of doing :

for keyword in all_keywords
 if tweet.match(keyword)
  //matched, notify users
 end
end

we could do

for keyword in keywords_matched
 // same as above
end

for matching 5,000 keywords, it would bring the first loop from 5,000
to probably 1 or 2.
You know what you matched, so it's quiet easy for you just to include
row data of matched keywords, I don't need anything fancy. Just space
separated keywords would help _so much_.

On Tue, Nov 3, 2009 at 3:15 PM, John Kalucki jkalu...@gmail.com wrote:

 The assumption is that client services will, in any case, have to
 parse and route statuses to potentially multiple end-users. Providing
 this sort of hint wouldn't eliminate the need to parse the status and
 would likely result in duplicate effort. We're aware that we are, in
 some use cases, externalizing development effort, but the uses cases
 for the Streaming API are so many, that it's hard to define exactly
 how much this feature would help and therefore how much we're
 externalizing.

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


 On Nov 3, 1:53 am, Fabien Penso fabienpe...@gmail.com wrote:
 Hi.

 Would it be possible to include the matched keywords in another field
 within the result from the streaming/keyword API?

 It would prevent matching those myself when matching for multiple
 internal users, to spread the tweets to the legitimate users, which
 can be time consuming and tough to do on lots of users/keywords.

 Thanks.


[twitter-dev] Arabic in the streaming API

2009-10-12 Thread Fabien Penso

Hi.

An Arabic speaking user of ours says he gets no notifications from the
tracking API. A simple test :

 curl -uLOGIN:PASSWORD
http://stream.twitter.com/1/statuses/filter.json?track=تويتر

Twitt and include تويتر in your twitt : nothing appear in the curl calls.

Is that a known issue or am I doing something wrong ?

Thanks!


[twitter-dev] Re: Arabic in the streaming API

2009-10-12 Thread Fabien Penso

On Mon, Oct 12, 2009 at 5:28 PM, John Kalucki jkalu...@gmail.com wrote:

 Unicode is untested on the Streaming API, but UTF-8 really should be
 supported. I've filed an internal ticket to dig into this more, but I
 can't promise a resolution.

Yes I had Korean users with no issues.

 In the mean time, I'd try putting the track parameter in the POST
 header (e.g. use curl -d @file as recommended in the Wiki) on the off
 chance that the webserver is mangling the unicode in the URL. Please
 report back to the group on the success or failure of this approach.

I already use POST, the curl was just to show a easy to reproduce test.


[twitter-dev] Re: Arabic in the streaming API

2009-10-12 Thread Fabien Penso

On Mon, Oct 12, 2009 at 5:36 PM, John Kalucki jkalu...@gmail.com wrote:

 Could there be an issue with tokenizing either the predicate or the
 searched text? The tweet is just broken by spaces and common
 punctuation.

John,

To be honest I don't get a word of Arabic so I just searched for تويتر
as my user suggested, ran the curl command and noticed nothing is
coming through when I create a new tweet containing this word.

I tried other Arabic words with no success.


[twitter-dev] Re: Comments for the group and Twitter staff

2009-09-16 Thread Fabien Penso

On Wed, Sep 16, 2009 at 7:00 AM, Matthew Ranney m...@ranney.com wrote:
 Hey Alex, would you consider just giving everybody their money back if they
 aren't 100% satisfied?

Hi guys.

I have been developing an iPhone application for push called
notifications : www.appnotifications.com

I've added Gmail push, RSS, Google voice, I provide an API for sending
yourself notifications, and of course I've added Twitter too. I've had
some support from some Twitter developers and I'm happy I did.
However, to reply to the subject of this thread I also had many issues
with the API, some tweets not showing up for example. The complains I
get from users is all about the Twitter plugin I did, I almost regret
to have added it.

I might have done something wrong on my side, but I also have the
feelings, like other people here, than the API is not always working
well. And I don't blame anyone, I think with the number of tweets you
have, and the massive number of new users you had within the last
year, it must be a super exciting job to work at Twitter, but also
such a stressed one :) I wouldn't want to be responsible for
scalability there.

Is there anything we can do to help you guys? Reporting specific bugs
(they are sometimes hard to find and hard to reproduce as it's a
stream).


[twitter-dev] Re: unexpected 401 unauthorized from streaming api

2009-09-05 Thread Fabien Penso

On Sat, Sep 5, 2009 at 3:38 PM, John Kaluckijkalu...@gmail.com wrote:

 There's probably a defect in the last version of the server, or maybe
 there's an inconsistent auth database that's tripping things up. I
 tried to reproduce this numerous ways last night, and I think I saw
 this issue once, but I wasn't sure. If there's a defect, it's subtle.

I had the same issue today but it came back to normal few minutes
later, and worked since.


[twitter-dev] Re: streaming API for DM for multiple users ?

2009-07-28 Thread Fabien Penso

On Tue, Jul 28, 2009 at 3:55 AM, Doug Williamsd...@twitter.com wrote:
 There is currently no Streaming API to receive DMs for a given user. If you
 have a great use case for this please share it here.

 We like to have justification for new streaming methods. If you have ideas
 to help augment a business case for engineering resources, we would love to
 know about them.

Hi Doug,

I want to be able to offer push notifications on iPhone for public
replies (that is done with the streaming API, as you can see on
http://www.twitvid.com/A4E43 ).

I would also like to offer it for DM. You do send a mail but a push is
way faster than emails. Basicly if you had push for DM you could
really replace text messages with twitter.

Is that a good justification? Can I help in any ways?


[twitter-dev] Re: streaming API for DM for multiple users ?

2009-07-28 Thread Fabien Penso

On Tue, Jul 28, 2009 at 4:39 AM, Ben Hallben200...@googlemail.com wrote:

 Random idea, but wouldn't a streaming API for DMs allow IM style
 clients to be implemented on top of the twitter platform?

It would.


[twitter-dev] streaming API for DM for multiple users ?

2009-07-27 Thread Fabien Penso

Hi.

I wonder if there is a way to use the streaming API to receive DM for
a list of specific users.

As far as I understand there isn't, is anyone working on this? Basicly
I want to offer the possibility to receive Apple Push Notifications
and I'll get tons of user, so I want to go the efficient way.

Thanks.