[twitter-dev] Re: Network Error: 204 (Response error: Failed to validate oauth signature and token)

2011-05-04 Thread pga
Hi Taylor,

Thank you for your input. Here are details:

1. Additional sources:
void OAuthTwitter::authorizeXAuth(const QString username, const
QString password)
{
Q_ASSERT(m_netManager != 0);

QUrl url(TWITTER_ACCESS_TOKEN_XAUTH_URL);
url.addQueryItem(x_auth_username, username);
url.addQueryItem(x_auth_password, password);
url.addQueryItem(x_auth_mode, client_auth);

QByteArray oauthHeader = generateAuthorizationHeader(url,
OAuth::POST);

QNetworkRequest req(url);
req.setRawHeader(AUTH_HEADER, oauthHeader);

QNetworkReply *reply = m_netManager-post(req, QByteArray());
connect(reply, SIGNAL(finished()), this,
SLOT(finishedAuthorization()));
}

2. HTTP request:
POST

3. Url (content of 'url' object):
https://api.twitter.com/oauth/access_token?x_auth_username=myn...@o2.plx_auth_password=mypasswordx_auth_mode=client_auth

4. Authorization header (content of 'oauthHeader' object):
OAuth oauth_consumer_key=myconsumerkey,oauth_signature_method=HMAC-
SHA1,oauth_signature=kqb27IFO2BM3iEO4fhfYK%2BbTc3Y
%3D,oauth_timestamp=1304491190,oauth_nonce=3uLG1a72zvcGdyJr,oauth_version=1.0

5. Body:
none (empty)

6. Additional observations:
When I type username instead of e-mail (currently I use e-mail and
password to login to Twitter) then xAuth pass successfully but only on
the simulator and only first time... Reproducibility 100%.

Best Regarrds,
Pawel

On 2 Maj, 16:56, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi Pawel,

 OAuth problems tend to require digging a bit deeper than surface error
 messages to debug -- to help you in this case, we would need to know at
 minimum: the HTTP Authorization header used in your request, the format of
 the POST body you are sending (but not the actual usernames and passwords),
 and the exact URL you are accessing -- all details that the library you are
 using likely make difficult, but not impossible, to ascertain. The signature
 base string is also extremely useful for debugging, but also requires you to
 filter out details of usernames and passwords.

 In most cases a problem like this is due to a parameter encoding error or by
 a request with POST bodies and signature base strings not in agreement.

 @episod http://twitter.com/episod - Taylor Singletary

 On Sun, May 1, 2011 at 11:11 PM, pga pawel.g...@blstream.com wrote:
  Hi all,

  I develop an application for Symbian platform in Qt. I have
  encountered a problem when trying to pass xAuth using QTweetLib
  library. I have both consumer key and secret. I just got conformation
  from Twitter API Policy guys that I should be able to pass xAuth using
  these credentials (I have permission) but I'm not.

  Here is the snippet of code:
  m_oauthTwitter = new OAuthTwitter(a_netManager, this);
  connect(m_oauthTwitter, SIGNAL(authorizeXAuthFinished()),
  SLOT(xauthFinished()));
  connect(m_oauthTwitter, SIGNAL(authorizeXAuthError()),
  SLOT(xauthError()));
  …
  m_oauthTwitter-authorizeXAuth(username, password);  //  username and
  password are OK

  I got following error (from application's output console – Qt Creator
  IDE):
  OAuth tokens are empty!
  Network Error:  204
  Response error:  Failed to validate oauth signature and token

  The error occurs on both real device (Nokia N8) and simulator (Windows
  XP). Date/Time seem to be set correctly.

  Could you advice me what should I try to solve the problem?

  Best Regards,
  Pawel

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



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


Re: [twitter-dev] Connecting and posting a tweet..

2011-05-04 Thread Abraham Williams
Hi Talasan,

One of the reasons that that the TwitterOAuth example is split into multiple
files with redirects is to keep different actions separate and easier to
understand/debug. As your code currently is it is hard to tell what will
happen when.

