Re: [twitter-dev] Re: basic authentication not supported error

2011-02-11 Thread Taylor Singletary
I haven't done much Flash coding -- I know there are a few approaches to
coding in Flash and that there are OAuth libraries available.

You might want to check out this library:
http://code.google.com/p/oauth-as3/

Also, there's an AIR-based open source project called Spaz that you can look
at, though it may be far from what you're wanting:
https://github.com/funkatron/spaz-desktop-air

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


On Thu, Feb 10, 2011 at 7:36 AM, nite21 shanebond1...@gmail.com wrote:

 hi taylor and paresh
 i am creating a slideshow of 40 users recent tweet one after another
 in flash
 now some of them show when i ctrl enter and some of them dont
 some of this give me this error
 errors
 error code=53Basic authentication is not supported/error
 /errors
 im using this code
 loadTwitterXML(http://api.twitter.com/1/statuses/user_timeline.xml?
 screen_name=+listArr[twitcount]);
 how to use oauth to show usertimeline

 thanks

 On Feb 10, 8:09 pm, Taylor Singletary taylorsinglet...@twitter.com
 wrote:
  As Paresh mentioned,
 
  Your URL needs to be:
a) pointed to the *api* subdomain
b) versioned -- always *1* at this time
c) specifying a format - usually either *json* or *xml*
  And should use:
a) the screen_name parameter instead of an interpolated URI element to
  avoid issues with all-integer screen names.
  *
  *
  In your case you want to issue a GET to this URL instead:
  *http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=shane.
 ..
  *
  *
  *
  Taylor
  *
  *
  @episod http://twitter.com/episod - Taylor Singletary - Twitter
 Developer
  Advocate
 
  On Thu, Feb 10, 2011 at 3:30 AM, Paresh Nakhe paresh.na...@gmail.com
 wrote:
 
 
 
 
 
 
 
   Are you using twitteroauth library?
 
   Also, the url should be like
  http://api.twitter.com/1/statuses/user_timeline/sh...82
   Atleast i am using this and it works for me.
 
   On Thu, Feb 10, 2011 at 3:44 PM, nite21 shanebond1...@gmail.com
 wrote:
 
   hi all
   im loading twitter xml data and showing it in flash
   when i load this xml to get data
  http://twitter.com/statuses/user_timeline/shanebond1982
   i am getting this error basic authentication not supported error
 
   is there any other method to get the usertimeline data
 
   pls help
   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
 
   --
   *What I have is not a dream, because I will make it a reality.*
 
--
   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: basic authentication not supported error

2011-02-10 Thread nite21
hi taylor and paresh
i am creating a slideshow of 40 users recent tweet one after another
in flash
now some of them show when i ctrl enter and some of them dont
some of this give me this error
errors
error code=53Basic authentication is not supported/error
/errors
im using this code
loadTwitterXML(http://api.twitter.com/1/statuses/user_timeline.xml?
screen_name=+listArr[twitcount]);
how to use oauth to show usertimeline

thanks

On Feb 10, 8:09 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 As Paresh mentioned,

 Your URL needs to be:
   a) pointed to the *api* subdomain
   b) versioned -- always *1* at this time
   c) specifying a format - usually either *json* or *xml*
 And should use:
   a) the screen_name parameter instead of an interpolated URI element to
 avoid issues with all-integer screen names.
 *
 *
 In your case you want to issue a GET to this URL instead:
 *http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=shane...
 *
 *
 *
 Taylor
 *
 *
 @episod http://twitter.com/episod - Taylor Singletary - Twitter Developer
 Advocate

 On Thu, Feb 10, 2011 at 3:30 AM, Paresh Nakhe paresh.na...@gmail.comwrote:







  Are you using twitteroauth library?

  Also, the url should be like
 http://api.twitter.com/1/statuses/user_timeline/sh...82
  Atleast i am using this and it works for me.

  On Thu, Feb 10, 2011 at 3:44 PM, nite21 shanebond1...@gmail.com wrote:

  hi all
  im loading twitter xml data and showing it in flash
  when i load this xml to get data
 http://twitter.com/statuses/user_timeline/shanebond1982
  i am getting this error basic authentication not supported error

  is there any other method to get the usertimeline data

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

  --
  *What I have is not a dream, because I will make it a reality.*

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