[twitter-dev] Re: JavaScript error

2009-10-31 Thread voorwiel

OK, the error is gone now. Thank you.

On Oct 29, 3:56 pm, voorwiel voorw...@gmail.com wrote:
 FYI, viewing any profile page on twitter.com throws a JavaScript error
 in IE8 : 'undefined' is empty or no object, twitter.js, line 1, 
 URI:http://a3.twimg.com/a/1256778767/javascripts/twitter.js?1256779295

 Sorry for posting this in the API development group, but I see no
 other way to file a bug report. Correct me if I'm wrong.


[twitter-dev] JavaScript error

2009-10-29 Thread voorwiel

FYI, viewing any profile page on twitter.com throws a JavaScript error
in IE8 : 'undefined' is empty or no object, twitter.js, line 1, URI:
http://a3.twimg.com/a/1256778767/javascripts/twitter.js?1256779295

Sorry for posting this in the API development group, but I see no
other way to file a bug report. Correct me if I'm wrong.



[twitter-dev] Re: all replies by friends

2009-05-13 Thread voorwiel

Yeah, lots of protest out there, just watch the 'Links to this post:'
below the Twitter blog post. There also is a hashtag to protest
against this decision: #fixreplies . It is already in the 'Trending
Topics' sidebar.

Let's see how this evolves...

Jack

On May 13, 7:19 am, Chad Etzel jazzyc...@gmail.com wrote:
 In regard to Doug's recent tweet regarding this 
 change:http://twitter.com/dougw/status/1781551902

 As much as I hate for people to be upset with Twitter, I am partially
 happy to see I'm not the only one upset by this behavior change...  I
 could *swear* that show all @replies was the default at some point
 (maybe a long time ago when I joined).  Now my friend's timeline is
 just a closed loop, and for (at least) the power users and people that
 understood the setting, the timeline has gotten a lot less interesting
 to watch.

 I know I'm screaming into the wind... I'm just glad I'm not alone.

 -Chad


[twitter-dev] Re: all replies by friends

2009-05-11 Thread voorwiel

On May 10, 12:00 am, Abraham Williams 4bra...@gmail.com wrote:
 I would think that statuses/friends_timeline [1] would not be effected by
 @-reply settings [2]. If it is your only option is to use the search method
 you mentioned. The down side of this is protected accounts are not included.

Indeed it isn't affected by the setting. I wonder whether it is a
policy decision not to include statuses directed at non-friends in
statuses/friends_timeline. I'm actually hoping that it is not in the
otherwise excellent documentation simply because someone forgot to
include it :)

greetings, Jack

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Twitter Development Talk group.
To post to this group, send email to twitter-development-talk@googlegroups.com
To unsubscribe from this group, send email to 
twitter-development-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/twitter-development-talk?hl=en
-~--~~~~--~~--~--~---



[twitter-dev] Re: all replies by friends

2009-05-11 Thread voorwiel

Thanks, I'm familiar with the setting.

Somehow the setting does not have any effect with the account I'm
testing with: not when logged in to twitter.com, and not when using
statuses/friends_timeline. Chad's posting made me do some tests with
two other accounts: there the setting works as it should.

The only difference between the accounts I can think of is that the
misbehaving account is the one I used when applying for a higher rate
limit (20,000). Could there be a relation?

thanks, Jack

On May 11, 8:38 pm, Doug Williams d...@twitter.com wrote:
 There is a setting to change this behavior:

 http://help.twitter.com/forums/23786/entries/14595

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw



 On Mon, May 11, 2009 at 10:44 AM, Chad Etzel jazzyc...@gmail.com wrote:

  I'm confused now.  I just pulled my friends_timeline and it is
  definitely showing @replies from my friends to people I don't follow.
  i.e. I'm getting the firehose as it pertains to my
  friends_timeline are you saying you're not seeing the same thing?

  -Chad

  On Mon, May 11, 2009 at 1:36 PM, voorwiel voorw...@gmail.com wrote:

   On May 10, 12:00 am, Abraham Williams 4bra...@gmail.com wrote:
   I would think that statuses/friends_timeline [1] would not be effected
  by
   @-reply settings [2]. If it is your only option is to use the search
  method
   you mentioned. The down side of this is protected accounts are not
  included.

   Indeed it isn't affected by the setting. I wonder whether it is a
   policy decision not to include statuses directed at non-friends in
   statuses/friends_timeline. I'm actually hoping that it is not in the
   otherwise excellent documentation simply because someone forgot to
   include it :)

   greetings, Jack


[twitter-dev] Re: all replies by friends

2009-05-11 Thread voorwiel

OK, thanks for the heads up.

