[twitter-dev] Re: tool to let you know when twitter name is available

2009-06-25 Thread Vinayak Joshi
Hi Doug
I tried the process suggested by you and this is the reply that I got:


Hi Vinayak Joshi,

You can change your user name at any time here:
http://admin.twitter.com/account/settings

Your messages, replies and content will not be affected, but we do recommend
that that you let your followers know about the name change with a tweet.

Twitter is not currently releasing inactive user names. Unless your user
name issue involves Terms of Service violations, you'll have to wait until
all inactive user names are released. We're working on a better long term
solution for this, and we should have more news soon.

* If your user name request concerns impersonation, trademark infringement,
copyright, or another Terms of Service violation, please submit a request to
the Terms of Service group via the web form. Be sure to pick the right item
from the drop down box for expedited help. Keep in mind that if there is no
content and no intent to mislead, there is most likely no infringement.

If you're unable to use our web form, please send your request to
te...@twitter.com for help from our Terms of Service group.

Thanks!
Twitter Support



What do we do now?


Regards

Vinayak

On Thu, Jun 25, 2009 at 1:24 AM, Doug Williams d...@twitter.com wrote:

 Idle and deleted are the same in our process. So nine months of inactivity
 (deletion, suspension, or date of last login/tweet) is required before we
 release a screen name.

 Thanks,
 Doug




 On Wed, Jun 24, 2009 at 11:49 AM, sull sullele...@gmail.com wrote:


 9 months?  wow.
 What about reported spammers/squatters?
 Do you look at analytics of signups to see if automated software was
 involved?
 Do you cross-check email domains used?

 So an account that has been sitting idle since 2007 with a single post
 that might get deleted at some point will get an additional 9 months
 to reclaim it and sit on it for another x months/years?


 On Jun 24, 2:36 pm, Doug Williams d...@twitter.com wrote:
  No, we do not delete the ID in the system. We will release the
 screen_name
  after a 9 month grace period (to allow the user to reclaim the
 screen_name)
  before recycling it to the public.
 
  Thanks,
  Doug
 
  On Wed, Jun 24, 2009 at 11:13 AM, TechRavingMad 
 techraving...@gmail.comwrote:
 
 
 
   When you do delete, do you just delete the username and leave the ID
   as deleted status?
 
   I guess basically what I'm asking is that you don't recycle user ID's
   do you?





[twitter-dev] search ban reversal?

2009-06-25 Thread Ninjamonk

Hey, I have a app that posts to twitter with a hash tag. I didn't
realise you actually banned (removed) these accounts from search.

My question is this, if I remove the hashtags will the results start
to show up in the results again or do you have to remove it?

I was about to built an ajax widget using the search api but can't do
this if there are no search results for it.

This is not spam and is valid use of the hashtag.

Let me know what I can do as this app is being released on Monday next
week.

Kind Regards

Darren


[twitter-dev] Re: search ban reversal?

2009-06-25 Thread Ninjamonk

sorry bit more info, looking at this there are others using the same
hashtags in everypost and they are coming up in the results?

The hashtag is #startup and the acccount is startupticker

Also if there is a limit/rules can we have it documented on the wiki
please, I didn't find anything on it there.

Kind Regards

Darren

On Jun 25, 10:33 am, Ninjamonk dar...@stuartmedia.co.uk wrote:
 Hey, I have a app that posts to twitter with a hash tag. I didn't
 realise you actually banned (removed) these accounts from search.

 My question is this, if I remove the hashtags will the results start
 to show up in the results again or do you have to remove it?

 I was about to built an ajax widget using the search api but can't do
 this if there are no search results for it.

 This is not spam and is valid use of the hashtag.

 Let me know what I can do as this app is being released on Monday next
 week.

 Kind Regards

 Darren


[twitter-dev] Re: search ban reversal?

2009-06-25 Thread Abraham Williams

http://help.twitter.com/forums/10713/entries/42646

On Thu, Jun 25, 2009 at 04:38, Ninjamonkdar...@stuartmedia.co.uk wrote:

 sorry bit more info, looking at this there are others using the same
 hashtags in everypost and they are coming up in the results?

 The hashtag is #startup and the acccount is startupticker

 Also if there is a limit/rules can we have it documented on the wiki
 please, I didn't find anything on it there.

 Kind Regards

 Darren

 On Jun 25, 10:33 am, Ninjamonk dar...@stuartmedia.co.uk wrote:
 Hey, I have a app that posts to twitter with a hash tag. I didn't
 realise you actually banned (removed) these accounts from search.

 My question is this, if I remove the hashtags will the results start
 to show up in the results again or do you have to remove it?

 I was about to built an ajax widget using the search api but can't do
 this if there are no search results for it.

 This is not spam and is valid use of the hashtag.

 Let me know what I can do as this app is being released on Monday next
 week.

 Kind Regards

 Darren



-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] A new Twitter library for Python (Tango)

2009-06-25 Thread Ryan McGrath

Hey all,

I've been working on a Twitter library for Python in my spare time.
It's the first library I've written in full for the language, so I'm
sure there's quite a few things that could be improved, but I think
I've gotten it to a point where I can throw it out there and see if
anyone's interested in it.

It covers the REST API and the Search API at the moment. I'm working
on OAuth support, and I haven't had time to look at the Streaming API
stuff in-depth yet, but I'd like to hit that at some point as well.
There's still a lot of other small pieces that I want to add which
would respect the API more, but it's usable in its current state.

There's an experimental build for Python 3k as well, if anyone's into
that sort of thing. I wouldn't consider either of these fully
production-ready yet, but feel free to use it however you want. I'd
really appreciate it if anyone could check it out at the following
link and critique it.

http://github.com/ryanmcgrath/tango/tree/master

It's somewhat inspired by Python-Twitter (http://code.google.com/p/
python-twitter/), but I'd say it's a little more simplistic overall.
It requires people to be familiar with the Twitter API itself, so you
can't just blindly use the library. I consider this a good thing, but
some others might not. ;)


[twitter-dev] Help with Desktop Application (?)

2009-06-25 Thread lanlim

Hi,

Using the new OAuth Implementation, users need not put his/her login
credentials to your application. If ever i would want my application
to be able to post status updates on a user's behalf, what do i need
to do?

If i set the Desktop Application to the type of application at
http://twitter.com/oauth_clients, and i allow my application to access
my account using the http://twitter.com/oauth/authorize; link,
Twitter returns a 6 digit PIN.

How do i use that PIN in order to post tweets on behalf of my users?

Thanks
-Lance Lim


[twitter-dev] Need Twitter Developer to help me New York City

2009-06-25 Thread Postcard

After a disastrous experience using Rentacoder, I am going local to
build a prototype and am seeking a developer based in new york city
who is experienced in interfacing with twitter.

I am looking for an individual who will provide the technical vision
to my product vision. Someone who is well-versed in new and emerging
web technologies and standards - and an excellent collaborator.

If this resonates with you, let’s talk. send me a a few words about
yourself, your projects and passions.

Thanks
JF


[twitter-dev] issue with simple xml load file + twitter search API

2009-06-25 Thread jey jey

Hello

I am tring to do a Api call using simple xml and twitter search API.
Whwn I am trying to do so i am gettng the following errors

Message: simplexml_load_file(http://search.twitter.com/search.atom?q=
%40southwestair) [function.simplexml-load-file]: failed to open
stream: HTTP request failed! HTTP/1.1 400 Bad Request

Message: simplexml_load_file() [function.simplexml-load-file]: I/O
warning : failed to load external entity http://search.twitter.com/
search.atom?q=%40southwestair

here is the code that I am using for

$brand = southwestair;
$searchUrl = 
http://search.twitter.com/search.atom?q=%40.$brand;
$results   = simplexml_load_file($searchUrl);
$entry  = $results-entry;
//$result  = $this-twitter-search($brand);
$count  = 0;
print_r($entry);

I am using Amazone aws server, PHP 5.2 version, in my server,
allow_url_fopen is ON

But its working in my local machine giving the results.

Could please look in to this issu, let me know whats wrong with me

thanks

j0ban
http://phpqa.blogspot.com








[twitter-dev] Re: Help with Desktop Application (?)

2009-06-25 Thread Abraham Williams

That PIN can be used to get an access token that should be saved and
allows you to act as that user.

Read more: http://apiwiki.twitter.com/OAuth-FAQ
And: http://apiwiki.twitter.com/Authentication (Desktop Clients part)

Abraham

On Thu, Jun 25, 2009 at 03:27, lanlimlan.lim...@gmail.com wrote:

 Hi,

 Using the new OAuth Implementation, users need not put his/her login
 credentials to your application. If ever i would want my application
 to be able to post status updates on a user's behalf, what do i need
 to do?

 If i set the Desktop Application to the type of application at
 http://twitter.com/oauth_clients, and i allow my application to access
 my account using the http://twitter.com/oauth/authorize; link,
 Twitter returns a 6 digit PIN.

 How do i use that PIN in order to post tweets on behalf of my users?

 Thanks
 -Lance Lim




-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: issue with simple xml load file + twitter search API

2009-06-25 Thread Mandakini kumari
Hi
Please add

 ini_set('allow_url_fopen','On');

in beginning of script.