You also don't have any error handling if any of the requests to Twitter
fail. You can do this by checking if $connection-http_code == 200 after
each $connection function is executed.

Are you actually visiting twitter.com to authorize access from the
application? I see you getting a request token and generating the authorize
URL but I don't see it being visited anywhere. This is required to get an
access token.

Your logic flow could be improved as well. Currently it is roughly:

if no oauth_token parameter
  get request token
else
  if no access token session
get access token
  end
end

if submit tweet
  verify account
  post tweet
end

With the current flow every single execution will get a request token
besides the one time you return from twitter.com and get an access token.

I recommend you read through the documentation again and better understand
what each step does and why it does it.

https://github.com/abraham/twitteroauth/blob/master/DOCUMENTATION

Abraham
-
Abraham Williams | InboxQ http://inboxq.com/ | abrah.am
@abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.



On Tue, May 3, 2011 at 16:46, Talasan talasan.nichol...@gmail.com wrote:

 I'm pretty lost! :)

 I've gone through the documents and I've once successfully posted a
 tweet. No idea how that happened, however. I'm attempting to do a one-
 page validation for this so that I can keep it relatively simple
 without redirects.

 How can I accomplish this, however? Here is my code, and I'd greatly
 appreciate somebody to point out the fallacies. Thank you.


if(!@$_GET['oauth_token']) {
$connection = new TwitterOAuth($db['twc_api'],
 $db['twc_secret']);
$temp = $connection-getRequestToken($OAUTH_CALLBACK);
$twit_url = $connection-getAuthorizeURL($temp);
$_SESSION['oauth_request_token'] = $token =
 $temp['oauth_token'];
$_SESSION['oauth_request_token_secret'] =
 $temp['oauth_token_secret'];
} else {
if(!isset($_SESSION['oauth_access_token']) ||
 $_SESSION['oauth_access_token'] == '') {
$connection = new TwitterOAuth($db['twc_api'],
 $db['twc_secret'],
 $_SESSION['oauth_request_token'],
 $_SESSION['oauth_request_token_secret']);
$temp = $connection-getRequestToken();
$_SESSION['oauth_access_token'] = $token =
 $temp['oauth_token'];
$_SESSION['oauth_access_token_secret'] =
 $temp['oauth_token_secret'];
}
}

if(isset($_POST['submit_tweet'])) { # Handle tweet submissions
$connection = new TwitterOAuth($db['twc_api'],
 $db['twc_secret'],
 $_SESSION['oauth_access_token'],
 $_SESSION['oauth_access_token_secret']);
$content = $connection-get('account/verify_credentials');
$msg = $_REQUEST['tweet'];
$update_status = $connection-post('statuses/update', array(
'status' = $msg.' '.bitly($money_url,
 $db['bitly_login'],
 $db['bitly_api'])
));
$tweeted = true;
print_r($update_status);
if($update_status-error) echo 'An error occurred';
else Header('location: '.$reward_url);
}

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


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


Re: [twitter-dev] access token expires ?

2011-05-04 Thread Tom van der Woerdt

Tokens don't expire.

You should check the timezone settings - while it shouldn't matter, 
because a UNIX timestamp is always in UTC, it could be the issue.


Tom


On 5/4/11 3:26 AM, Joshua Nguyen wrote:

I have obtained the access token; then i check for new @mentions twice
a minute. In ~9 hours, Twitter returns an error : Timestamps out of
bounds.

I see this error is relating to the time difference between Twitter
and my system; but i changed nothing in my system time.

Does access token expire ? How can I solve this problem ?

Thanks



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


Re: [twitter-dev] java

2011-05-04 Thread jajati patro
Hi everybody,

Iam sharing my favorites on twitter with all my friends everyday and and
also on other social networking sites but iam unable to check how many of my
friends have liked my posts and have retweeted my favourites, in case of
other sites i can check it but for twitter i can't do that.
I get handsome votes for my posts everywhere except twitter that we can see
Example:  http://www.ibef.org
Can anyone give me some idea.


