[twitter-dev] Where to submit a bug report?

2010-10-19 Thread Joe Rattz
How do I report a bug?

I am seeing what appears to be a bug right now and it is reproducbble
in the Twitter Twurl.

What I am seeing is a discrepancy in the latest status returned with
the statuses/friends web service call.  Basically, the XML interface
works properly but the JSON one does not.  I have a specific user that
is not returning the latest status for JSON (but does for XML).

I am hoping that someone could take a look at this quickly (yeah,
right) since it is reproducible.  I also suspect the issue may be
related to the fact that the user I am seeing this happen to is set to
private.  My user account is an approved follower though.  As I said,
the webservice works for XML, but not for JSON.

-- 
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: Where to submit a bug report?

2010-10-19 Thread Joe Rattz
The statuses/friends method was specifically recommended to me to work
around the RateLimit problem I was having.  I don't know any other way
to get the statuses of approximately 60 users every minute when my app
is behind a firewall (preventing OAuth authentication for each
individual user).  So I use my app's access token/secret to get my
friends (and their most recent status).

I can't use the statuses/user_timeline because of basic auth going
away and OAuth requiring a callback to my server all due to rate
limiting and my inablity to get whitelisted.

Besides, what is the point of having an API method if it isn't
reliable (even when it successfully makes the call)?


On Oct 19, 3:55 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Joe,

 This is likely a caching sync issue. You can report bugs 
 tohttp://code.google.com/p/twitter-api/issues/list

 I personally recommend avoiding statuses/friends as it's more of a legacy
 method than other means of discovering the same information. I personally
 recommend using friends/ids and users/lookup in conjunction with each other
 instead. While there's a best-effort to provide the most recent status in
 embedded user objects, the definitive means to determine this is by getting
 the most recent tweet from the user's statuses/user_timeline

 Taylor



 On Tue, Oct 19, 2010 at 12:41 PM, Joe Rattz joeratt...@gmail.com wrote:
  How do I report a bug?

  I am seeing what appears to be a bug right now and it is reproducbble
  in the Twitter Twurl.

  What I am seeing is a discrepancy in the latest status returned with
  the statuses/friends web service call.  Basically, the XML interface
  works properly but the JSON one does not.  I have a specific user that
  is not returning the latest status for JSON (but does for XML).

  I am hoping that someone could take a look at this quickly (yeah,
  right) since it is reproducible.  I also suspect the issue may be
  related to the fact that the user I am seeing this happen to is set to
  private.  My user account is an approved follower though.  As I said,
  the webservice works for XML, but not for JSON.

  --
  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- Hide quoted text -

 - Show quoted text -

-- 
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 test for one user following another

2010-10-19 Thread Joe Rattz
I am not doing it from the command line with Twurl.  I am doing it
from the Twurl Console that you provide and it doesn't work.

On Oct 7, 8:06 pm, Thomas Mango tsma...@gmail.com wrote:
 I apologize, I was actually saying that you should specify both the
 source and the target. It was my understanding you needed both, but it
 looks like when you make an authenticated request (like you do with
 twurl), you can specify just the target.

 With that said, I was able to use twurl and specify only the target and
 get it to work:

 twurl /friendships/show.xml?target_screen_name=Alternate1985

 This used my authenticated user, @tsmango, as the source and gave me the
 proper response. Is that what your twurl call looked like?

 Also, if you don't quote the query, you'll have problems with multiple
 parameters:

 This one works:
 twurl
 /friendships/show.xml?source_screen_name=samvermettetarget_screen_name=Al­ternate1985

 But this one fails with the error you were receiving:
 twurl
 /friendships/show.xml?source_screen_name=samvermettetarget_screen_name=Alt­ernate1985

 Hope that helps and sorry again for the confusion about needed to
 specify the source.





 JoeRattzwrote:
  That doesn't work either:

  hash
     request/1/friendships/show.xml/request
     errorTarget user not specified./error
  /hash

  That's right from Twurl despite the fact that I provided both the
  source_screen_name and target_screen_name.

  Besides, why shouldn't the other two methods work?  They are
  documented methods.

  On Oct 7, 7:09 pm, Thomas Mangotsma...@gmail.com  wrote:
  You should be providing both the source and a target user to the
  /friendships/show method.

  You can use source_id  target_id or source_screen_name
  target_screen_name with /friendships/show.

  Here's the API 
  documentation:http://dev.twitter.com/doc/get/friendships/show

  JoeRattzwrote:
  I would like to determine if my registered application's user is
  following another user.
  First I tried friendships/show with a target_screen_name = someuser
  and get this error:
  hash
      request/1/friendships/show.xml/request
      errorTarget user not specified./error
  /hash
  Then I tried friendships/show with user_a = myusername and user_b =
  someuser and get this error:
  hash
      request/1/friendships/exists.xml/request
      errorTwo user ids or screen_names must be supplied./error
  /hash
  I would prefer to use the show method and without having to specify my
  application's user's username.
  These are both using the Twulr Console.  What am I missing?
  Thanks.
  --
  Thomas Mango
  tsma...@gmail.com- Hide quoted text -

  - Show quoted text -

 --
 Thomas Mango
 tsma...@gmail.com- Hide quoted text -

 - Show quoted text -

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


[twitter-dev] How to test for one user following another

2010-10-07 Thread Joe Rattz
I would like to determine if my registered application's user is
following another user.

First I tried friendships/show with a target_screen_name = someuser
and get this error:

hash
  request/1/friendships/show.xml/request
  errorTarget user not specified./error
/hash


Then I tried friendships/show with user_a = myusername and user_b =
someuser and get this error:

hash
  request/1/friendships/exists.xml/request
  errorTwo user ids or screen_names must be supplied./error
/hash

I would prefer to use the show method and without having to specify my
application's user's username.

These are both using the Twulr Console.  What am I missing?

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 test for one user following another

2010-10-07 Thread Joe Rattz
That doesn't work either:

hash
  request/1/friendships/show.xml/request
  errorTarget user not specified./error
/hash

That's right from Twurl despite the fact that I provided both the
source_screen_name and target_screen_name.

Besides, why shouldn't the other two methods work?  They are
documented methods.


On Oct 7, 7:09 pm, Thomas Mango tsma...@gmail.com wrote:
 You should be providing both the source and a target user to the
 /friendships/show method.

 You can use source_id  target_id or source_screen_name 
 target_screen_name with /friendships/show.

 Here's the API documentation:http://dev.twitter.com/doc/get/friendships/show





 Joe Rattz wrote:
  I would like to determine if my registered application's user is
  following another user.

  First I tried friendships/show with a target_screen_name = someuser
  and get this error:

  hash
     request/1/friendships/show.xml/request
     errorTarget user not specified./error
  /hash

  Then I tried friendships/show with user_a = myusername and user_b =
  someuser and get this error:

  hash
     request/1/friendships/exists.xml/request
     errorTwo user ids or screen_names must be supplied./error
  /hash

  I would prefer to use the show method and without having to specify my
  application's user's username.

  These are both using the Twulr Console.  What am I missing?

  Thanks.

 --
 Thomas Mango
 tsma...@gmail.com- Hide quoted text -

 - Show quoted text -

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