On Thu, Jun 25, 2009 at 12:12 PM, jey jey jobanj...@gmail.com wrote:


 Hello

 I am tring to do a Api call using simple xml and twitter search API.
 Whwn I am trying to do so i am gettng the following errors

 Message: simplexml_load_file(http://search.twitter.com/search.atom?q=
 %40southwestairhttp://search.twitter.com/search.atom?q=%0A%40southwestair)
 [function.simplexml-load-file]: failed to open
 stream: HTTP request failed! HTTP/1.1 400 Bad Request

 Message: simplexml_load_file() [function.simplexml-load-file]: I/O
 warning : failed to load external entity http://search.twitter.com/
 search.atom?q=%40southwestairhttp://search.twitter.com/%0Asearch.atom?q=%40southwestair
 

 here is the code that I am using for

$brand = southwestair;
$searchUrl = http://search.twitter.com/search.atom?q=%40
 .$brand;
$results   = simplexml_load_file($searchUrl);
$entry  = $results-entry;
//$result  = $this-twitter-search($brand);
$count  = 0;
print_r($entry);

 I am using Amazone aws server, PHP 5.2 version, in my server,
 allow_url_fopen is ON

 But its working in my local machine giving the results.

 Could please look in to this issu, let me know whats wrong with me

 thanks

 j0ban
 http://phpqa.blogspot.com









-- 
Regards
Mandakini


[twitter-dev] Re: Need Twitter Developer to help me New York City

2009-06-25 Thread Admin_Gen


Why twitter ?
There is a subsequent number of options. Watch out that site where I
added the last message (bob saint clar).
http://mashable.com/2007/07/25/open-source-social-platforms/?dsq=11452830#comment-11452830

Why twitter and not facebook, or other ? Why that choice ?
Is it what your body is telling you, or did that choice come from a
structured analysis.
http://online.wsj.com/article/SB124571709339739367.html

Thank you for your reply.
Bob





[twitter-dev] Re: search ban reversal?

2009-06-25 Thread Ninjamonk

ok that was next to useless and the ticket was closed without the
person actually paying attention to what I wrote.

Any suggestions? is there a developer support system?

Kind Regards

Darren

On Jun 25, 1:20 pm, Ninjamonk dar...@stuartmedia.co.uk wrote:
 ta, I have put a ticket in.

 On Jun 25, 1:07 pm, Abraham Williams 4bra...@gmail.com wrote:



 http://help.twitter.com/requests/portal/new

  On Thu, Jun 25, 2009 at 06:58, Ninjamonkdar...@stuartmedia.co.uk wrote:

   cool thanks for the link, should be on the api page too.

   Now how do I get myself unbanned?

   Cheers
   Darren

   On Jun 25, 12:34 pm, Abraham Williams 4bra...@gmail.com wrote:
  http://help.twitter.com/forums/10713/entries/42646

   On Thu, Jun 25, 2009 at 04:38, Ninjamonkdar...@stuartmedia.co.uk wrote:

sorry bit more info, looking at this there are others using the same
hashtags in everypost and they are coming up in the results?

The hashtag is #startup and the acccount is startupticker

Also if there is a limit/rules can we have it documented on the wiki
please, I didn't find anything on it there.

Kind Regards

Darren

On Jun 25, 10:33 am, Ninjamonk dar...@stuartmedia.co.uk wrote:
Hey, I have a app that posts to twitter with a hash tag. I didn't
realise you actually banned (removed) these accounts from search.

My question is this, if I remove the hashtags will the results start
to show up in the results again or do you have to remove it?

I was about to built an ajax widget using the search api but can't do
this if there are no search results for it.

This is not spam and is valid use of the hashtag.

Let me know what I can do as this app is being released on Monday next
week.

Kind Regards

Darren

   --
   Abraham Williams | Community Evangelist |http://web608.org
   Hacker |http://abrah.am|http://twitter.com/abraham
   Project |http://fireeagle.labs.poseurtech.com
   This email is: [ ] blogable [x] ask first [ ] private.

  --
  Abraham Williams | Community Evangelist |http://web608.org
  Hacker |http://abrah.am|http://twitter.com/abraham
  Project |http://fireeagle.labs.poseurtech.com
  This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: issue with simple xml load file + twitter search API

2009-06-25 Thread Matt Sanford


Hi there,

If you're accessing search.twitter.com from AWS please set the  
User-Agent header to something meaningful, like the name of your  
website or service. Without a User-Agent you will see 400s when  
accessing from AWS.


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

On Jun 24, 2009, at 11:42 PM, jey jey wrote:



Hello

I am tring to do a Api call using simple xml and twitter search API.
Whwn I am trying to do so i am gettng the following errors

Message: simplexml_load_file(http://search.twitter.com/search.atom?q=
%40southwestair) [function.simplexml-load-file]: failed to open
stream: HTTP request failed! HTTP/1.1 400 Bad Request

Message: simplexml_load_file() [function.simplexml-load-file]: I/O
warning : failed to load external entity http://search.twitter.com/
search.atom?q=%40southwestair

here is the code that I am using for

   $brand = southwestair;
$searchUrl = 
http://search.twitter.com/search.atom?q=%40.$brand;
$results   = simplexml_load_file($searchUrl);
$entry  = $results-entry;
//$result  = $this-twitter-search($brand);
$count  = 0;
print_r($entry);

I am using Amazone aws server, PHP 5.2 version, in my server,
allow_url_fopen is ON

But its working in my local machine giving the results.

Could please look in to this issu, let me know whats wrong with me

thanks

j0ban
http://phpqa.blogspot.com










[twitter-dev] Whoa there error after Oauth authorization.

2009-06-25 Thread mruhlin

We're testing an app and have seen some strange behavior after
OAuthing.  The user goes through the norma OAuth process just fine,
closes our tab and then just opens up a new tab to www.twitter.com.
Once they login they're redirected to http://twitter.com/oauth/authorize,
which shows an error.

Anybody else seen this?


[twitter-dev] Re: search ban reversal?

2009-06-25 Thread Abraham Williams

You could try emailing a...@twitter.com. I don't know if they will be
able to help you though.

On Thu, Jun 25, 2009 at 09:15, Ninjamonkdar...@stuartmedia.co.uk wrote:

 ok that was next to useless and the ticket was closed without the
 person actually paying attention to what I wrote.

 Any suggestions? is there a developer support system?

 Kind Regards

 Darren

 On Jun 25, 1:20 pm, Ninjamonk dar...@stuartmedia.co.uk wrote:
 ta, I have put a ticket in.

 On Jun 25, 1:07 pm, Abraham Williams 4bra...@gmail.com wrote:



 http://help.twitter.com/requests/portal/new

  On Thu, Jun 25, 2009 at 06:58, Ninjamonkdar...@stuartmedia.co.uk wrote:

   cool thanks for the link, should be on the api page too.

   Now how do I get myself unbanned?

   Cheers
   Darren

   On Jun 25, 12:34 pm, Abraham Williams 4bra...@gmail.com wrote:
  http://help.twitter.com/forums/10713/entries/42646

   On Thu, Jun 25, 2009 at 04:38, Ninjamonkdar...@stuartmedia.co.uk 
   wrote:

sorry bit more info, looking at this there are others using the same
hashtags in everypost and they are coming up in the results?

The hashtag is #startup and the acccount is startupticker

Also if there is a limit/rules can we have it documented on the wiki
please, I didn't find anything on it there.

Kind Regards

Darren

On Jun 25, 10:33 am, Ninjamonk dar...@stuartmedia.co.uk wrote:
Hey, I have a app that posts to twitter with a hash tag. I didn't
realise you actually banned (removed) these accounts from search.

My question is this, if I remove the hashtags will the results start
to show up in the results again or do you have to remove it?

I was about to built an ajax widget using the search api but can't do
this if there are no search results for it.

This is not spam and is valid use of the hashtag.

Let me know what I can do as this app is being released on Monday 
next
week.

Kind Regards

Darren

   --
   Abraham Williams | Community Evangelist |http://web608.org
   Hacker |http://abrah.am|http://twitter.com/abraham
   Project |http://fireeagle.labs.poseurtech.com
   This email is: [ ] blogable [x] ask first [ ] private.

  --
  Abraham Williams | Community Evangelist |http://web608.org
  Hacker |http://abrah.am|http://twitter.com/abraham
  Project |http://fireeagle.labs.poseurtech.com
  This email is: [ ] blogable [x] ask first [ ] private.



-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: Need Twitter Developer to help me New York City

2009-06-25 Thread Jean-Francois Gagne
hi Bob

Thanks for your links. Here are my answers:

Twitter is - I think - the best vehicle for what I want to achieve, users
generated sitcoms. Here's the definition that I have set on
www.twitter.com/twitcom

- For a given location and a given time slot, a *selected* small number of
people (the Cast) will be exchanging.
- The content will mostly be text (ie line of 140 char) but can include
images (fed ie through TwitPic).
- It is a real time exchange but would ideally been prepared
- These events are scheduled

The platform is Twitcom.com for each episode. Twitter ' followers' can
comment as the episode evolve but the comments are not part of teh sitcom
exchange.
Each twitcom episode is sponsored for the duration for its duration.
(commercial breaks would break the momentum)

I take your point that inputs could come from other social platforms ie
Facebook, YouTube but it complexify something that is rather simple (?)

Voila in short the project. Let me know your thoughts

On another note, your profile lists the email *
gest...@fiduciairegenerale.com* gest...@fiduciairegenerale.com so you
might spreak french (?)
thanks http://www.linkedin.com/pub/jean-francois-gagn%C3%A9/0/3b5/585
Jean-Francois

On Thu, Jun 25, 2009 at 10:03 AM, Admin_Gen
gest...@fiduciairegenerale.comwrote:



 Why twitter ?
 There is a subsequent number of options. Watch out that site where I
 added the last message (bob saint clar).

 http://mashable.com/2007/07/25/open-source-social-platforms/?dsq=11452830#comment-11452830

 Why twitter and not facebook, or other ? Why that choice ?
 Is it what your body is telling you, or did that choice come from a
 structured analysis.
 http://online.wsj.com/article/SB124571709339739367.html

 Thank you for your reply.
 Bob






[twitter-dev] Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

Apologies for the double post. I was using the wrong google account
before.

http://www.aponetworks.com/dumpurge/index.html

Take a look at the source code here. PLEASE!

I keep getting an 401 unauthorised when I try to access anything on
twitter.

Please help - I've followed all the tutorials - this really should be
working and it is not...

Is there a time delay between when you reecive your application
tokens / secret to when they become active?

Kind regards,

Obrzut


[twitter-dev] Desperate for Help! Twitter API Blues...

2009-06-25 Thread catcalls

Hi,

http://www.aponetworks.com/dumpurge/index.html

This is a link to the source code so far. It has my Keys / Tokens I
received from Twitter in it.

I customised a C# Class into a VB.NET class of my own. I also imported
the standard C# OAuth DLL into the program to use.

I still get an 401 Unauthorised when using this source code and I am
really unsure why!?

I cannot even view pages that do not require authorisation! Haha.

This sucks - OAuth sucks - How am I supposed to view a simple xml page
on twitter? I have followed all the tutorials to the letter and even
copied loads of custom Twitter API code into my program and it STILL
DOES NOT WORK!

I am going out my box on this one guys. Srsly, some one take a look at
the files and offer some help!


[twitter-dev] Re: Following/Follower delay

2009-06-25 Thread Doug Williams
Randy,
We're still working on the fix and this is currently the top priority of the
services team. It's a pretty extensive code deployment so it is taking some
time.

Thanks,
Doug


On Thu, Jun 25, 2009 at 5:27 AM, RandyC bioscienceupda...@gmail.com wrote:


 After about 14 hours since the fix was issued (http://
 status.twitter.com/post/129574488/update-on-follower-following-
 problems) I still have a number of accounts that appear out of synch.
 Is the fix still working its way through the system or should we begin
 to report accounts that still don't match between their social graph
 id lists and what the web based view of the account is reporting?

 Thanks.



[twitter-dev] Re: tool to let you know when twitter name is available

2009-06-25 Thread Doug Williams
From that message, our policy of releasing screen names has clearly changed.
Do you have a trademark you are attempting to claim?

Thanks,
Doug



On Thu, Jun 25, 2009 at 12:12 AM, Vinayak Joshi vinayak.jo...@gmail.comwrote:

 Hi Doug
 I tried the process suggested by you and this is the reply that I got:
 

 Hi Vinayak Joshi,

 You can change your user name at any time here:
 http://admin.twitter.com/account/settings

 Your messages, replies and content will not be affected, but we do
 recommend that that you let your followers know about the name change with a
 tweet.

 Twitter is not currently releasing inactive user names. Unless your user
 name issue involves Terms of Service violations, you'll have to wait until
 all inactive user names are released. We're working on a better long term
 solution for this, and we should have more news soon.

 * If your user name request concerns impersonation, trademark infringement,
 copyright, or another Terms of Service violation, please submit a request to
 the Terms of Service group via the web form. Be sure to pick the right item
 from the drop down box for expedited help. Keep in mind that if there is no
 content and no intent to mislead, there is most likely no infringement.

 If you're unable to use our web form, please send your request to
 te...@twitter.com for help from our Terms of Service group.

 Thanks!
 Twitter Support

 

 What do we do now?


 Regards

 Vinayak

 On Thu, Jun 25, 2009 at 1:24 AM, Doug Williams d...@twitter.com wrote:

 Idle and deleted are the same in our process. So nine months of inactivity
 (deletion, suspension, or date of last login/tweet) is required before we
 release a screen name.

 Thanks,
 Doug




 On Wed, Jun 24, 2009 at 11:49 AM, sull sullele...@gmail.com wrote:


 9 months?  wow.
 What about reported spammers/squatters?
 Do you look at analytics of signups to see if automated software was
 involved?
 Do you cross-check email domains used?

 So an account that has been sitting idle since 2007 with a single post
 that might get deleted at some point will get an additional 9 months
 to reclaim it and sit on it for another x months/years?


 On Jun 24, 2:36 pm, Doug Williams d...@twitter.com wrote:
  No, we do not delete the ID in the system. We will release the
 screen_name
  after a 9 month grace period (to allow the user to reclaim the
 screen_name)
  before recycling it to the public.
 
  Thanks,
  Doug
 
  On Wed, Jun 24, 2009 at 11:13 AM, TechRavingMad 
 techraving...@gmail.comwrote:
 
 
 
   When you do delete, do you just delete the username and leave the ID
   as deleted status?
 
   I guess basically what I'm asking is that you don't recycle user ID's
   do you?






[twitter-dev] Re: A new Twitter library for Python (Tango)

2009-06-25 Thread Doug Williams
I'll add it to the libraries section today. Thanks for contributing!

Thanks,
Doug



On Thu, Jun 25, 2009 at 5:25 AM, Ninjamonk dar...@stuartmedia.co.uk wrote:


 great work, I am playing with it now. I am going to see if it works
 with GAE.

 you should get it added here http://apiwiki.twitter.com/Libraries

 On Jun 25, 7:51 am, Ryan McGrath ryan.mcgra...@gmail.com wrote:
  Hey all,
 
  I've been working on a Twitter library for Python in my spare time.
  It's the first library I've written in full for the language, so I'm
  sure there's quite a few things that could be improved, but I think
  I've gotten it to a point where I can throw it out there and see if
  anyone's interested in it.
 
  It covers the REST API and the Search API at the moment. I'm working
  on OAuth support, and I haven't had time to look at the Streaming API
  stuff in-depth yet, but I'd like to hit that at some point as well.
  There's still a lot of other small pieces that I want to add which
  would respect the API more, but it's usable in its current state.
 
  There's an experimental build for Python 3k as well, if anyone's into
  that sort of thing. I wouldn't consider either of these fully
  production-ready yet, but feel free to use it however you want. I'd
  really appreciate it if anyone could check it out at the following
  link and critique it.
 
  http://github.com/ryanmcgrath/tango/tree/master
 
  It's somewhat inspired by Python-Twitter (http://code.google.com/p/
  python-twitter/), but I'd say it's a little more simplistic overall.
  It requires people to be familiar with the Twitter API itself, so you
  can't just blindly use the library. I consider this a good thing, but
  some others might not. ;)



[twitter-dev] Search API: reliable link to web status

2009-06-25 Thread jesse

I've been browsing the archives and I believe I know the answer to
this, but want to confirm.

I'm about to start using the Search API to, obviously, collect tweets
and then store summaries of them grouped by matching terms. That will
give us some overview stats to display for users which we'd like for
them to be able to drill into to see individual tweets. At that point
we would like to make them status and the username clickable to take
the user to the original status message on the twitter.com .

The issue I'm seeing is that I can't reliably create that link
because:
1) users can change their screen names
2) there's no way to link directly to a tweet using it's status id

I also would rather not start over-using the normal API just to
recheck usernames to see if they've changed, especially since my
experience is that that's generally infrequent and eventually I'm
going to have a lot of cached user data.

Am I missing something?

Assuming not, and since I also imagine that click-throughs from my
site will be low, my current plan is to link to my site w/ the status
id, look it up in real-time, and redirect to the actualy twitter.com
status message.

Anyone have thoughts on that? Additionally, since I may be in a
position to provide that as a service, would that be something
whitelist-able if we made it publicly available?


[twitter-dev] web608 : architecture management abraham

2009-06-25 Thread Admin_Gen

Hi Abraham,
I had the chance to visit web608. I like the design, there is
something like the Benetton brand (that entry on the right-hand side
for the feedback postings with pop-in action linked. that is
prophetic !).

Architecture. I try to understand the process and principle map of
web608.

- connection : the USER is glad to get connected using twitter or
facebook.
- content flow in : do you get the content only through direct
posting, or do you get entries thanks to an entry flows.
- content organization and database structure : that main one, I did
not understand how we create a hierarchy.
- content flow out : I see you are using Addthis.com to publish the
content on third party websites.
- video content ? : getting problem with
http://web608.org/news/2009/06/20/drupalcampla-video-archive-oop-magic
- USER auto-recognition : that one might work using http://oauth.net/

Thank you Abraham for reply,

Robert Saint Clar
Bob


[twitter-dev] Re: Search API: reliable link to web status

2009-06-25 Thread Doug Williams
With one call to the statuses/show method [1] you could have all of the
information you need to construct the permanent URL.

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

Thanks,
Doug



On Thu, Jun 25, 2009 at 8:31 AM, jesse je...@mailchimp.com wrote:


 I've been browsing the archives and I believe I know the answer to
 this, but want to confirm.

 I'm about to start using the Search API to, obviously, collect tweets
 and then store summaries of them grouped by matching terms. That will
 give us some overview stats to display for users which we'd like for
 them to be able to drill into to see individual tweets. At that point
 we would like to make them status and the username clickable to take
 the user to the original status message on the twitter.com .

 The issue I'm seeing is that I can't reliably create that link
 because:
 1) users can change their screen names
 2) there's no way to link directly to a tweet using it's status id

 I also would rather not start over-using the normal API just to
 recheck usernames to see if they've changed, especially since my
 experience is that that's generally infrequent and eventually I'm
 going to have a lot of cached user data.

 Am I missing something?

 Assuming not, and since I also imagine that click-throughs from my
 site will be low, my current plan is to link to my site w/ the status
 id, look it up in real-time, and redirect to the actualy twitter.com
 status message.

 Anyone have thoughts on that? Additionally, since I may be in a
 position to provide that as a service, would that be something
 whitelist-able if we made it publicly available?



[twitter-dev] Re: web608 : architecture management abraham

2009-06-25 Thread Abraham Williams

On Thu, Jun 25, 2009 at 10:33, Admin_Gengest...@fiduciairegenerale.com wrote:

 Hi Abraham,
 I had the chance to visit web608. I like the design, there is
 something like the Benetton brand (that entry on the right-hand side
 for the feedback postings with pop-in action linked. that is
 prophetic !).

The feedback tab is provided by http://uservoice.com. A startup by a
friend of mine.


 Architecture. I try to understand the process and principle map of
 web608.

 - connection : the USER is glad to get connected using twitter or
 facebook.

I've had a few people complement the Facebook Connect integration. I
just checked and about 50% of users use one of FBConnect, OpenID, or
Sign in with Twitter. One click log in is wonderful. Currently there
is no way to bring your twitter friends with you but FBConnect lets
you invite your Facebook friends.

 - content flow in : do you get the content only through direct
 posting, or do you get entries thanks to an entry flows.

Most content is posted manually. Users who wish to can have their
Twitter feed auto pulled into: http://web608.org/twitter-stream.
Pretty soon events will auto-generated from Meetup.com ical feeds.

 - content organization and database structure : that main one, I did
 not understand how we create a hierarchy.

The database is completely handled by Drupal. If by hierarchy you are
referencing the groups that is handled by a Drupal module called
Organic Groups.

 - content flow out : I see you are using Addthis.com to publish the
 content on third party websites.