*Regards*
Koko Peter



On Wed, May 4, 2011 at 3:18 PM, Mukesh Srivastav mukicha...@gmail.comwrote:

 What help do you really needed ?

 -Mukesh


 On Tue, May 3, 2011 at 12:57 PM, Vladimir Dvornik 
 hagen.perep...@gmail.com wrote:

 im too

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


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


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


[twitter-dev] Re: New oAuth Authenticate Page

2011-05-04 Thread Bess
You have to implement your own Twitter logout feature within the app.
I don't think Twitter API will help you. You can consider removing the
OAuth token so it won't be valid any more.

On May 3, 2:00 am, Varun Airon airon.m...@gmail.com wrote:
 Hi Guys,

 I am using Twitter OAuth authentication on Android and it shows a new popup
 window.

 Guys I am facing one Issue using Twitter OAuth authentication. Once logged
 in, I am not able to log out from my twitter account. I am using Signpost
 api. I am using oauth/authorize still not able to enter my another
 credentials.

 Is there any way to get logout from Twitter ??

 Any Help would be appreciated.

 Thanks,

 On Tue, May 3, 2011 at 2:22 PM, Tom van der Woerdt i...@tvdw.eu wrote:

  I don't know whether it's the only working solution, but it is the only
  proper OAuth procedure and as far as I'm aware, also the recommended one.

  Tom

  On 5/3/11 4:50 AM, Bess wrote:

  I'd like to confirm the all the developers here on this mailing list.
  Does the new OAuth redesign page prevent you from using OAuth in a new
  popup window?

  This OAuth hack is officially not going to work going forward?

  Hi Tom van der Woerdt,

  Your recommend using the workaround launching OAuth in a safari
  browser outside the app? Your suggested approach will require user to
  quit and exit app and authenticate with OAuth using device mobile
  browser. Then ask user to go back to the app again. Is this the only
  working solution?

  On Apr 30, 9:09 am, Tom van der Woerdti...@tvdw.eu  wrote:

  I've heard this before.

  It sounds like all UIWebView, WebBrowser and probably Android's WebView
  are blocked. This is definitely a *good* thing for security reasons.

  The workaround I recommend: launch the actual browser, using a
  yourapp:// link (something like myapplication://tokenDone) as the
  return URL. This is a LOT safer for the users.

  Tom

  On 4/30/11 8:55 AM, Bob12345 wrote:

   I'm having this problem too. My login browser inside the phone app is
  now rendered useless, it doesn't even scroll.
  On Apr 28, 1:41 pm, Shannon Whitleyshannon.whit...@gmail.com
   wrote:

  I was surprised to see a newly formatted oAuth Authenticate Page.  The
  new page doesn't account for the scores of oAuth implementations that
  popup a new window.
  There is an ad-hoc standard for the window height and width that makes
  for a decent user experience.  The new format will cause issues for
  the user since it results in page scrolling.
  Can we discuss this new page format and determine if it can be changed
  or if we can have alternate formats?

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

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


[twitter-dev] search functionality using Web Intent

2011-05-04 Thread aallllaann
is this supported? thanks


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


Re: [twitter-dev] hii

2011-05-04 Thread manaf pm
Hi Nilima,

What type of application u would like to build up? Do you have a list of
user names and u want to pull up the tweets whenever any of these user puts
in twitter?



On Wed, May 4, 2011 at 4:39 PM, Nilima Mishra nilimamishr...@gmail.comwrote:

 i was working with twitter API and just wanted to know if there is any
 API to handle responses to twitter from any user.

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




-- 
Regards,
Manaf
9995436207

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


Re: [twitter-dev] search functionality using Web Intent

2011-05-04 Thread Taylor Singletary
There's no intent that launches a search in a pop-up window at this time --
you can easily link to http://twitter.com/search?q=QUERY though. Our older
search widgets have been upgraded to use intents also:
https://twitter.com/about/resources/widgets/widget_search