On May 11, 11:30 pm, Doug Williams d...@twitter.com wrote:
 We have had a debate internally (today) where we have all but decided to
 remove this setting in the near future. I would not create any application
 that relied on this. Almost all of our users leave it at the default (only
 show @replies to people I follow) so the cost of maintaining the setting
 does not translate to value in the product.

 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw



 On Mon, May 11, 2009 at 12:57 PM, voorwiel voorw...@gmail.com wrote:

  Thanks, I'm familiar with the setting.

  Somehow the setting does not have any effect with the account I'm
  testing with: not when logged in to twitter.com, and not when using
  statuses/friends_timeline. Chad's posting made me do some tests with
  two other accounts: there the setting works as it should.

  The only difference between the accounts I can think of is that the
  misbehaving account is the one I used when applying for a higher rate
  limit (20,000). Could there be a relation?

  thanks, Jack

  On May 11, 8:38 pm, Doug Williams d...@twitter.com wrote:
   There is a setting to change this behavior:

  http://help.twitter.com/forums/23786/entries/14595

   Thanks,
   Doug
   --

   Doug Williams
   Twitter Platform Supporthttp://twitter.com/dougw

   On Mon, May 11, 2009 at 10:44 AM, Chad Etzel jazzyc...@gmail.com
  wrote:

I'm confused now.  I just pulled my friends_timeline and it is
definitely showing @replies from my friends to people I don't follow.
i.e. I'm getting the firehose as it pertains to my
friends_timeline are you saying you're not seeing the same thing?

-Chad

On Mon, May 11, 2009 at 1:36 PM, voorwiel voorw...@gmail.com wrote:

 On May 10, 12:00 am, Abraham Williams 4bra...@gmail.com wrote:
 I would think that statuses/friends_timeline [1] would not be
  effected
by
 @-reply settings [2]. If it is your only option is to use the search
method
 you mentioned. The down side of this is protected accounts are not
included.

 Indeed it isn't affected by the setting. I wonder whether it is a
 policy decision not to include statuses directed at non-friends in
 statuses/friends_timeline. I'm actually hoping that it is not in the
 otherwise excellent documentation simply because someone forgot to
 include it :)

 greetings, Jack


[twitter-dev] all replies by friends

2009-05-09 Thread voorwiel

Hi,
Is there a feature in the API to get all replies from an account's
friends in one single call? I'm trying to get a timeline similar to
what a web site user sees with Notices  @ Replies set to Show me all
@ replies.

A call to statuses/friends_timeline doesn't return replies to users
that the account is not following. As a workaround I'm now simply
fetching statuses/user_timeline.xml?user_id=123 for every friend. It
would be easier for me and less strain on the API server if I could
get them all in a single call.

Another workaround would be to query the search API with something
like from:user1 OR from:user2 [..]. Doable, but still messy...

thx, Jack


[twitter-dev] Re: all replies by friends

2009-05-09 Thread voorwiel

On May 9, 7:28 pm, Cameron Kaiser spec...@floodgap.com wrote:
  Is there a feature in the API to get all replies from an account's
  friends in one single call? I'm trying to get a timeline similar to
  what a web site user sees with Notices  @ Replies set to Show me all
  @ replies.

 Have you tried statuses/mentions?

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

No, because that's not what I'm looking for. Perhaps I shouldn't have
used the web site terminology ('replies'). I'm trying to get a
timeline with all statuses by friends of the authenticating user.
Basically statuses/friends_timeline + statuses directed at users
outside the circle of friends.

 This is dependent on the user's current settings, of course.

In my tests statuses/friends_timeline did not return all statuses, no
matter what the setting for @ Replies is. Please correct me if I'm
wrong.

cheers, Jack


[twitter-dev] double escape

2009-04-15 Thread voorwiel

Just in case the Twitter developers missed it: right now, 'dangerous'
characters such as  and  are being printed as amp;amp; and amp;gt;
in bio's on the web site. Doesn't look very nice.

Cheers!


[twitter-dev] Re: image upload with command line curl

2009-03-28 Thread voorwiel

The error was in my code. I finally got it working (man curl
helped...). So just in case someone stumbles upon this thread, this
works for me:

curl -u username:password
--header Expect: 
-F image=@/full/path/to/the/image.jpg
https://twitter.com/account/update_profile_background_image.json

All on one line. Note the header param and the -F (not -d).

On Mar 25, 5:45 pm, voorwiel voorw...@gmail.com wrote:
 Hi,
 I'm trying to set the background image of my account with PHP and a
 command line CURL string. Here's the code:

[snip]

 Is Twitter having upload issues, or is it my code?


[twitter-dev] image upload with command line curl

2009-03-25 Thread voorwiel

Hi,
I'm trying to set the background image of my account with PHP and a
command line CURL string. Here's the code:

$img = $_SERVER['DOCUMENT_ROOT'] . '/images/somefile.jpg';
$str = sprintf('curl -A \'%s\' -u %s:%s -d image=@%s
http://twitter.com/account/update_profile_background_image.json',
$user_agent, $username, $password, $img);
exec($str,  $fb);
print_r($fb);

Currently this shows me an error page with Something is technically
wrong.

Is Twitter having upload issues, or is it my code?


[twitter-dev] Re: image upload with command line curl

2009-03-25 Thread voorwiel

On Mar 25, 6:48 pm, Alex Payne a...@twitter.com wrote:
 Our image upload API methods have proven challenging, both due to our
 application servers running out of memory during the upload process
 and the confusion of just how to upload multipart data using various
 HTTP clients. Chances are good that, since you were using ol' reliable
 curl, the problem was on our end.

Thanks for the reply. I've indeed noticed many availability issues,
also when uploading images manually through the web site. Let's hope
you guys get a couple of extra data centers soon :)

For now I think I'll put this little project on the shelf.

--
Jack de Vries