Based on AddThis's analytics nobody ever uses it. When users create
new content they have a choice to automatically tweet it and new
comments can be posted back to Facebook.

 - video content ? : getting problem with
 http://web608.org/news/2009/06/20/drupalcampla-video-archive-oop-magic

The Video was deleted from blip.tv and upload in a different location
for some reason. I updated the post. :-/

 - USER auto-recognition : that one might work using http://oauth.net/

Web608 has no auto-recognition beyond what FBConnect and SiwT provide.


 Thank you Abraham for reply,

 Robert Saint Clar
 Bob


The entire site is Drupal and while still rough around the edges is
coming together nicely.
I'm not quite sure if those are the answers you were looking for or not
Abraham


-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Failed to validate oauth signature and token

2009-06-25 Thread goodtest

Hi,
I am trying to follow the instructions of how to authenticate using
oauth, but for some reason, when i try to get request_token, I get
failed to validate signature and token.  I am not sure what I am
missing, can someone please take a second look at the following and
let me know is missing?

URL thats constructed:
GEThttp://twitter.com/oauth/
request_tokenoauth_consumer_key=Xz2BKOKObTzpLrMXxJo2wwoauth_nonce=blabla123oauth_signature_method=HMAC-
SHA1oauth_token=oauth_timestamp=1245887955090oauth_version=1.0

URL after encoding and adding oauth_signature
http%3A%2F%2Ftwitter.com%2Foauth%2Frequest_token%3Foauth_consumer_key
%3DXz2BKOKObTzpLrMXxJo2ww%26oauth_nonce
%3Dblabla123%26oauth_signature_method%3DHMAC-SHA1%26oauth_token%3D
%26oauth_timestamp%3D1245887955090%26oauth_version
%3D1.0%26oauth_signature%3D6odQgPJ5o%2FAuOIw0gt8CknlHIcc%3D


Failed to validate oauth signature and token


[twitter-dev] Re: Search API: reliable link to web status

2009-06-25 Thread jesse

Thanks for the quick reply, Doug. From that I would create:

http://twitter.com/dougw/status/1472669360

if you change your screen name, that link is going to break. If it
didn't, I'd be fine with the Search API since it include screen_names
and status ids.

Or am I being obtuse and missing something in the status/show call's
return value that is permanently linkable?


On Jun 25, 11:54 am, Doug Williams d...@twitter.com wrote:
 With one call to the statuses/show method [1] you could have all of the
 information you need to construct the permanent URL.

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

 Thanks,
 Doug



 On Thu, Jun 25, 2009 at 8:31 AM, jesse je...@mailchimp.com wrote:

  I've been browsing the archives and I believe I know the answer to
  this, but want to confirm.

  I'm about to start using the Search API to, obviously, collect tweets
  and then store summaries of them grouped by matching terms. That will
  give us some overview stats to display for users which we'd like for
  them to be able to drill into to see individual tweets. At that point
  we would like to make them status and the username clickable to take
  the user to the original status message on the twitter.com .

  The issue I'm seeing is that I can't reliably create that link
  because:
  1) users can change their screen names
  2) there's no way to link directly to a tweet using it's status id

  I also would rather not start over-using the normal API just to
  recheck usernames to see if they've changed, especially since my
  experience is that that's generally infrequent and eventually I'm
  going to have a lot of cached user data.

  Am I missing something?

  Assuming not, and since I also imagine that click-throughs from my
  site will be low, my current plan is to link to my site w/ the status
  id, look it up in real-time, and redirect to the actualy twitter.com
  status message.

  Anyone have thoughts on that? Additionally, since I may be in a
  position to provide that as a service, would that be something
  whitelist-able if we made it publicly available?


[twitter-dev] OAuth: Failed to validate oauth signature and token -please help

2009-06-25 Thread goodtest

Hi,
I am trying to follow the instructions of how to authenticate using
oauth, but for some reason, when i try to get request_token, I get
failed to validate signature and token.  I am not sure what I am
missing, can someone please take a second look at the following and
let me know is missing?

URL thats constructed:
GEThttp://twitter.com/oauth/
request_tokenoauth_consumer_key=Xz2BKOKObTzpLrMXxJo2wwoauth_nonce=blabla123oauth_signature_method=HMAC-
SHA1oauth_token=oauth_timestamp=1245887955090oauth_version=1.0

URL after encoding and adding oauth_signature
http%3A%2F%2Ftwitter.com%2Foauth%2Frequest_token%3Foauth_consumer_key
%3DXz2BKOKObTzpLrMXxJo2ww%26oauth_nonce
%3Dblabla123%26oauth_signature_method%3DHMAC-SHA1%26oauth_token%3D
%26oauth_timestamp%3D1245887955090%26oauth_version
%3D1.0%26oauth_signature%3D6odQgPJ5o%2FAuOIw0gt8CknlHIcc%3D


Failed to validate oauth signature and token


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Matt Sanford


Hi there,

Sorry for the trouble, but could you include the message you're  
getting in the body of that 401? Without the error message it's hard  
to tell what the problem is or where the source of all of this suck  
is. Thanks for the hostile tone though … it really got my morning going.


Thanks;
  — Matt Sanford / @mzsanford

On Jun 25, 2009, at 8:09 AM, catcalls wrote:



Hi,

http://www.aponetworks.com/dumpurge/index.html

This is a link to the source code so far. It has my Keys / Tokens I
received from Twitter in it.

I customised a C# Class into a VB.NET class of my own. I also imported
the standard C# OAuth DLL into the program to use.

I still get an 401 Unauthorised when using this source code and I am
really unsure why!?

I cannot even view pages that do not require authorisation! Haha.

This sucks - OAuth sucks - How am I supposed to view a simple xml page
on twitter? I have followed all the tutorials to the letter and even
copied loads of custom Twitter API code into my program and it STILL
DOES NOT WORK!

I am going out my box on this one guys. Srsly, some one take a look at
the files and offer some help!




[twitter-dev] Re: Search API: reliable link to web status

2009-06-25 Thread Doug Williams
It would break if I changed my screen name but that is a very rare case. If
your application depends deeply on these links not breaking, I'd suggest you
cache status objects for a day, and refresh the cache and links daily.

Thanks,
Doug



On Thu, Jun 25, 2009 at 9:07 AM, jesse je...@mailchimp.com wrote:


 Thanks for the quick reply, Doug. From that I would create:

 http://twitter.com/dougw/status/1472669360

 if you change your screen name, that link is going to break. If it
 didn't, I'd be fine with the Search API since it include screen_names
 and status ids.

 Or am I being obtuse and missing something in the status/show call's
 return value that is permanently linkable?


 On Jun 25, 11:54 am, Doug Williams d...@twitter.com wrote:
  With one call to the statuses/show method [1] you could have all of the
  information you need to construct the permanent URL.
 
  1.
 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0show
 
  Thanks,
  Doug
 
 
 
  On Thu, Jun 25, 2009 at 8:31 AM, jesse je...@mailchimp.com wrote:
 
   I've been browsing the archives and I believe I know the answer to
   this, but want to confirm.
 
   I'm about to start using the Search API to, obviously, collect tweets
   and then store summaries of them grouped by matching terms. That will
   give us some overview stats to display for users which we'd like for
   them to be able to drill into to see individual tweets. At that point
   we would like to make them status and the username clickable to take
   the user to the original status message on the twitter.com .
 
   The issue I'm seeing is that I can't reliably create that link
   because:
   1) users can change their screen names
   2) there's no way to link directly to a tweet using it's status id
 
   I also would rather not start over-using the normal API just to
   recheck usernames to see if they've changed, especially since my
   experience is that that's generally infrequent and eventually I'm
   going to have a lot of cached user data.
 
   Am I missing something?
 
   Assuming not, and since I also imagine that click-throughs from my
   site will be low, my current plan is to link to my site w/ the status
   id, look it up in real-time, and redirect to the actualy twitter.com
   status message.
 
   Anyone have thoughts on that? Additionally, since I may be in a
   position to provide that as a service, would that be something
   whitelist-able if we made it publicly available?



[twitter-dev] xml-type don´t show user details

2009-06-25 Thread Germig

Hi.

When I get the details from user, there is no problem with json-
format. But trying with xml, I only get the first index of the array.
No infos about location, only this:

stdClass Object
(
[0] = SimpleXMLElement Object
(
[created_at] = Thu Jun 25 13:28:31 + 2009
[id] = xxx
[text] = blablabla
[source] = Tweetie
[truncated] = false
[in_reply_to_status_id] = SimpleXMLElement Object
(
)

[in_reply_to_user_id] = SimpleXMLElement Object
(
)

[favorited] = false
[in_reply_to_screen_name] = SimpleXMLElement Object
(
)

)

)

Another question. Normally,  xml-type is UTF-8 enoded?



[twitter-dev] Re: Search API since_id doesn't work with filter:links

2009-06-25 Thread Jim

Yes I'm seeing this also, with this query:
http://search.twitter.com/search.json?lang=enshow_user=truerpp=100since=2009-06-25until=2009-06-25q=Cloud

On Jun 24, 7:57 am, Mojosaurus ish...@gmail.com wrote:
 Hi,

 My script polls Twitter APIs once every 15 seconds with a query 
 likehttp://search.twitter.com/search.atom?q=video%20filter:linksrpp=100;...

 Starting 2009-06-23, this API returns http 403, with the following
 error message.
 hash
 errorsince date or since_id is too old/error
 /hash

 Did anything change in the last 24 hours? Is this a known issue, and
 when is it expected to get fixed? Any leads would be much appreciated.

 --
 thanks,
 Ishwar.


[twitter-dev] xml-type don´t show user details

2009-06-25 Thread Germig

Hi.

When I get the details from user, there is no problem with json-
format. But trying with xml, I only get the first index of the array.
No infos about location, only this:

stdClass Object
(
[0] = SimpleXMLElement Object
(
[created_at] = Thu Jun 25 13:28:31 + 2009
[id] = xxx
[text] = blablabla
[source] = Tweetie
[truncated] = false
[in_reply_to_status_id] = SimpleXMLElement Object
(
)

[in_reply_to_user_id] = SimpleXMLElement Object
(
)

[favorited] = false
[in_reply_to_screen_name] = SimpleXMLElement Object
(
)

)

)

Another question. Normally,  xml-type is UTF-8 enoded?



[twitter-dev] Re: Whoa there error after Oauth authorization.

2009-06-25 Thread sull

confirmed.  this has been happening to me over the past week as
well.

On Jun 25, 10:51 am, Abraham Williams 4bra...@gmail.com wrote:
 I do remember running into this a few days ago but assumed it was a
 random occurrence.

 I did just replicate the issue though by:

 Log out of twitter.
 Go tohttp://twitter.abrah.amand start authenticate process.
 Provide username:password to twitter and authorized.
 go tohttps://twitter.com/in a new tab and log in.
 You are then redirected to /oauth/authorize.

 You should probably add an issue to issue tracker.

 Abraham

 On Thu, Jun 25, 2009 at 09:28, mruhlinmruh...@gmail.com wrote:

  We're testing an app and have seen some strange behavior after
  OAuthing.  The user goes through the norma OAuth process just fine,
  closes our tab and then just opens up a new tab towww.twitter.com.
  Once they login they're redirected tohttp://twitter.com/oauth/authorize,
  which shows an error.

  Anybody else seen this?

 --
 Abraham Williams | Community Evangelist |http://web608.org
 Hacker |http://abrah.am|http://twitter.com/abraham
 Project |http://fireeagle.labs.poseurtech.com
 This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

Hi Matt,

I'm coding in Visual Studio 2005. I am using a HTTP REQUEST function
to make the request to the server.

This is basically all I get to go on is the error messages. I dunno
how to incorporate Charles into VB.NET?

Also, how do I go about printing out the body from VB.NET? If any one
else other than Matt would like to take a look at my code it really
would help.

Kind regards,

Obrzut

On Jun 25, 5:54 pm, Matt Sanford m...@twitter.com wrote:
 Hi,

      When you get an HTTP 401 there should be a body, Something like:  
 Failed to validate oauth signature or token, or the more informative  
 Invalid / expired token, or a host of other things. The 401  
 Unauthorized is the HTTP status line itself and is the error we use  
 for all OAuth failures. If you're using a library to access Twitter  
 via OAuth perhaps it is not displaying the body message be default. If  
 that's the case I recommend adding some print statements, using a  
 debugging proxy (such as Charles), or watching via tcpdump (or  
 equivalent) so you can see the body.
      Also helpful for debugging just about any error with the API is  
 the full request and response headers. Look at this from my  
 perspective … right now I have even less to go on than you. I don't  
 know your code, what request you made, and I cannot debug interactively.

 Thanks;
    — Matt Sanford

 ProTip: When reporting bugs try to remember that no matter how  
 frustrated you are you're asking someone who is not sitting with you  
 and is not in the same frame of mind. This is like shouting at the  
 police when you called them. Therapeutic? yes. Helpful? probably not.  
 Good matrial for the show Cops? definitely.

 On Jun 25, 2009, at 9:45 AM, Obrzut wrote:





  The remote server returned an error: (401) Unauthorized.

  This is the exact error. I was not being hostile - just going out my
  wits end! *smiles*

  I've de-stressed by laying in bed for the past hour trying to forget
  about the Twitter API and OAuth. Ha!

  That said - shall I include the URL I am using with Parameters?

  Perhaps that will help, no? I'll get right on that.


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

The remote server returned an error: (401) Unauthorized.

This is the exact error. I was not being hostile - just going out my
wits end! *smiles*

I've de-stressed by laying in bed for the past hour trying to forget
about the Twitter API and OAuth. Ha!

That said - shall I include the URL I am using with Parameters?

Perhaps that will help, no? I'll get right on that.


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Matt Sanford


Hi,

When you get an HTTP 401 there should be a body, Something like:  
Failed to validate oauth signature or token, or the more informative  
Invalid / expired token, or a host of other things. The 401  
Unauthorized is the HTTP status line itself and is the error we use  
for all OAuth failures. If you're using a library to access Twitter  
via OAuth perhaps it is not displaying the body message be default. If  
that's the case I recommend adding some print statements, using a  
debugging proxy (such as Charles), or watching via tcpdump (or  
equivalent) so you can see the body.
Also helpful for debugging just about any error with the API is  
the full request and response headers. Look at this from my  
perspective … right now I have even less to go on than you. I don't  
know your code, what request you made, and I cannot debug interactively.


Thanks;
  — Matt Sanford

ProTip: When reporting bugs try to remember that no matter how  
frustrated you are you're asking someone who is not sitting with you  
and is not in the same frame of mind. This is like shouting at the  
police when you called them. Therapeutic? yes. Helpful? probably not.  
Good matrial for the show Cops? definitely.


On Jun 25, 2009, at 9:45 AM, Obrzut wrote:



The remote server returned an error: (401) Unauthorized.

This is the exact error. I was not being hostile - just going out my
wits end! *smiles*

I've de-stressed by laying in bed for the past hour trying to forget
about the Twitter API and OAuth. Ha!

That said - shall I include the URL I am using with Parameters?

Perhaps that will help, no? I'll get right on that.