@episod http://twitter.com/episod - Taylor Singletary


On Tue, May 3, 2011 at 10:15 PM, aaaann allan.asc...@gmail.com wrote:

 is this supported? thanks


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


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


[twitter-dev] New API Console Documentation updates on dev.twitter.com

2011-05-04 Thread Arnaud Meunier
Hey Developers!

You might have noticed that we started updating our developer portal
yesterday, starting with the replacement of the old Twurl console with
Apigee's. If you've never tried Apigee's test console, you should take a
look at it! It's a great tool to test and debug your API calls, and we hope
you'll like it as much as we do: http://dev.twitter.com/console

On the documentation side, we updated our Twitter libraries page, cleaning
and merging our old OAuth + Twitter sections. We know lots of you access our
resources through open-sourced libraries, so let us know if you think we're
missing a good one: http://dev.twitter.com/pages/libraries

We've also been working on our API resources documentation (all of them are
listed in the right sidebar on http://dev.twitter.com/doc):
- Deprecated resources are now grouped in a new Deprecated resources
category (for example http://dev.twitter.com/doc/post/:user/lists). On their
doc pages we've recommended a new or replacement method you should use
instead.
 - New lists resources have been documented (8 List, 5 ListMembers and 4
ListSubscribers resources)
- Redundant streaming resources have been removed and redirected (all
streaming API methods can be found on
http://dev.twitter.com/pages/streaming_api_methods).
- Lots of other API resources have been updated to reflect the way they're
actually working today.

We know accurate documentation is important for you guys, so please let us
know if you think some of our API resources documentation still need some
love. We'd love your feedback :)

Arnaud / @rno

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


[twitter-dev] Re: New API Console Documentation updates on dev.twitter.com

2011-05-04 Thread Robbie Coleman
Wish Google groups had a Like button, because I most definitely like what 
y'all have done here.

THANKS!

+100 ;-}

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


[twitter-dev] Re: New API Console Documentation updates on dev.twitter.com

2011-05-04 Thread Marsh Gardiner
We (I work at @apigee) are refreshing the WADL 
descriptionhttps://github.com/apigee/wadl-library/blob/master/twitter/api.twitter.com.xml
 that 
drives the API Console for Twitter in the next few days to make sure that it 
is as up-to-date as possible.

And if anyone has feedback about what would make the API Console better for 
them, please send us a tweethttp://twitter.com/intent/tweet?text=@40apigee or 
reply here.

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


[twitter-dev] Re: OAuth Authorization screen on Windows Phone 7 (WebBrowser control)

2011-05-04 Thread LoungeFlyZ
Thanks for your assistance Ben... much appreciated.


Would love to get to the bottom of why this is happening on the new
login page vs. the old one (the old one was fine).


On May 3, 6:35 pm, Ben Ward benw...@twitter.com wrote:
 Hi Chris, Matthieu and any others running into this issue:

 On May 3, 2011, at 5:00 PM, LoungeFlyZ wrote:

  Something has changed in the last few days and now the page is
  rendering a little better but scrolling/panning/zooming isnt working
   i cant enter text in the username or password fields.

  Is there anything i can do to help diagnose this issue?

 The update we put out this morning fixes the general rendering of the OAuth 
 screen in WP7 (there's a couple more minor layout improvement tweaks coming 
 as well, but the blocking problem is rectified.) It now works perfectly in 
 Mobile IE on the phone, but for reasons which are inexplicable, loading the 
 exact same page within a phone:WebBrowser control in an application suffers 
 from cropped rendering and the no-scrolling behaviour described here.

 Having spent a few hours in Visual Studio, and reproduced it, it appears you 
 can work around the issue by setting IsScriptEnabled=False on the control.

 I'll continue to investigate what's causing the render bug, but the above fix 
 should hopefully set everybody running again.

 Thanks for your patience, and to Chris and Matthieu for corresponding with me 
 on Twitter whilst debugging the issue.

 Ben

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


[twitter-dev] Re: New API Console Documentation updates on dev.twitter.com

2011-05-04 Thread Marsh Gardiner
Whoops, I put percent-encoded on text of the web intent link where it wasn't 
necessary.

Feedback tweeted @apigee http://twitter.com/intent/tweet?text=@apigee is 
the proper way to send it.

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


Re: [twitter-dev] Re: users/lookup returns duplicates, missing records for valid users

2011-05-04 Thread Taylor Singletary
Hi Adrian,

Glad that you've noticed. We have indeed fixed this bug and thanks for your
patience while we tackled it -- a bit more complex than it appeared on the
surface. If you do continue seeing any issues in this area, please report
them to us so we can take a look.

Thanks,
Taylor

@episod http://twitter.com/episod - Taylor Singletary


On Wed, May 4, 2011 at 12:44 PM, Adrian Petrescu apetr...@gmail.com wrote:

 Hey guys,

 I'm glad to report that, as of 7:00 PM (UTC), the problem seems to have
 disappeared :) No more duplicates, I'm consistently getting back exactly 100
 unique users for every 100 that I request. Thanks for finally getting to
 this!

 Cheers,
 Adrian

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


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