[twitter-dev] Re: xml-type don´t show user details

2009-06-25 Thread Germig

Sorry for doublepost and thanks for the answer.

I used a lot of different user ids (always the screenname). It´s
always the same.

I used this library: 
http://code.google.com/p/micromvc-php/source/browse/trunk/libraries/twitter_api.php?spec=svn6r=6

with this code:

$options = array(
'id'  = 'DAVID_LYNCH',
'type' = 'xml');

require('twitter_api.php');


$twitter_api = new twitter_api($options);


$object = $twitter_api-show_user($options);

if(!$object) {
$object = $twitter_api-error();
}

print 'pre';
print_r($object);
print '/pre';


On 25 Jun., 18:42, Doug Williams d...@twitter.com wrote:
 Can you include the user_id you are trying to find so we can look into this?

 Also, yes, the data should be in UTF-8.

 Thanks,
 Doug

 On Thu, Jun 25, 2009 at 9:32 AM, Germig i...@exbeerde.de wrote:

  Hi.

  When I get the details from user, there is no problem with json-
  format. But trying with xml, I only get the first index of the array.
  No infos about location, only this:

  stdClass Object
  (
     [0] = SimpleXMLElement Object
         (
             [created_at] = Thu Jun 25 13:28:31 + 2009
             [id] = xxx
             [text] = blablabla
             [source] = Tweetie
             [truncated] = false
             [in_reply_to_status_id] = SimpleXMLElement Object
                 (
                 )

             [in_reply_to_user_id] = SimpleXMLElement Object
                 (
                 )

             [favorited] = false
             [in_reply_to_screen_name] = SimpleXMLElement Object
                 (
                 )

         )

  )

  Another question. Normally,  xml-type is UTF-8 enoded?


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

WOW! Thanks! I'll try that!

Just a side note - I extracted the URL and ran it thru a web browser -
then it started popping open a Username / Password box?

It stated;

The server twitter.com at Twitter API requires a username and
password.

What is all this about? I ask, because, my twitter username and
password do not work?

When I ran the URL via the web browser object in VB.NET the document
completed without any body of text. It just exited without a login
prompt. Nothing.

So, it seems the URL I am creating seems sound - as it created a Login
prompt in google Chrome. But, I dunno what credentials I require for
the login prompt?

http://twitter.com/oauth/access_token?oauth_version=1.0oauth_nonce=2475068oauth_timestamp=1245949941oauth_signature_method=HMAC-SHA1oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgoauth_signature=6Uq%2brP1nCHcS3WFLkPMtANO1Zso%3d

This is the URL I used to access the login prompt.

Any pointers?



On Jun 25, 6:04 pm, Bojan Rajkovic boj...@brandeis.edu wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Obrzut wrote:
  oauth_version=1.0oauth_nonce=5048009oauth_timestamp=1245948327oauth_sig 
  nature_method=HMAC-
  SHA1oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgoauth_signature=vxFWk3JvGKdKI 
  RYR31%2b2JC
  %2bh30o%3d

  This is an example URL I am sending. Is there anything suspect you can
  see just by looking at it?

  It really would help me out no end.

  Kind regards,

  Obrzut

 You need to apply a lexicographical byte ordering to the OAuth
 parameters--that is, sort them alphabetically.

 I ran into this in the beginning, and scratched my head for a while
 until I read the OAuth standard.

 Cheers,

 - --
 Bojan Rajkovic boj...@brandeis.edu
 Biochemistry '10, Brandeis University
 PGP Signature Key ID: 0x8783D016
 PGP Encryption Key ID: 0x2497B8B2
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org

 iQIcBAEBAgAGBQJKQ647AAoJEO4IwQyHg9AWnVkP/2H5dQWnGSYXGGQV0YW6oswQ
 gBELIhWjHiq9lkQQbOrCUqV6hR4wycSa5hNfaW+YxQsVEuORTw1FAhiayJPRcVAH
 I8cgewOSgXG5CSbXfutPmfQFHZNdN3zgJMaS0sAwoyEik+nb/JePlUEkn7f9CPzb
 buqLAjadh0bLNdB/U2ld5FBgnAc1zQEJrGCePqfzYls3RTQm+dc6wtpzRnlKVDER
 hfsVh0E9OUZOIjEmaHsc7KUjoiATSB/j0LXrF+3x3BR/ISYkoLW0cJPQEscJVrG+
 JbtJ3Q4H1uJpDn5iF4ENhzjZa1/v45w/zliXk8MeDixLC4jtTUE54oKZsYFjhL/v
 d1BMgmgTVCJq7Qj2jJNKjD/A2nriAErh/i/42850MsF9JCnff6d2kruXccdHM8Lv
 ExttUH9k6c0U4SBVYjjv+Np4OOwWDJvwNx3mXW5mgfLsCtMKdSDD+mm4/M9MHDxR
 sHo54jlWDXGYHrbAJLtCBp02UN3FTlieQ61QYniaUJcZOuzMoKkmVn4/uHMJT7SQ
 u+DxUMYaFEpot72IOzgFmAmeToGw1GWyeBzeZnkPq5li5Y+EyUCVKH8dxSj4omM+
 qUHwvhI93cS6+mmh3L1KGsfg6uXl88xi1oP3d+k1N65nX4troGWE00VPROTbAPzk
 +UNJsrk9WkRuaif1le0b
 =M/IL
 -END PGP SIGNATURE-


[twitter-dev] Re: xml-type don´t show user details

2009-06-25 Thread Doug Williams
Can you include the user_id you are trying to find so we can look into this?

Also, yes, the data should be in UTF-8.

Thanks,
Doug



On Thu, Jun 25, 2009 at 9:32 AM, Germig i...@exbeerde.de wrote:


 Hi.

 When I get the details from user, there is no problem with json-
 format. But trying with xml, I only get the first index of the array.
 No infos about location, only this:

 stdClass Object
 (
[0] = SimpleXMLElement Object
(
[created_at] = Thu Jun 25 13:28:31 + 2009
[id] = xxx
[text] = blablabla
[source] = Tweetie
[truncated] = false
[in_reply_to_status_id] = SimpleXMLElement Object
(
)

[in_reply_to_user_id] = SimpleXMLElement Object
(
)

[favorited] = false
[in_reply_to_screen_name] = SimpleXMLElement Object
(
)

)

 )

 Another question. Normally,  xml-type is UTF-8 enoded?