Re: [twitter-dev] Re: users/lookup returns duplicates, missing records for valid users

2011-05-04 Thread Dossy Shiobara

I still have at least 47 Twitter IDs that are affected.  For example:

http://api.twitter.com/1/users/show.xml?user_id=71691990

XML preamble, no XML document.  JSON method returns zero-byte response.


On 5/4/11 3:54 PM, Taylor Singletary wrote:

Hi Adrian,

Glad that you've noticed. We have indeed fixed this bug and thanks for 
your patience while we tackled it -- a bit more complex than it 
appeared on the surface. If you do continue seeing any issues in this 
area, please report them to us so we can take a look.


Thanks,
Taylor

@episod http://twitter.com/episod - Taylor Singletary


On Wed, May 4, 2011 at 12:44 PM, Adrian Petrescu apetr...@gmail.com 
mailto:apetr...@gmail.com wrote:


Hey guys,

I'm glad to report that, as of 7:00 PM (UTC), the problem seems to
have disappeared :) No more duplicates, I'm consistently getting
back exactly 100 unique users for every 100 that I request. Thanks
for finally getting to this!

Cheers,
Adrian
-- 
Twitter developer documentation and resources:

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


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


--
Dossy Shiobara |  He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on. (p. 70)
  * WordPress * jQuery * MySQL * Security * Business Continuity *

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


Re: [twitter-dev] Re: users/lookup returns duplicates, missing records for valid users

2011-05-04 Thread Taylor Singletary
Dossy,

Thanks -- this appears like it may be a different issue, but I'll need more
user_ids to be sure. Can you follow up with me off-list and send me the
array of user_ids that you're seeing this behavior for? epi...@twitter.com

Thanks,
Taylor

@episod http://twitter.com/episod - Taylor Singletary


On Wed, May 4, 2011 at 1:06 PM, Dossy Shiobara do...@panoptic.com wrote:

  I still have at least 47 Twitter IDs that are affected.  For example:

 http://api.twitter.com/1/users/show.xml?user_id=71691990

 XML preamble, no XML document.  JSON method returns zero-byte response.



 On 5/4/11 3:54 PM, Taylor Singletary wrote:

 Hi Adrian,

  Glad that you've noticed. We have indeed fixed this bug and thanks for
 your patience while we tackled it -- a bit more complex than it appeared on
 the surface. If you do continue seeing any issues in this area, please
 report them to us so we can take a look.

  Thanks,
 Taylor

 @episod http://twitter.com/episod - Taylor Singletary


 On Wed, May 4, 2011 at 12:44 PM, Adrian Petrescu apetr...@gmail.comwrote:

 Hey guys,

  I'm glad to report that, as of 7:00 PM (UTC), the problem seems to have
 disappeared :) No more duplicates, I'm consistently getting back exactly 100
 unique users for every 100 that I request. Thanks for finally getting to
 this!

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


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


 --
 Dossy Shiobara |  He realized the fastest way to 
 changedo...@panoptic.com |   is to laugh at your own folly -- then 
 youhttp://panoptic.com/   |   can let go and quickly move on. (p. 70)
   * WordPress * jQuery * MySQL * Security * Business Continuity *

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


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


[twitter-dev] Re: New API Console Documentation updates on dev.twitter.com

2011-05-04 Thread Orian Marx (@orian)
It's great to see progress on this! The real test though will be
whether future reported documentation errors can be fixed immediately
by Twitter staff once verified. Refreshing documentation every 6 - 12
months is something, but far from ideal. Hopefully the recent efforts
by Twitter staff to work on documentation, fix bugs and close out
issues is a sign of continuous improvement. Keep it up! :)

As for feedback on the current documentation: I think the biggest
issue is that the navigation makes it very difficult to find a method
if you don't know exactly what you're looking for. It would be useful
if more than one node in the menu could be expanded at a time (make it
a real tree, with an expand all) and even better would be a single
page with all methods with brief descriptions inline.

@orian

On May 4, 12:50 pm, Arnaud Meunier arn...@twitter.com wrote:
 Hey Developers!

 You might have noticed that we started updating our developer portal
 yesterday, starting with the replacement of the old Twurl console with
 Apigee's. If you've never tried Apigee's test console, you should take a
 look at it! It's a great tool to test and debug your API calls, and we hope
 you'll like it as much as we do:http://dev.twitter.com/console

 On the documentation side, we updated our Twitter libraries page, cleaning
 and merging our old OAuth + Twitter sections. We know lots of you access our
 resources through open-sourced libraries, so let us know if you think we're
 missing a good one:http://dev.twitter.com/pages/libraries

 We've also been working on our API resources documentation (all of them are
 listed in the right sidebar onhttp://dev.twitter.com/doc):
 - Deprecated resources are now grouped in a new Deprecated resources
 category (for examplehttp://dev.twitter.com/doc/post/:user/lists). On their
 doc pages we've recommended a new or replacement method you should use
 instead.
  - New lists resources have been documented (8 List, 5 ListMembers and 4
 ListSubscribers resources)
 - Redundant streaming resources have been removed and redirected (all
 streaming API methods can be found 
 onhttp://dev.twitter.com/pages/streaming_api_methods).
 - Lots of other API resources have been updated to reflect the way they're
 actually working today.

 We know accurate documentation is important for you guys, so please let us
 know if you think some of our API resources documentation still need some
 love. We'd love your feedback :)

 Arnaud / @rno

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


Re: [twitter-dev] Re: Visual refresh of the OAuth screens

2011-05-04 Thread Shannon Whitley
I just noticed that the oAuth window appears to be resetting the height so
that the entire page is visible (no scrolling).  For Firefox and Chrome
that's fixed the issue.  Thank you!

However, there is still a problem with IE.  It is worse now.  The user no
longer sees the scrollbar and cannot login at all.




On Fri, Apr 29, 2011 at 9:21 PM, Stefan stefan.uk...@gmail.com wrote:

 Hi Matt,

 while being an improvement over the old oauth form, this form still
 does not tell the user all she needs to know. In particular, it hides
 the fact that the app will have almost total control over their
 twitter account.

 In my experience, most users are totally unaware of this fact. Of
 course, from a developer's point of view everything that will stop
 user's from authorizing their apps will always be greeted with
 skepticism. However, I hope that Twitter will sooner or later inform
 users that authorizing an app with read/write access can be
 potentially very dangerous -- and doing so in the oauth form would be
 the best place to do so.

 Or we could just hope that we will never see any malicious Twitter
 apps.

 Best regards,
 Stefan

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


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


[twitter-dev] Twitter user online

2011-05-04 Thread Rodrigo Pereira Lyrio
Hi !!!

 How do you know if someone is online on twitter?

Anybody help me


#tranks

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


Re: [twitter-dev] Twitter user online

2011-05-04 Thread Florencia Mincucci
Rodrigo,

In Twitter, there is no 'online'. Some people use it from their phone, or
from other clients, not necessarily web (assuming you mean 'online' = it's
ON the website)

flo.-



On Wed, May 4, 2011 at 7:03 PM, Rodrigo Pereira Lyrio 
rodrigopereiraly...@yahoo.com.br wrote:

 Hi !!!
  *How do you know if someone is online* on *twitter*?
 Anybody help me


 #tranks

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


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


Res: [twitter-dev] Twitter user online

2011-05-04 Thread Rodrigo Pereira Lyrio
yes, I Know
Will be a way to view who is active on twitter,no matter what device it 
accesses

Great!!!

#thanks

 




De: Florencia Mincucci flomincu...@gmail.com
Para: twitter-development-talk@googlegroups.com
Enviadas: Quarta-feira, 4 de Maio de 2011 19:06:42
Assunto: Re: [twitter-dev] Twitter user online

Rodrigo,

In Twitter, there is no 'online'. Some people use it from their phone, or from 
other clients, not necessarily web (assuming you mean 'online' = it's ON the 
website)

flo.-




On Wed, May 4, 2011 at 7:03 PM, Rodrigo Pereira Lyrio 
rodrigopereiraly...@yahoo.com.br wrote:

Hi !!!

 How do you know if someone is online on twitter?

Anybody help me


#tranks

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


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

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


[twitter-dev] Getting past the rate-limiting confusion

2011-05-04 Thread Bizzy User
I have ran into a problem recently when my app (less than a 100 active
users) started giving me rate-limiting exceptions. Reading about rate-
limiting on Twitter and on many threads on this group have completely
confused me by now. Could someone please succinctly describe how rate-
limiting works? I am making authenticated requests for rate-limited
REST methods. Should I be able to make 350 calls per authenticated
user per hour (350*100 per hour at most if that is the case) or should
I expect to be rate-limited based on my application's origin-IP (which
seems to be the behavior we've observed so far) limiting me to only
350 calls per hour? It would be really great to get a clear picture
about this so we know whether or not the time spent in building
applications around the Twitter ecosystem is even worthwhile.

Thanks,
Ravi Giroti
Data Architect
Bizzy Inc.

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


Re: [twitter-dev] is there video or audio link inside

2011-05-04 Thread John Carver
Thanks Taylor.

I'll see how to proceed.

Thanks again for your reply.

2011/5/3 Taylor Singletary taylorsinglet...@twitter.com

 Hi John,

 There's currently no sure-fire way to determine if a link in a Tweet leads
 to renderable content or the disposition of that content as a picture or a
 video.

 However, by using Tweet Entities (
 http://dev.twitter.com/pages/tweet_entities ) you can get expanded
 information about many of the URLs presented in Tweets -- for some URLs like
 t.co-based URLs, they'll also be unshortened. Most API functions that return
 Tweet data respond to an additional query parameter, include_entities=true
 which expands the resource response to include the additional data nodes.

 A great additional thing you can do is keep up to date with the services
 that embed.ly supports ( by using their API every so often to update your
 list of their supported services: http://api.embed.ly/docs/service ) and
 leverage embed.ly to render rich content when its origin is identifiable
 by the tweet entities.

 @episod http://twitter.com/episod - Taylor Singletary


 On Tue, May 3, 2011 at 7:17 AM, John Carver johnlewiscar...@gmail.comwrote:

 Hi people.

 i wonder is there a way to determine if video or audio link inside
 statuse body? especially when short ls provided? i mean is there a n
 indication about?

 Any replies and thoughts would be appreciated.

 Thanks.

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


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


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