[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

oauth_version=1.0oauth_nonce=5048009oauth_timestamp=1245948327oauth_signature_method=HMAC-
SHA1oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgoauth_signature=vxFWk3JvGKdKIRYR31%2b2JC
%2bh30o%3d

This is an example URL I am sending. Is there anything suspect you can
see just by looking at it?

It really would help me out no end.

Kind regards,

Obrzut


[twitter-dev] Posting to Twitter using Gtalk

2009-06-25 Thread Vinayak Joshi
Hi

We have developed a chat bot on Gtalk/Jabber using which you can post on
Twitter. It uses OAuth authentication. You can test it by adding
twit...@askme.im to your Gtalk/Gmail Chat contact list and chatting with it.

Is there any way that one can also fetch and display tweets from people I
follow in Gtalk?

Regards
Vinayak


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Abraham Williams

I would recommend reading
http://oauth.net/documentation/getting-started so you have a thorough
understanding of how Oauth.

On Thu, Jun 25, 2009 at 12:17, Obrzutsa...@peyoteuk.com wrote:

 WOW! Thanks! I'll try that!

 Just a side note - I extracted the URL and ran it thru a web browser -
 then it started popping open a Username / Password box?

 It stated;

 The server twitter.com at Twitter API requires a username and
 password.

 What is all this about? I ask, because, my twitter username and
 password do not work?

 When I ran the URL via the web browser object in VB.NET the document
 completed without any body of text. It just exited without a login
 prompt. Nothing.

 So, it seems the URL I am creating seems sound - as it created a Login
 prompt in google Chrome. But, I dunno what credentials I require for
 the login prompt?

 http://twitter.com/oauth/access_token?oauth_version=1.0oauth_nonce=2475068oauth_timestamp=1245949941oauth_signature_method=HMAC-SHA1oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgoauth_signature=6Uq%2brP1nCHcS3WFLkPMtANO1Zso%3d

 This is the URL I used to access the login prompt.

 Any pointers?



 On Jun 25, 6:04 pm, Bojan Rajkovic boj...@brandeis.edu wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Obrzut wrote:
  oauth_version=1.0oauth_nonce=5048009oauth_timestamp=1245948327oauth_sig
   nature_method=HMAC-
  SHA1oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgoauth_signature=vxFWk3JvGKdKI
   RYR31%2b2JC
  %2bh30o%3d

  This is an example URL I am sending. Is there anything suspect you can
  see just by looking at it?

  It really would help me out no end.

  Kind regards,

  Obrzut

 You need to apply a lexicographical byte ordering to the OAuth
 parameters--that is, sort them alphabetically.

 I ran into this in the beginning, and scratched my head for a while
 until I read the OAuth standard.

 Cheers,

 - --
 Bojan Rajkovic boj...@brandeis.edu
 Biochemistry '10, Brandeis University
 PGP Signature Key ID: 0x8783D016
 PGP Encryption Key ID: 0x2497B8B2
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org

 iQIcBAEBAgAGBQJKQ647AAoJEO4IwQyHg9AWnVkP/2H5dQWnGSYXGGQV0YW6oswQ
 gBELIhWjHiq9lkQQbOrCUqV6hR4wycSa5hNfaW+YxQsVEuORTw1FAhiayJPRcVAH
 I8cgewOSgXG5CSbXfutPmfQFHZNdN3zgJMaS0sAwoyEik+nb/JePlUEkn7f9CPzb
 buqLAjadh0bLNdB/U2ld5FBgnAc1zQEJrGCePqfzYls3RTQm+dc6wtpzRnlKVDER
 hfsVh0E9OUZOIjEmaHsc7KUjoiATSB/j0LXrF+3x3BR/ISYkoLW0cJPQEscJVrG+
 JbtJ3Q4H1uJpDn5iF4ENhzjZa1/v45w/zliXk8MeDixLC4jtTUE54oKZsYFjhL/v
 d1BMgmgTVCJq7Qj2jJNKjD/A2nriAErh/i/42850MsF9JCnff6d2kruXccdHM8Lv
 ExttUH9k6c0U4SBVYjjv+Np4OOwWDJvwNx3mXW5mgfLsCtMKdSDD+mm4/M9MHDxR
 sHo54jlWDXGYHrbAJLtCBp02UN3FTlieQ61QYniaUJcZOuzMoKkmVn4/uHMJT7SQ
 u+DxUMYaFEpot72IOzgFmAmeToGw1GWyeBzeZnkPq5li5Y+EyUCVKH8dxSj4omM+
 qUHwvhI93cS6+mmh3L1KGsfg6uXl88xi1oP3d+k1N65nX4troGWE00VPROTbAPzk
 +UNJsrk9WkRuaif1le0b
 =M/IL
 -END PGP SIGNATURE-



-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

I have read that document. Like I said in my initial post - I have
read the tutorials and FAQs.

Furthermore - I have converted a C# Class that utilises OAuth C# Base
Class to VB.NET without a hitch.

It works just fine - the only problem is that it is reaching a Login
prompt that is asking for credentials that I do not have.

A. Williams - did you even read my last post? I find it highly
ignorant of you to refer me to the guide when I have successfully
authenticated the OAuth procedure.

That said, will anyone who cares to read my posts reply with some
thing that is relevant and makes sense?

I have given all the URL's needed - the parameters I am passing to
Twitters oauth page - and I am getting a LOGIN PROMPT.

Read my previous posts for more information.

Kind regards,

Obrzut

On Jun 25, 7:23 pm, Abraham Williams 4bra...@gmail.com wrote:
 I would recommend readinghttp://oauth.net/documentation/getting-startedso you 
 have a thorough
 understanding of how Oauth.





 On Thu, Jun 25, 2009 at 12:17, Obrzutsa...@peyoteuk.com wrote:

  WOW! Thanks! I'll try that!

  Just a side note - I extracted the URL and ran it thru a web browser -
  then it started popping open a Username / Password box?

  It stated;

  The server twitter.com at Twitter API requires a username and
  password.

  What is all this about? I ask, because, my twitter username and
  password do not work?

  When I ran the URL via the web browser object in VB.NET the document
  completed without any body of text. It just exited without a login
  prompt. Nothing.

  So, it seems the URL I am creating seems sound - as it created a Login
  prompt in google Chrome. But, I dunno what credentials I require for
  the login prompt?

 http://twitter.com/oauth/access_token?oauth_version=1.0oauth_nonce=2...

  This is the URL I used to access the login prompt.

  Any pointers?

  On Jun 25, 6:04 pm, Bojan Rajkovic boj...@brandeis.edu wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1

  Obrzut wrote:
   oauth_version=1.0oauth_nonce=5048009oauth_timestamp=1245948327oauth_sig
nature_method=HMAC-
   SHA1oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgoauth_signature=vxFWk3JvGKdKI
RYR31%2b2JC
   %2bh30o%3d

   This is an example URL I am sending. Is there anything suspect you can
   see just by looking at it?

   It really would help me out no end.

   Kind regards,

   Obrzut

  You need to apply a lexicographical byte ordering to the OAuth
  parameters--that is, sort them alphabetically.

  I ran into this in the beginning, and scratched my head for a while
  until I read the OAuth standard.

  Cheers,

  - --
  Bojan Rajkovic boj...@brandeis.edu
  Biochemistry '10, Brandeis University
  PGP Signature Key ID: 0x8783D016
  PGP Encryption Key ID: 0x2497B8B2
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.9 (GNU/Linux)
  Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org

  iQIcBAEBAgAGBQJKQ647AAoJEO4IwQyHg9AWnVkP/2H5dQWnGSYXGGQV0YW6oswQ
  gBELIhWjHiq9lkQQbOrCUqV6hR4wycSa5hNfaW+YxQsVEuORTw1FAhiayJPRcVAH
  I8cgewOSgXG5CSbXfutPmfQFHZNdN3zgJMaS0sAwoyEik+nb/JePlUEkn7f9CPzb
  buqLAjadh0bLNdB/U2ld5FBgnAc1zQEJrGCePqfzYls3RTQm+dc6wtpzRnlKVDER
  hfsVh0E9OUZOIjEmaHsc7KUjoiATSB/j0LXrF+3x3BR/ISYkoLW0cJPQEscJVrG+
  JbtJ3Q4H1uJpDn5iF4ENhzjZa1/v45w/zliXk8MeDixLC4jtTUE54oKZsYFjhL/v
  d1BMgmgTVCJq7Qj2jJNKjD/A2nriAErh/i/42850MsF9JCnff6d2kruXccdHM8Lv
  ExttUH9k6c0U4SBVYjjv+Np4OOwWDJvwNx3mXW5mgfLsCtMKdSDD+mm4/M9MHDxR
  sHo54jlWDXGYHrbAJLtCBp02UN3FTlieQ61QYniaUJcZOuzMoKkmVn4/uHMJT7SQ
  u+DxUMYaFEpot72IOzgFmAmeToGw1GWyeBzeZnkPq5li5Y+EyUCVKH8dxSj4omM+
  qUHwvhI93cS6+mmh3L1KGsfg6uXl88xi1oP3d+k1N65nX4troGWE00VPROTbAPzk
  +UNJsrk9WkRuaif1le0b
  =M/IL
  -END PGP SIGNATURE-

 --
 Abraham Williams | Community Evangelist |http://web608.org
 Hacker |http://abrah.am|http://twitter.com/abraham
 Project |http://fireeagle.labs.poseurtech.com
 This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Matt Sanford


Hello again,

The access token URL [1] should be accessed by your application  
to exchange a request token for an access token, not from a browser.  
You're seeing a login dialog because that is what browsers do with  
HTTP 401 (Unauthorized).  Your description has been a bit confusing,  
is this the problem (excluding this browser thing):


1. Application gets a request token
2. Redirect the user to twitter.com/oauth/authorize … user clicks  
through to accept

3. User returns to your site
4. Your site called twitter.com/oauth/access_token
5. BOOM: twitter.com/oauth/access_token returns 401

Is that the flow? If so, the body of the 401 would be most  
helpful. If that is not the flow, please try and describe what you are  
doing so I can try and reproduce the error and look for bugs on our  
side.


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

[1] - http://twitter.com/oauth/access_token

On Jun 25, 2009, at 11:33 AM, Obrzut wrote:



I have read that document. Like I said in my initial post - I have
read the tutorials and FAQs.

Furthermore - I have converted a C# Class that utilises OAuth C# Base
Class to VB.NET without a hitch.

It works just fine - the only problem is that it is reaching a Login
prompt that is asking for credentials that I do not have.

A. Williams - did you even read my last post? I find it highly
ignorant of you to refer me to the guide when I have successfully
authenticated the OAuth procedure.

That said, will anyone who cares to read my posts reply with some
thing that is relevant and makes sense?

I have given all the URL's needed - the parameters I am passing to
Twitters oauth page - and I am getting a LOGIN PROMPT.

Read my previous posts for more information.

Kind regards,

Obrzut

On Jun 25, 7:23 pm, Abraham Williams 4bra...@gmail.com wrote:
I would recommend readinghttp://oauth.net/documentation/getting-startedso 
 you have a thorough

understanding of how Oauth.





On Thu, Jun 25, 2009 at 12:17, Obrzutsa...@peyoteuk.com wrote:


WOW! Thanks! I'll try that!


Just a side note - I extracted the URL and ran it thru a web  
browser -

then it started popping open a Username / Password box?



It stated;



The server twitter.com at Twitter API requires a username and
password.



What is all this about? I ask, because, my twitter username and
password do not work?



When I ran the URL via the web browser object in VB.NET the document
completed without any body of text. It just exited without a login
prompt. Nothing.


So, it seems the URL I am creating seems sound - as it created a  
Login

prompt in google Chrome. But, I dunno what credentials I require for
the login prompt?


http://twitter.com/oauth/access_token?oauth_version=1.0oauth_nonce=2 
...



This is the URL I used to access the login prompt.



Any pointers?



On Jun 25, 6:04 pm, Bojan Rajkovic boj...@brandeis.edu wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Obrzut wrote:
oauth_version 
=1.0oauth_nonce=5048009oauth_timestamp=1245948327oauth_sig  
nature_method=HMAC-
SHA1 
oauth_consumer_key 
=CgZiTeNqGk2c0eZSdb9qgoauth_signature=vxFWk3JvGKdKI RYR31%2b2JC

%2bh30o%3d


This is an example URL I am sending. Is there anything suspect  
you can

see just by looking at it?



It really would help me out no end.



Kind regards,



Obrzut



You need to apply a lexicographical byte ordering to the OAuth
parameters--that is, sort them alphabetically.



I ran into this in the beginning, and scratched my head for a while
until I read the OAuth standard.



Cheers,



- --
Bojan Rajkovic boj...@brandeis.edu
Biochemistry '10, Brandeis University
PGP Signature Key ID: 0x8783D016
PGP Encryption Key ID: 0x2497B8B2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org



iQIcBAEBAgAGBQJKQ647AAoJEO4IwQyHg9AWnVkP/2H5dQWnGSYXGGQV0YW6oswQ
gBELIhWjHiq9lkQQbOrCUqV6hR4wycSa5hNfaW+YxQsVEuORTw1FAhiayJPRcVAH
I8cgewOSgXG5CSbXfutPmfQFHZNdN3zgJMaS0sAwoyEik+nb/JePlUEkn7f9CPzb
buqLAjadh0bLNdB/U2ld5FBgnAc1zQEJrGCePqfzYls3RTQm+dc6wtpzRnlKVDER
hfsVh0E9OUZOIjEmaHsc7KUjoiATSB/j0LXrF+3x3BR/ISYkoLW0cJPQEscJVrG+
JbtJ3Q4H1uJpDn5iF4ENhzjZa1/v45w/zliXk8MeDixLC4jtTUE54oKZsYFjhL/v
d1BMgmgTVCJq7Qj2jJNKjD/A2nriAErh/i/42850MsF9JCnff6d2kruXccdHM8Lv
ExttUH9k6c0U4SBVYjjv+Np4OOwWDJvwNx3mXW5mgfLsCtMKdSDD+mm4/M9MHDxR
sHo54jlWDXGYHrbAJLtCBp02UN3FTlieQ61QYniaUJcZOuzMoKkmVn4/uHMJT7SQ
u+DxUMYaFEpot72IOzgFmAmeToGw1GWyeBzeZnkPq5li5Y+EyUCVKH8dxSj4omM+
qUHwvhI93cS6+mmh3L1KGsfg6uXl88xi1oP3d+k1N65nX4troGWE00VPROTbAPzk
+UNJsrk9WkRuaif1le0b
=M/IL
-END PGP SIGNATURE-


--
Abraham Williams | Community Evangelist |http://web608.org
Hacker |http://abrah.am|http://twitter.com/abraham
Project |http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.




[twitter-dev] Re: OAuth: Failed to validate oauth signature and token -please help

2009-06-25 Thread Matt Sanford


Hello there,

Here are a few things you can try:

* You shouldn't need the oauth_token parameter when requesting a  
request token, so you can remove that.
* Make sure the oauth_nonce is a unique value (though we have a  
specific error message for that).
* Also, always helpful, is letting us know what language, library  
and version you are using (if any).


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

On Jun 25, 2009, at 8:50 AM, goodtest wrote:



Hi,
I am trying to follow the instructions of how to authenticate using
oauth, but for some reason, when i try to get request_token, I get
failed to validate signature and token.  I am not sure what I am
missing, can someone please take a second look at the following and
let me know is missing?

URL thats constructed:
GEThttp://twitter.com/oauth/
request_token 
oauth_consumer_key 
= 
Xz2BKOKObTzpLrMXxJo2ww 
oauth_nonce=blabla123oauth_signature_method=HMAC-

SHA1oauth_token=oauth_timestamp=1245887955090oauth_version=1.0

URL after encoding and adding oauth_signature
http%3A%2F%2Ftwitter.com%2Foauth%2Frequest_token%3Foauth_consumer_key
%3DXz2BKOKObTzpLrMXxJo2ww%26oauth_nonce
%3Dblabla123%26oauth_signature_method%3DHMAC-SHA1%26oauth_token%3D
%26oauth_timestamp%3D1245887955090%26oauth_version
%3D1.0%26oauth_signature%3D6odQgPJ5o%2FAuOIw0gt8CknlHIcc%3D


Failed to validate oauth signature and token




[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

Well, Hi again Matt.

Basically, it is hard to describe exactly what my app is doing because
it is using third party code.

Firstly, this is the URL I am trying to access;

url = http://twitter.com/statuses/show/123.xml;


Then, here are the URL's for authentication that my API uses;

Public Const REQUEST_TOKEN As String = http://twitter.com/oauth/
request_token
Public Const AUTHORISE As String = http://twitter.com/oauth/
authorize
Public Const ACCESS_TOKEN As String = http://twitter.com/oauth/
access_token


I am using the C# Base Class with a VB.NET adapted C# Class to
interface with the C# Base Class for OAuth.

That is basically everything!

It generates a URL too. BUT - I just tried something:

I added http://MY USERNAME:MY PASSWORD@twitter.com/etc...

To the URL that asks for the Login Prompt and also changed the Nonce.
I get a blank page then! Haha.

You see - when I clicked CANCEL on the Login prompt - I would get the
following output;

hash
  request/oauth/access_token?
oauth_version=1.0amp;oauth_nonce=9995405amp;oauth_timestamp=1245956104amp;oauth_signature_method=HMAC-
SHA1amp;oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgamp;oauth_signature=DaoiZKL5EMak1RyvTsGzYhlKe7Y
%3d/request
  errorInvalid / used nonce/error
/hash

You see - the Nonces have been used for some reason? I changed the
nonce from the original 6545405 to 9995405 and when I updated with a
new nonce I got the blank page. When I tried to access the source code
for you - I got the Login prompt again with the expired nonce.

SO

It seems the problem lies somewhere with updateing the nonces for each
request? AND/OR Supplying Login Credentials?

Perhaps this is what the 401 : Unauthorised error message from Visual
Studio means during a Web Request?

I will keep tinkering with the code by firstly adding my Twitter
Username and Password to the URL as above - but also try updateing the
nonce?

Any ideas on how to do this? I have posted my code in the initial
post.

On Jun 25, 7:41 pm, Matt Sanford m...@twitter.com wrote:
 Hello again,

      The access token URL [1] should be accessed by your application  
 to exchange a request token for an access token, not from a browser.  
 You're seeing a login dialog because that is what browsers do with  
 HTTP 401 (Unauthorized).  Your description has been a bit confusing,  
 is this the problem (excluding this browser thing):

 1. Application gets a request token
 2. Redirect the user to twitter.com/oauth/authorize … user clicks  
 through to accept
 3. User returns to your site
 4. Your site called twitter.com/oauth/access_token
 5. BOOM: twitter.com/oauth/access_token returns 401

      Is that the flow? If so, the body of the 401 would be most  
 helpful. If that is not the flow, please try and describe what you are  
 doing so I can try and reproduce the error and look for bugs on our  
 side.

 Thanks;
   – Matt Sanford / @mzsanford
       Twitter Dev

 [1] -http://twitter.com/oauth/access_token

 On Jun 25, 2009, at 11:33 AM, Obrzut wrote:





  I have read that document. Like I said in my initial post - I have
  read the tutorials and FAQs.

  Furthermore - I have converted a C# Class that utilises OAuth C# Base
  Class to VB.NET without a hitch.

  It works just fine - the only problem is that it is reaching a Login
  prompt that is asking for credentials that I do not have.

  A. Williams - did you even read my last post? I find it highly
  ignorant of you to refer me to the guide when I have successfully
  authenticated the OAuth procedure.

  That said, will anyone who cares to read my posts reply with some
  thing that is relevant and makes sense?

  I have given all the URL's needed - the parameters I am passing to
  Twitters oauth page - and I am getting a LOGIN PROMPT.

  Read my previous posts for more information.

  Kind regards,

  Obrzut

  On Jun 25, 7:23 pm, Abraham Williams 4bra...@gmail.com wrote:
  I would recommend readinghttp://oauth.net/documentation/getting-startedso
   you have a thorough
  understanding of how Oauth.

  On Thu, Jun 25, 2009 at 12:17, Obrzutsa...@peyoteuk.com wrote:

  WOW! Thanks! I'll try that!

  Just a side note - I extracted the URL and ran it thru a web  
  browser -
  then it started popping open a Username / Password box?

  It stated;

  The server twitter.com at Twitter API requires a username and
  password.

  What is all this about? I ask, because, my twitter username and
  password do not work?

  When I ran the URL via the web browser object in VB.NET the document
  completed without any body of text. It just exited without a login
  prompt. Nothing.

  So, it seems the URL I am creating seems sound - as it created a  
  Login
  prompt in google Chrome. But, I dunno what credentials I require for
  the login prompt?

 http://twitter.com/oauth/access_token?oauth_version=1.0oauth_nonce=2
  ...

  This is the URL I used to access the login prompt.

  Any pointers?

  On Jun 25, 6:04 pm, Bojan Rajkovic 

[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Matt Sanford


Hi again,

A nonce is expected to be unique for each request, that is really  
it's only function. You should not need the login/password anywhere,  
and if the library you're using requires that it's doing something  
incorrectly. I'm not much of a VB programmer, but I just read through  
your source and from the Form1 class it looks like you're writing a  
desktop application, is that correct?
The other thing I noticed in Form1 is that you try to call  
OAuth.AccessTokenGet without ever getting a request token. I think one  
step you're missing here is OAuth.AuthorizationLinkGet, which gets a  
request token and returns the URL the user's browser should be sent  
to. Your code from Form1 does not appear to get the URL or send the  
user there, unless the source on this site is incomplete or I'm mis- 
reading it.


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

On Jun 25, 2009, at 12:04 PM, Obrzut wrote:



Well, Hi again Matt.

Basically, it is hard to describe exactly what my app is doing because
it is using third party code.

Firstly, this is the URL I am trying to access;

   url = http://twitter.com/statuses/show/123.xml;


Then, here are the URL's for authentication that my API uses;

   Public Const REQUEST_TOKEN As String = http://twitter.com/oauth/
request_token
   Public Const AUTHORISE As String = http://twitter.com/oauth/
authorize
   Public Const ACCESS_TOKEN As String = http://twitter.com/oauth/
access_token


I am using the C# Base Class with a VB.NET adapted C# Class to
interface with the C# Base Class for OAuth.

That is basically everything!

It generates a URL too. BUT - I just tried something:

I added http://MY USERNAME:MY PASSWORD@twitter.com/etc...

To the URL that asks for the Login Prompt and also changed the Nonce.
I get a blank page then! Haha.

You see - when I clicked CANCEL on the Login prompt - I would get the
following output;

hash
 request/oauth/access_token?
oauth_version 
= 
1.0 
amp 
;oauth_nonce 
= 
9995405 
amp;oauth_timestamp=1245956104amp;oauth_signature_method=HMAC-
SHA1 
amp 
;oauth_consumer_key 
=CgZiTeNqGk2c0eZSdb9qgamp;oauth_signature=DaoiZKL5EMak1RyvTsGzYhlKe7Y

%3d/request
 errorInvalid / used nonce/error
/hash

You see - the Nonces have been used for some reason? I changed the
nonce from the original 6545405 to 9995405 and when I updated with a
new nonce I got the blank page. When I tried to access the source code
for you - I got the Login prompt again with the expired nonce.

SO

It seems the problem lies somewhere with updateing the nonces for each
request? AND/OR Supplying Login Credentials?

Perhaps this is what the 401 : Unauthorised error message from Visual
Studio means during a Web Request?

I will keep tinkering with the code by firstly adding my Twitter
Username and Password to the URL as above - but also try updateing the
nonce?

Any ideas on how to do this? I have posted my code in the initial
post.

On Jun 25, 7:41 pm, Matt Sanford m...@twitter.com wrote:

Hello again,

 The access token URL [1] should be accessed by your application
to exchange a request token for an access token, not from a browser.
You're seeing a login dialog because that is what browsers do with
HTTP 401 (Unauthorized).  Your description has been a bit confusing,
is this the problem (excluding this browser thing):

1. Application gets a request token
2. Redirect the user to twitter.com/oauth/authorize … user clicks
through to accept
3. User returns to your site
4. Your site called twitter.com/oauth/access_token
5. BOOM: twitter.com/oauth/access_token returns 401

 Is that the flow? If so, the body of the 401 would be most
helpful. If that is not the flow, please try and describe what you  
are

doing so I can try and reproduce the error and look for bugs on our
side.

Thanks;
  – Matt Sanford / @mzsanford
  Twitter Dev

[1] -http://twitter.com/oauth/access_token

On Jun 25, 2009, at 11:33 AM, Obrzut wrote:






I have read that document. Like I said in my initial post - I have
read the tutorials and FAQs.


Furthermore - I have converted a C# Class that utilises OAuth C#  
Base

Class to VB.NET without a hitch.



It works just fine - the only problem is that it is reaching a Login
prompt that is asking for credentials that I do not have.



A. Williams - did you even read my last post? I find it highly
ignorant of you to refer me to the guide when I have successfully
authenticated the OAuth procedure.



That said, will anyone who cares to read my posts reply with some
thing that is relevant and makes sense?



I have given all the URL's needed - the parameters I am passing to
Twitters oauth page - and I am getting a LOGIN PROMPT.



Read my previous posts for more information.



Kind regards,



Obrzut



On Jun 25, 7:23 pm, Abraham Williams 4bra...@gmail.com wrote:

I would recommend readinghttp://oauth.net/documentation/getting-startedso
 you have a thorough
understanding of how Oauth.



On Thu, Jun 25, 2009 at 12:17, 

[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

Public Function WebResponseGet(ByVal web_Request As HttpWebRequest)


Dim responseReader As StreamReader = Nothing
Dim responseData As String = 

Try

responseReader = New StreamReader
(web_Request.GetResponse.GetResponseStream())
responseData = responseReader.ReadToEnd()

Catch

Throw

Finally

web_Request.GetResponse().GetResponseStream().Close()
responseReader.Close()
responseReader = Nothing

End Try

Return responseData
End Function
-

This above is the final code for my VB.NET program.

I think because it is retreiving the same URL twice or even three
times - the nonce expires.

Any one got any solutions to this problem?


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

Hi Matt,

There is an OAuthLinkGet routine in the OAuth_Twitter Class. I am not
sure if it is being used tho?

That said, the code in Form1 basically implements Twitter OAuth Class
- which in turn uses OAuth Class.

It is a heirarchy of classes :)

It should, really, be doing it properly because I only adopted the
classes to VB.NET and did not write them from scratch myself. AND I am
useing the official C# Base Class for OAuth - so it really should
work :(

But, I definitely think that is the problem - the nonces are not being
updated between requests.

But, when I update the nonces in the browser - I get a empty page? Is
that normal?

Perhaps some one here can help with the VB.Net side of things?


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

Public Function AuthorizationLinkGet()
Dim ret As String = Nothing

Dim response As String = OAuthWebRequest(GET, REQUEST_TOKEN,
String.Empty)

If (response.Length  0) Then
REM response contains token and token secret.  We only
need the token.
Dim qs As NameValueCollection =
HttpUtility.ParseQueryString(response)
If (Not qs.Item(oauth_token) = Nothing) Then
ret = AUTHORISE  ?oauth_token=  qs.Item
(oauth_token)
End If
End If
Return ret
End Function

---

This is the OAuthLinkGet function. It fails with an 401 :
Unauthorised!

This also calls the above offending function 'WebResponseGet' - as
part of 'OAuthWebRequest'.

As soon as WebResponseGet try to access the WebResponse - it gets a
401 Unauthorised.

So, it seems I need to to something with this part of the class.

Thanks - I really feel confident now that we have sussed out the
problems?


[twitter-dev] How-To: Get a Twitter Token via VB.NET

2009-06-25 Thread Obrzut

Hi,

I have been working on an program that will eventually access the
Twitter site.

But, I have found the very first stage of OAuth very cumbersome.

Basically, I have the following code;

Dim url As String = http://twitter.com/oauth/request_token;
Dim xml As String = 
Dim OAuth As New OAuth_Twitter
Dim O As New OAuth.OAuthBase
Dim consumerKey As String = CgZiTeNqGk2c0eZSdb9qg
Dim consumerSecret As String =
Sf7DGMTiK4cyU8qOuqOWX4yCNCwAdcRAlAj02cOA
Dim token As String = 
Dim tokenSecret As String = 
Dim Method As String = GET
Dim outURL As String = http://twitter.com/statuses/show/
123.xml
Dim querystring = 
Dim URI As New Uri(url)

Dim nonce As String = O.GenerateNonce()
Dim timeStamp As String = O.GenerateTimeStamp()

REM//Generate Signature
Dim sig As String = O.GenerateSignature(URI, _
consumerKey, _
consumerSecret, _
token, _
tokenSecret, _
Method, _
timeStamp, _
nonce, _
, _
querystring)

querystring = oauth_signature=  HttpUtility.UrlEncode
(sig)

Dim test As String = url  ?  querystring

Dim UR As System.Net.WebRequest = System.Net.WebRequest.Create
(test)

Dim str As System.IO.Stream = UR.GetResponse
().GetResponseStream()

-

The program fails at the end - where str is dimmed as a IO.Stream and
a GetResponseStream() is attempted.

I get a 401: Unauthorised message - and the program terminates.

I think I am doing some thing wrong here, but I do not know what?

Do I have to use GenerateSignature() from the OAuth class twice? How
about using GenerateBaseSignature()?

I am really confuzzled. Ha!

Does anyone here know anything about VB.NET and OAuth implementations
in this language?


[twitter-dev] Re: How-To: Get a Twitter Token via VB.NET

2009-06-25 Thread Andrew Badera
You probably don't want to be sharing your keys with us ...


On Thu, Jun 25, 2009 at 4:51 PM, Obrzut sa...@peyoteuk.com wrote:


 Hi,

 I have been working on an program that will eventually access the
 Twitter site.

 But, I have found the very first stage of OAuth very cumbersome.

 Basically, I have the following code;

Dim url As String = http://twitter.com/oauth/request_token;
Dim xml As String = 
Dim OAuth As New OAuth_Twitter
Dim O As New OAuth.OAuthBase
Dim consumerKey As String = CgZiTeNqGk2c0eZSdb9qg
Dim consumerSecret As String =
 Sf7DGMTiK4cyU8qOuqOWX4yCNCwAdcRAlAj02cOA
Dim token As String = 
Dim tokenSecret As String = 
Dim Method As String = GET
Dim outURL As String = http://twitter.com/statuses/show/
 123.xml http://twitter.com/statuses/show/%0A123.xml
Dim querystring = 
Dim URI As New Uri(url)

Dim nonce As String = O.GenerateNonce()
Dim timeStamp As String = O.GenerateTimeStamp()

REM//Generate Signature
Dim sig As String = O.GenerateSignature(URI, _
consumerKey, _
consumerSecret, _
token, _
tokenSecret, _
Method, _
timeStamp, _
nonce, _
, _
querystring)

querystring = oauth_signature=  HttpUtility.UrlEncode
 (sig)

Dim test As String = url  ?  querystring

Dim UR As System.Net.WebRequest = System.Net.WebRequest.Create
 (test)

Dim str As System.IO.Stream = UR.GetResponse
 ().GetResponseStream()


 -

 The program fails at the end - where str is dimmed as a IO.Stream and
 a GetResponseStream() is attempted.

 I get a 401: Unauthorised message - and the program terminates.

 I think I am doing some thing wrong here, but I do not know what?

 Do I have to use GenerateSignature() from the OAuth class twice? How
 about using GenerateBaseSignature()?

 I am really confuzzled. Ha!

 Does anyone here know anything about VB.NET and OAuth implementations
 in this language?



[twitter-dev] Re: How-To: Get a Twitter Token via VB.NET

2009-06-25 Thread Matt Sanford


Hi,

You might want to try Shannon Whitley (blog post on VB.NET/OAuth/ 
Twitter at http://www.voiceoftech.com/swhitley/?p=681)  … he seems to  
work with Twitter, OAuth and VB.NET. He might be reading the dev list  
here, not really sure.


Thanks;
 – Matt Sanford / @mzsanford
 Twitter Dev

On Jun 25, 2009, at 1:51 PM, Obrzut wrote:



Hi,

I have been working on an program that will eventually access the
Twitter site.

But, I have found the very first stage of OAuth very cumbersome.

Basically, I have the following code;

   Dim url As String = http://twitter.com/oauth/request_token;
   Dim xml As String = 
   Dim OAuth As New OAuth_Twitter
   Dim O As New OAuth.OAuthBase
   Dim consumerKey As String = CgZiTeNqGk2c0eZSdb9qg
   Dim consumerSecret As String =
Sf7DGMTiK4cyU8qOuqOWX4yCNCwAdcRAlAj02cOA
   Dim token As String = 
   Dim tokenSecret As String = 
   Dim Method As String = GET
   Dim outURL As String = http://twitter.com/statuses/show/
123.xml
   Dim querystring = 
   Dim URI As New Uri(url)

   Dim nonce As String = O.GenerateNonce()
   Dim timeStamp As String = O.GenerateTimeStamp()

   REM//Generate Signature
   Dim sig As String = O.GenerateSignature(URI, _
   consumerKey, _
   consumerSecret, _
   token, _
   tokenSecret, _
   Method, _
   timeStamp, _
   nonce, _
   , _
   querystring)

   querystring = oauth_signature=  HttpUtility.UrlEncode
(sig)

   Dim test As String = url  ?  querystring

   Dim UR As System.Net.WebRequest = System.Net.WebRequest.Create
(test)

   Dim str As System.IO.Stream = UR.GetResponse
().GetResponseStream()

-

The program fails at the end - where str is dimmed as a IO.Stream and
a GetResponseStream() is attempted.

I get a 401: Unauthorised message - and the program terminates.

I think I am doing some thing wrong here, but I do not know what?

Do I have to use GenerateSignature() from the OAuth class twice? How
about using GenerateBaseSignature()?

I am really confuzzled. Ha!

Does anyone here know anything about VB.NET and OAuth implementations
in this language?




[twitter-dev] Re: How-To: Get a Twitter Token via VB.NET

2009-06-25 Thread Andrew Badera
Also, are your sorting your parameters alphabetically, per spec?

On Thu, Jun 25, 2009 at 4:51 PM, Obrzut sa...@peyoteuk.com wrote:


 Hi,

 I have been working on an program that will eventually access the
 Twitter site.

 But, I have found the very first stage of OAuth very cumbersome.

 Basically, I have the following code;

Dim url As String = http://twitter.com/oauth/request_token;
Dim xml As String = 
Dim OAuth As New OAuth_Twitter
Dim O As New OAuth.OAuthBase
Dim consumerKey As String = CgZiTeNqGk2c0eZSdb9qg
Dim consumerSecret As String =
 Sf7DGMTiK4cyU8qOuqOWX4yCNCwAdcRAlAj02cOA
Dim token As String = 
Dim tokenSecret As String = 
Dim Method As String = GET
Dim outURL As String = http://twitter.com/statuses/show/
 123.xml http://twitter.com/statuses/show/%0A123.xml
Dim querystring = 
Dim URI As New Uri(url)

Dim nonce As String = O.GenerateNonce()
Dim timeStamp As String = O.GenerateTimeStamp()

REM//Generate Signature
Dim sig As String = O.GenerateSignature(URI, _
consumerKey, _
consumerSecret, _
token, _
tokenSecret, _
Method, _
timeStamp, _
nonce, _
, _
querystring)

querystring = oauth_signature=  HttpUtility.UrlEncode
 (sig)

Dim test As String = url  ?  querystring

Dim UR As System.Net.WebRequest = System.Net.WebRequest.Create
 (test)

Dim str As System.IO.Stream = UR.GetResponse
 ().GetResponseStream()


 -

 The program fails at the end - where str is dimmed as a IO.Stream and
 a GetResponseStream() is attempted.

 I get a 401: Unauthorised message - and the program terminates.

 I think I am doing some thing wrong here, but I do not know what?

 Do I have to use GenerateSignature() from the OAuth class twice? How
 about using GenerateBaseSignature()?

 I am really confuzzled. Ha!

 Does anyone here know anything about VB.NET and OAuth implementations
 in this language?



[twitter-dev] Re: How-To: Get a Twitter Token via VB.NET

2009-06-25 Thread Bojan Rajkovic

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Obrzut wrote:
 Hi,

 I have been working on an program that will eventually access the
 Twitter site.

 But, I have found the very first stage of OAuth very cumbersome.

 Basically, I have the following code;

 Dim url As String = http://twitter.com/oauth/request_token; Dim
 xml As String =  Dim OAuth As New OAuth_Twitter Dim O As New
 OAuth.OAuthBase Dim consumerKey As String = CgZiTeNqGk2c0eZSdb9qg
  Dim consumerSecret As String =
 Sf7DGMTiK4cyU8qOuqOWX4yCNCwAdcRAlAj02cOA Dim token As String = 
  Dim tokenSecret As String =  Dim Method As String = GET Dim
 outURL As String = http://twitter.com/statuses/show/ 123.xml Dim
 querystring =  Dim URI As New Uri(url)

 Dim nonce As String = O.GenerateNonce() Dim timeStamp As String =
 O.GenerateTimeStamp()

 REM//Generate Signature Dim sig As String =
 O.GenerateSignature(URI, _ consumerKey, _ consumerSecret, _ token,
 _ tokenSecret, _ Method, _ timeStamp, _ nonce, _ , _ querystring)


 querystring = oauth_signature=  HttpUtility.UrlEncode (sig)

 Dim test As String = url  ?  querystring

 Dim UR As System.Net.WebRequest = System.Net.WebRequest.Create
 (test)

 Dim str As System.IO.Stream = UR.GetResponse ().GetResponseStream()


 -


 The program fails at the end - where str is dimmed as a IO.Stream
 and a GetResponseStream() is attempted.

 I get a 401: Unauthorised message - and the program terminates.

 I think I am doing some thing wrong here, but I do not know what?

 Do I have to use GenerateSignature() from the OAuth class twice?
 How about using GenerateBaseSignature()?

 I am really confuzzled. Ha!

 Does anyone here know anything about VB.NET and OAuth
 implementations in this language?
Hi again,

I've written a Twitter OAUth library in C# that you can use--all you
have to do is compile it as a DLL and reference it in your VB project,
it should work just fine from VB (.NET is interoperable that way, no
need to convert). You can download a binary package from
http://code.google.com/p/twarp/downloads/list (OAuth.Twitter.zip), it
contains the library + all the dependencies. Sample code on using the
library, both asynchronously and synchronously (from C#, should be
easily convertible to VB) is available in the
http://code.google.com/p/twarp/source/browse/#svn/trunk/src/Libraries/OAuth.Twitter/Samples
folder. The library requires .NET 3.0 and higher, and is also portable
to Mono. :)

Cheers,

- --
Bojan Rajkovic boj...@brandeis.edu
Biochemistry '10, Brandeis University
PGP Signature Key ID: 0x8783D016
PGP Encryption Key ID: 0x2497B8B2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKQ+XpAAoJEO4IwQyHg9AWvVwP/iA8cd9ZgxWevon2tOXbMRsD
Zi5942UUuH/8RVaT+OswBgTRFf764JzYzqA5Sj+tKGn8ESs0QyGoaFINSNIkOENj
HSbI+g1MKQzv7fc5Woz6QBE9rELvSj/M+0E9j4FzX3kyevchEM2ImSgVWNxkINLv
QuI5raoJwKIrgaYR5tel20XqhJAdBCt3MofwfoHKvUd1aOmUajlKiN0QNXEUxeON
SZpwRXRryLgaDVIbqGsmWaii0Aj7lSdqCyYDZrA1+C6p+9x5a3s4JjFbQLgXm+c8
3IyZgTQBTJrRAPzGnm5/YizKNk2ycIlHI8tRmmUM2PMt8xPN6pNrOPtuNqpNZG4U
OdIgjVkX74TbHQouxbxEJYfQm0ua3gWjlEoDHR+JeDRKg5D4xzt9iljx4/Jq0b8a
pBIMYu+mXb/DhexIt4bjFPJCbqk/6s2ExGbWPiwwcFdXf3GF3WzGO1nx+Q4k1bDd
7fPhq2iLjJlAGcLx/yIgYTku4oqpYvWT8vwzEMlG35/pITuw6wSVZaqws9WnQghk
FHP+4OOYjvmkyoTZXZhIQ2ZJXPrcFFRyf0xAJXtcRECQ1B+e/PMSQVZCzaI45NtX
bztyAdGqfr9rFeFKOXkH8Gl9QXbGBbfBIdGOubx16iuWfPUoHk3rSwX2kE5Q/dPP
A5d+rokbxzvQY6TZR4sf
=8N+T
-END PGP SIGNATURE-



[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread Obrzut

url = https://twitter.com/account/verify_credentials.xml;

Dim test As String = url

Dim UR As System.Net.WebRequest = System.Net.WebRequest.Create
(test)
UR.Credentials = New NetworkCredential(APONetworks,
password)

Dim str As System.IO.Stream = UR.GetResponse
().GetResponseStream()

Dim r As New System.IO.StreamReader(str)

TextBox1.Text = r.ReadToEnd()

r.Close()
str.Close()



SUSSED IT!

Yeah - I cheated a lil bit - but I am now able to retrieve all the
data from the page and parse it into my textbox! Ha.

Now - I am making my first Twitter App!


[twitter-dev] Re: How-To: Get a Twitter Token via VB.NET

2009-06-25 Thread JDG
Until they discontinue basic auth...

On Thu, Jun 25, 2009 at 16:04, Obrzut sa...@peyoteuk.com wrote:


 Thanks. But - I kinda sorted it here with this code snippet...

 url = https://twitter.com/account/verify_credentials.xml;

Dim test As String = url

 Dim UR As System.Net.WebRequest = System.Net.WebRequest.Create
 (test)
 UR.Credentials = New NetworkCredential(APONetworks,
 password)

Dim str As System.IO.Stream = UR.GetResponse
 ().GetResponseStream()

 Dim r As New System.IO.StreamReader(str)

TextBox1.Text = r.ReadToEnd()

r.Close()
str.Close()


 --

 It now retreives the web page I request all the time! Haha! No need
 for external DLLs or any sort of thing.

 I am well pleased!

 I guess it's a kinda cheat - but it works :)




-- 
Internets. Serious business.


[twitter-dev] Re: Desperate for Help! Twitter API Blues...

2009-06-25 Thread E E MIRA

http://esytrader.netblog.fr/

Easytrader

R.C.S :  508 347 127
 
27 av jean medecin 
06000 Nice 

Mobile :+33(0) 6 87 87 04 22
+33(0) 6 14 76 48 96
Bur :+33(0) 4  89 00 16  01  
 
MIRA Emmanuel  
 
http://www.easytrader.fr
 
best regards
 



 




 Date: Thu, 25 Jun 2009 10:17:03 -0700
 Subject: [twitter-dev] Re: Desperate for Help! Twitter API Blues...
 From: sa...@peyoteuk.com
 To: twitter-development-talk@googlegroups.com
 
 
 WOW! Thanks! I'll try that!
 
 Just a side note - I extracted the URL and ran it thru a web browser -
 then it started popping open a Username / Password box?
 
 It stated;
 
 The server twitter.com at Twitter API requires a username and
 password.
 
 What is all this about? I ask, because, my twitter username and
 password do not work?
 
 When I ran the URL via the web browser object in VB.NET the document
 completed without any body of text. It just exited without a login
 prompt. Nothing.
 
 So, it seems the URL I am creating seems sound - as it created a Login
 prompt in google Chrome. But, I dunno what credentials I require for
 the login prompt?
 
 http://twitter.com/oauth/access_token?oauth_version=1.0oauth_nonce=2475068oauth_timestamp=1245949941oauth_signature_method=HMAC-SHA1oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgoauth_signature=6Uq%2brP1nCHcS3WFLkPMtANO1Zso%3d
 
 This is the URL I used to access the login prompt.
 
 Any pointers?
 
 
 
 On Jun 25, 6:04 pm, Bojan Rajkovic boj...@brandeis.edu wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Obrzut wrote:
   oauth_version=1.0oauth_nonce=5048009oauth_timestamp=1245948327oauth_sig
nature_method=HMAC-
   SHA1oauth_consumer_key=CgZiTeNqGk2c0eZSdb9qgoauth_signature=vxFWk3JvGKdKI
RYR31%2b2JC
   %2bh30o%3d
 
   This is an example URL I am sending. Is there anything suspect you can
   see just by looking at it?
 
   It really would help me out no end.
 
   Kind regards,
 
   Obrzut
 
  You need to apply a lexicographical byte ordering to the OAuth
  parameters--that is, sort them alphabetically.
 
  I ran into this in the beginning, and scratched my head for a while
  until I read the OAuth standard.
 
  Cheers,
 
  - --
  Bojan Rajkovic boj...@brandeis.edu
  Biochemistry '10, Brandeis University
  PGP Signature Key ID: 0x8783D016
  PGP Encryption Key ID: 0x2497B8B2
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.9 (GNU/Linux)
  Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org
 
  iQIcBAEBAgAGBQJKQ647AAoJEO4IwQyHg9AWnVkP/2H5dQWnGSYXGGQV0YW6oswQ
  gBELIhWjHiq9lkQQbOrCUqV6hR4wycSa5hNfaW+YxQsVEuORTw1FAhiayJPRcVAH
  I8cgewOSgXG5CSbXfutPmfQFHZNdN3zgJMaS0sAwoyEik+nb/JePlUEkn7f9CPzb
  buqLAjadh0bLNdB/U2ld5FBgnAc1zQEJrGCePqfzYls3RTQm+dc6wtpzRnlKVDER
  hfsVh0E9OUZOIjEmaHsc7KUjoiATSB/j0LXrF+3x3BR/ISYkoLW0cJPQEscJVrG+
  JbtJ3Q4H1uJpDn5iF4ENhzjZa1/v45w/zliXk8MeDixLC4jtTUE54oKZsYFjhL/v
  d1BMgmgTVCJq7Qj2jJNKjD/A2nriAErh/i/42850MsF9JCnff6d2kruXccdHM8Lv
  ExttUH9k6c0U4SBVYjjv+Np4OOwWDJvwNx3mXW5mgfLsCtMKdSDD+mm4/M9MHDxR
  sHo54jlWDXGYHrbAJLtCBp02UN3FTlieQ61QYniaUJcZOuzMoKkmVn4/uHMJT7SQ
  u+DxUMYaFEpot72IOzgFmAmeToGw1GWyeBzeZnkPq5li5Y+EyUCVKH8dxSj4omM+
  qUHwvhI93cS6+mmh3L1KGsfg6uXl88xi1oP3d+k1N65nX4troGWE00VPROTbAPzk
  +UNJsrk9WkRuaif1le0b
  =M/IL
  -END PGP SIGNATURE-

_
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  
Téléchargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp

[twitter-dev] Re: What causes suspension?

2009-06-25 Thread capt.taco

Dave  Alex,

Great to hear from you guys on this forum. My account was re-instated
and I'm glad to be back in the fold.

I understand the plight of your company, given the explosion in
interest. Its difficult to get to every support message, and given the
rampant amount of spam, I understand your need to be aggressive with
it. With that in mind, I have a few points:

#1) I would pay money to have a direct support line. If it weren't for
this forum (and in particular, a friend of mine pointing me to this
thread) I would have had no other way to contact Twitter employees and
explain my position. (yes, I submitted several help tickets, plus
emails to suspen...@twitter.com) My twitter account is a valuable
communication tool and I would gladly pay for a subscription offering
no additional features other than a direct avenue for support.

#2) In the past, I designed and built decision trees and other
intelligent rule-based systems for the US Military. The techniques
used incorporated a measure of uncertainty, is adaptive and can be
tuned according to expected behavior patterns. As a mental exercise
while I was suspended, I started designing a rule set that could
provide better spam account detection based upon history, account
details and current usage pattern. If you're interested in seeing the
ideas, please DM me (@capttaco) and I'll be happy to share.

#3) Finally, you don't send an email to the account informing them
that their account is disabled. Nor do you provide a reason. In my
particular case, it took me nearly two days to figure out it was my
website that was hacked and was the cause. I understand you can't be
too transparent in your process here, but some sort of notification
and perhaps a high bin of possibilities would help greatly.

All of this said, I love twitter as a communication tool and as a
platform. I only want to see it prosper and it is in that spirit which
I wrote the ideas above.

Thanks,
Rob Rhyne

On Jun 24, 2:15 pm, Doug Williams d...@twitter.com wrote:
 Craig,
 I'll work with the support team to make sure the link gets updated and the
 article broadened. We appreciate your understanding here.

 Thanks,
 Doug

 On Wed, Jun 24, 2009 at 11:07 AM, Craig Hockenberry 



 craig.hockenbe...@gmail.com wrote:

  Thanks for the clarification, Doug. I can totally understand the
  trending topic abuse: I looked a trend the other day and was really
  surprised at the amount of crap that came up in the search.

  I think it's pretty important to enumerate the triggers used for
  suspension. It doesn't need to be the exact algorithm (which could be
  used to defeat your efforts) but rather something like what you said
  above. Something that we all can point users to so they can say
  ahh... that's why. -- which I'm sure Louie is doing right now.
  Anyone who's dealt with SPAM is aware of how frequently the rules
  change: the point is that users need to be kept apprised of how they
  are affected by these constant changes.

  I'd also suggest that you fix the link on the bottom of the http://
  twitter.com/suspended page. The one that explains how to contest the
  suspension would be a good candidate (since that's the first thing a
  real person who's been suspended wants to know.)

  Maybe there's another link on the page that goes to a list of the
  suspension triggers. You could periodically update that page to
  reflect the current reasons for suspension.

  -ch

  On Jun 24, 10:25 am, Doug Williams d...@twitter.com wrote:
   There are both automated and manual spam fighting tools we use in house.
  One
   of the reasons for suspension is aggressively participating in multiple
   trending topics within a short amount of time. It appears that Mantia was
   flagged for this reason.

   If your users are suspended, it would be best to send them
  tohttp://help.twitter.comanddirect them to the official article [1]. Spam
   and abuse are not a white and black issues, they are also far from
  static.
   Both of these reasons make it difficult to give definite criteria for
   avoiding a net.

   1.http://help.twitter.com/forums/26257/entries/15790

   Thanks,
   Doug

   On Wed, Jun 24, 2009 at 9:57 AM, richardhenry richardhe...@me.com
  wrote:

As someone who followed Louie, this is very weird to me. Nothing he
did looked remotely spammy/offensive/disingenuous. #freemantia

-- Richard (@richardhenry)

On Jun 24, 5:43 pm, Craig Hockenberry craig.hockenbe...@gmail.com
wrote:
 One of the guys I work with recently had his account suspended:

 http://mantia.me/blog/twitter-suspension/

 We've been having a bit of fun with it: creating a #freemantia hash
 tag and even a website http://freemantia.com

 But at the bottom of it all, I realized that we (third-party
 developers) don't really know what causes an account to be suspended.
 And yet we all have users of our products/services who can have an
 account suspended. I'd like to be able to tell them 

[twitter-dev] Re: A new Twitter library for Python (Tango)

2009-06-25 Thread Ryan McGrath

Thanks! It's been a lot of fun working on it, the API seems really
well done. ;)

- Ryan

On Jun 25, 11:31 am, Doug Williams d...@twitter.com wrote:
 I'll add it to the libraries section today. Thanks for contributing!

 Thanks,
 Doug

 On Thu, Jun 25, 2009 at 5:25 AM, Ninjamonk dar...@stuartmedia.co.uk wrote:

  great work, I am playing with it now. I am going to see if it works
  with GAE.

  you should get it added herehttp://apiwiki.twitter.com/Libraries

  On Jun 25, 7:51 am, Ryan McGrath ryan.mcgra...@gmail.com wrote:
   Hey all,

   I've been working on a Twitter library for Python in my spare time.
   It's the first library I've written in full for the language, so I'm
   sure there's quite a few things that could be improved, but I think
   I've gotten it to a point where I can throw it out there and see if
   anyone's interested in it.

   It covers the REST API and the Search API at the moment. I'm working
   on OAuth support, and I haven't had time to look at the Streaming API
   stuff in-depth yet, but I'd like to hit that at some point as well.
   There's still a lot of other small pieces that I want to add which
   would respect the API more, but it's usable in its current state.

   There's an experimental build for Python 3k as well, if anyone's into
   that sort of thing. I wouldn't consider either of these fully
   production-ready yet, but feel free to use it however you want. I'd
   really appreciate it if anyone could check it out at the following
   link and critique it.

  http://github.com/ryanmcgrath/tango/tree/master

   It's somewhat inspired by Python-Twitter (http://code.google.com/p/
   python-twitter/), but I'd say it's a little more simplistic overall.
   It requires people to be familiar with the Twitter API itself, so you
   can't just blindly use the library. I consider this a good thing, but
   some others might not. ;)


[twitter-dev] Re: API Changes for June 25, 2009

2009-06-25 Thread funkatron

What's the word on a rate limit increase related to the issue 474 fix?

--
Ed Finkler
http://funkatron.com
Twitter:@funkatron
AIM: funka7ron
ICQ: 3922133
XMPP:funkat...@gmail.com


On Jun 25, 7:18 pm, Matt Sanford m...@twitter.com wrote:
 Two features and five fixes were deployed today, 2009-06-25:

    * Feature (REST): Added screen_name and user_id attributes to  
 direct_messages/new for disambiguation
      - Issue:http://code.google.com/p/twitter-api/issues/detail?id=550
      - 
 Documentation:http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-direct_messages...

    * Feature (REST): Added new friendships/show method (issue 474,  
 documentation)
      - Issue:http://code.google.com/p/twitter-api/issues/detail?id=474
      - 
 Documentation:http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-friendships-show

    * Fixed (REST): Partially fixed issue with tiling background images  
 via the API
      - Issue:http://code.google.com/p/twitter-api/issues/detail?id=650
      - Note: This was part one. There is a second part to complete the  
 fix that is expected this week. The issue will be updated.

    * Fixed (OAuth): Added a more helpful error message when you try to  
 use a request token in place of an access token.
      - Error Text: Request token must be exchanged for an access  
 token before use

    * Fixed (OAuth): Improved error handling when invalid data is  
 submitted in place of a token.
      - The generic HTTP 500 should now be replaced with a message that  
 the token was not found

    * Fixed (REST): The JSON returned in maintenance mode now correctly  
 contains null rather than NULL
      - Issue:http://code.google.com/p/twitter-api/issues/detail?id=703

    * Fixed (Mail): Improved outbound email reliability (for apps  
 parsing DM/friend emails)
      - Improved some retry logic related to transient errors such as  
 timeouts.

      As always we've updated the change log 
 athttp://apiwiki.twitter.com/REST-API-Changelog

 Thanks;
   – Matt Sanford / @mzsanford
       Twitter Dev


[twitter-dev] Re: What causes suspension?

2009-06-25 Thread Doug Williams
Rob,
We are not in the business of support and have no plans to monetize our
support staff :) We all understand the frustration of delays but as a
developer you can always contact the API team (see
http://apiwiki.twitter.com/Support) with your development oriented needs.
The general support staff is with one week of the oldest ticket in the queue
so it may take a little patience to have your general problems resolved.

Thank you for the offer to help our team. If you are seriously interested in
getting involved, please do apply to work with us. You can learn about that
here [1]. As a shameless plug, the API team is in need of some engineers.
Please apply!

Finally, there is an internal project to add email notifications to
suspensions. This should remove some of the frustration for users that find
their account has been suspended.

1. http://twitter.com/jobs

Thanks,
Doug



On Thu, Jun 25, 2009 at 10:30 AM, capt.taco capt.t...@gmail.com wrote:


 Dave  Alex,

 Great to hear from you guys on this forum. My account was re-instated
 and I'm glad to be back in the fold.

 I understand the plight of your company, given the explosion in
 interest. Its difficult to get to every support message, and given the
 rampant amount of spam, I understand your need to be aggressive with
 it. With that in mind, I have a few points:

 #1) I would pay money to have a direct support line. If it weren't for
 this forum (and in particular, a friend of mine pointing me to this
 thread) I would have had no other way to contact Twitter employees and
 explain my position. (yes, I submitted several help tickets, plus
 emails to suspen...@twitter.com) My twitter account is a valuable
 communication tool and I would gladly pay for a subscription offering
 no additional features other than a direct avenue for support.

 #2) In the past, I designed and built decision trees and other
 intelligent rule-based systems for the US Military. The techniques
 used incorporated a measure of uncertainty, is adaptive and can be
 tuned according to expected behavior patterns. As a mental exercise
 while I was suspended, I started designing a rule set that could
 provide better spam account detection based upon history, account
 details and current usage pattern. If you're interested in seeing the
 ideas, please DM me (@capttaco) and I'll be happy to share.

 #3) Finally, you don't send an email to the account informing them
 that their account is disabled. Nor do you provide a reason. In my
 particular case, it took me nearly two days to figure out it was my
 website that was hacked and was the cause. I understand you can't be
 too transparent in your process here, but some sort of notification
 and perhaps a high bin of possibilities would help greatly.

 All of this said, I love twitter as a communication tool and as a
 platform. I only want to see it prosper and it is in that spirit which
 I wrote the ideas above.

 Thanks,
 Rob Rhyne

 On Jun 24, 2:15 pm, Doug Williams d...@twitter.com wrote:
  Craig,
  I'll work with the support team to make sure the link gets updated and
 the
  article broadened. We appreciate your understanding here.
 
  Thanks,
  Doug
 
  On Wed, Jun 24, 2009 at 11:07 AM, Craig Hockenberry 
 
 
 
  craig.hockenbe...@gmail.com wrote:
 
   Thanks for the clarification, Doug. I can totally understand the
   trending topic abuse: I looked a trend the other day and was really
   surprised at the amount of crap that came up in the search.
 
   I think it's pretty important to enumerate the triggers used for
   suspension. It doesn't need to be the exact algorithm (which could be
   used to defeat your efforts) but rather something like what you said
   above. Something that we all can point users to so they can say
   ahh... that's why. -- which I'm sure Louie is doing right now.
   Anyone who's dealt with SPAM is aware of how frequently the rules
   change: the point is that users need to be kept apprised of how they
   are affected by these constant changes.
 
   I'd also suggest that you fix the link on the bottom of the http://
   twitter.com/suspended page. The one that explains how to contest the
   suspension would be a good candidate (since that's the first thing a
   real person who's been suspended wants to know.)
 
   Maybe there's another link on the page that goes to a list of the
   suspension triggers. You could periodically update that page to
   reflect the current reasons for suspension.
 
   -ch
 
   On Jun 24, 10:25 am, Doug Williams d...@twitter.com wrote:
There are both automated and manual spam fighting tools we use in
 house.
   One
of the reasons for suspension is aggressively participating in
 multiple
trending topics within a short amount of time. It appears that Mantia
 was
flagged for this reason.
 
If your users are suspended, it would be best to send them
   tohttp://help.twitter.comanddirect them to the official article [1].
 Spam
and abuse are not a white and black issues, 

[twitter-dev] Re: How-To: Get a Twitter Token via VB.NET

2009-06-25 Thread Bojan Rajkovic

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Obrzut wrote:
 Hello,

 Sadly, your API does not work. :(

 odule Module1

 Sub Main()

 Dim pin As Integer = 0 Dim OAuth As New
 OAuth.Twitter(Key,Secret) OAuth.Debugging = True

 Dim URL As String = OAuth.GetAuthorizationLink()

 Dim pinRead As String = String.Empty While Not
 (System.Int16.TryParse(pinRead, pin)) Console.WriteLine(Type in
 the PIN provided by Twitter and press Enter/Return.)
 Console.WriteLine(pinRead) pinRead = Console.ReadLine() End While

 If OAuth.GetAccessToken(pin) Then URL =
 http://twitter.com/account/verify_credentials.xml; Dim Xml As
 String = (OAuth.WebRequest (Global.OAuth.RequestMethod.GET, URL,
 String.Empty)) Console.WriteLine(Xml) End If End Sub

 End Module

 

 This is my code - using your API. But, no pin appears - why?

 It fails on the pin number.
You're using the API wrong. You have to open the webpage provided by
GetAuthorizationLink (), and get the PIN from there. I won't parse the
page that Twitter sends back with the PIN.

- --
Bojan Rajkovic boj...@brandeis.edu
Biochemistry '10, Brandeis University
PGP Signature Key ID: 0x8783D016
PGP Encryption Key ID: 0x2497B8B2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKRBWAAAoJEO4IwQyHg9AWfocP/ikGk7Mo4h49khsrkzYTUxOR
4POcmRSRObHDRTC7YZrvypH9NyfWgquYRj6W/Qkc5fvF8DWWyUcw3EnHBzfHjHKB
aCSxqJPtTCtAgh7RjFCOjgZRJK+4xum7llq2DnBNnnNGzQPoSQdCI3eCOdkjF01K
gH1mnnO4ofj/0rTDoCPyQzW2GLvUy4sMironwUX9fEyDo60f4J9LH2Cr6lAm4jRU
tMJ8cfDPA6EToeallidFcc2reKeCvK0EAw2R0nAumwWH8DTk4egpHHrX34AeYCOW
I/hJNgeaakZNvl8eJsuGCTlqGjkUuOSFgxNEQ1IgyPKCT2cZYz0fq8A7ricIb6kp
4s+aWFVLjSIYMAykHEna/AGkQygwv6otWOELiNjX+hGjrywNw3Q7cSbr0HASHZ58
VFH3xDnrK7d4Qecr+brFJA92T2sBkUzHuxtLOOqLPdHMPAEQFjRpxDv6qcGsNOid
qWdXDTXZGkQ+eVye0whTHdpZYOroWvMCM12dwPQcphtgO99Sl+bCUNqOPomAf0xZ
uSqOZosEzaaoMo8WYeeRGkQ7u+8hvU3jYF6J1Fxd//kpozJSiv/yw/jgxToZSTHQ
JD4R+7rwIr+rduGnTcL1Ad5BRU9GCb5kkcWxfAB0q0jwGWl3niAKvHYFttKRUTe2
ubrdygwavcpBBDed/CVJ
=IG+B
-END PGP SIGNATURE-



[twitter-dev] Re: Releasing a dormat screenname

2009-06-25 Thread Bill Kocik


It turns out they respond very quickly. Unforunately its with an email
that includes:

Twitter is not currently releasing inactive user names. Unless your
user name issue involves Terms of Service violations, you'll have to
wait until all inactive user names are released. We're working on a
better long term solution for this, and we should have more news
soon.

Ahh well. :)

On Jun 24, 8:15 pm, Matt Sanford m...@twitter.com wrote:
 Hi Mark,

      Email usern...@twitter.com (literally 'username', not the name  
 you want). It usually takes some time since, as you can imagine, it's  
 a lower priority than spam and other issues.

 Thanks;
   – Matt Sanford / @mzsanford
       Twitter Dev

 On Jun 24, 2009, at 1:54 PM, kprobe wrote:





  Doug has been just talking about spammers related to acct suspensions
  and just gave the rules for releasing a screen name. Who do we contact
  @twitter to get a dormant screen name released?
  Mark


[twitter-dev] Re: Tags for places?

2009-06-25 Thread benn

I'm trying to solve the problem you described here with twitterplaces.

1. You tweet about L:placename
2. You go to twitterplaces.com/username/placename and specify the
exact address (address is guessed from google local search)
3. Other apps can request twitterplaces.com/username/placename.json to
access the location address.

So, a small piece of infrastructure like bit.ly - is the plan. :)

Ben

On Jun 21, 4:27 pm, Dean Collins d...@cognation.net wrote:
 Although it might be nice and easy to go for just L:NAME  what happens when 
 there are more than 1 café with the same name?

 How do I tell what country you are in?

 How do I tell the date/relevance to me etc.

 It's notlocationspecific but we've been using the term CHurl - to indicate a 
 live Chat URL. Basically we setup the following for our baseball fan site 
 (which is connected to twitter via API)

 http://www.livebaseballchat.com/CHurl/06-21-2009/1019/479

 Made up of the following constitute parts

 URL/ LiveBaseballChat.com     (we are going to launch 7 more so needed the 
 name included)

 CHurl/ Word

 06/ Month

 21/ Date

 09/ Year

 1019/ Room number

 479/ Message number

 Regards,

 Dean Collins
 Live Chat Concepts Inc
 d...@livechatconcepts.com
 +1-212-203-4357   New York
 +61-2-9016-5642   (Sydney in-dial).
 +44-20-3129-6001 (London in-dial).

 -Original Message-
 From: twitter-development-talk@googlegroups.com 
 [mailto:twitter-development-t...@googlegroups.com] On Behalf Of benn
 Sent: Friday, June 19, 2009 10:07 PM
 To: Twitter Development Talk
 Subject: [twitter-dev]Tagsfor places?

 What's a good tag-type to use for when a user refers to places? I've been 
 using $dollartags and then indexing them - eg off to $mojocoffee for MORE 
 BEANS. Are there any standards for these already? I've seen people using L: 
 styletags.

 Any other recommendations for tag semantics for places?

 Ben
 twitterplaces.com


[twitter-dev] Re: Help styling twitter in message link URLs as icons instead of text

2009-06-25 Thread jefbak

Regular expression to find and replace the in-tweet links??


On Jun 24, 9:49 am, jefbak jef...@gmail.com wrote:
 I  am trying to figure out what css/script would be required to take a
 link posted in a tweet and style it so that it shows as an icon
 instead. This way we can display our twitter stream on a web page with
 nice graphics instead of text URLs showing up in tweets that have
 links.

 Has anybody tried this? I have seen an example here:http://www.oberlin.edu/


[twitter-dev] Re: Help styling twitter in message link URLs as icons instead of text

2009-06-25 Thread Abraham Williams

Off the top of my head there are 2 ways to do this. Add a class to
each link and use CSS/JS or use JS to search the page content for
links and modify them on the fly.

For an example of the later check out:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/extlink/extlink.js?revision=1.4.2.7view=markup

It is JS specific to Drupal so it would have to be modified but the
basics should work. You could also check out the Mediawiki source code
as it has this functionality as well.

Abraham

On Thu, Jun 25, 2009 at 20:43, jefbakjef...@gmail.com wrote:

 Regular expression to find and replace the in-tweet links??


 On Jun 24, 9:49 am, jefbak jef...@gmail.com wrote:
 I  am trying to figure out what css/script would be required to take a
 link posted in a tweet and style it so that it shows as an icon
 instead. This way we can display our twitter stream on a web page with
 nice graphics instead of text URLs showing up in tweets that have
 links.

 Has anybody tried this? I have seen an example here:http://www.oberlin.edu/




-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Security Message Interferring On Twitter

2009-06-25 Thread WyattWhy

Everytime I refresh my page on twitter or change pages or update most
anything, I get a security message I have to answer. It's time
consuming and it has never happened before until recently. How do I
get rid of this message question on my computer as I am on Twitter?
Here is how the message/question reads:
--
Do you want to view only the webpage content that was delivered
securely? This webpage contains content that will not be delivered
using a secure HTTPS connection, which could compromise the security
of the entire webpage.
 More Info  YES   NO


[twitter-dev] Re: Reg gardenhose feed

2009-06-25 Thread John Kalucki

The JSON and XML markup formats do not define a fixed ordering of
their fields and they also allow new fields to be added at any time.
Besides consuming absurd amounts of CPU for name-value pair decoding,
this decoupling of producer and consumer is nearly the entire point of
these markup schemes. If you use a reasonable JSON parser, it will
mask all of these issues for you. If you try to pick the text apart
via other means, you will be continuously reworking as the status
format evolves and as the JSON encoder capriciously reorders its
output.

-John Kalucki
Services, Twitter. Inc.


On Jun 25, 10:13 pm, Arun arunachala...@gmail.com wrote:
 Hi all,
 I have few doubts regarding gardenhose feed.
 im redirecting the feed in json into flat file. also using php to
 decode the json format.
 When i went through few records, i was able to see that all records
 are not in same format i.e reply status message format differs from
 the other status format.
 ( few records starts with created_at field, while other records
 starts with favorited
 I want to know what are the various output record provided by
 gardenhose feed and their respective format and Where do i find the
 same.

 Cheers,
 Arunachalam