[twitter-dev] Re: A new permission level

2011-05-24 Thread janole
Hi Frank,

do you now understand my slightly provoking question about
TweetDeck? ;-)

Ole

On May 19, 11:46 pm, Frank Ash nut...@gmail.com wrote:
 Yes janol, everything but twitters official apps will fail. This is 
 specifically aimed at client apps. It is a way to specifically Target client 
 apps because it deals only with DM's which are mostly viewed through client 
 applications. And specifically you said even tweetdeck, I would say 
 especially tweetdeck. They control the largest amount of users outside of the 
 official app and they have been attacking these large clients for some time 
 now. By directly targeting DM's only it should be obvious to everyone why 
 they are doing this. It's presented as some small change but the fallout for 
 clients will be insane. You can't spin the news in a way to make it sound 
 positive or even necessary. It's going to cause a storm of user confusion, 
 deleted apps, bad reviews, complaints to customer support, uncertainty as to 
 why they have to regive permission and religion their accounts. And if you 
 app holds multiple accounts, your in for a nightmare. No one will want to go 
 through putting all their info back into the app.

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


Re: [twitter-dev] Question about rate limiting

2011-05-24 Thread Tom van der Woerdt
Per user per application. With 1000 users you can use 35 API calls 
per hour.


Tom


On 5/24/11 5:41 AM, Sam Oldak wrote:
I am developing an app that allows users to login with twitter.  I'm 
a bit confused about the rate limiting applied to verifying 
credentials of users.  Is it 350/hour for the application, or per user 
that uses the application?  For example, could 1000 people signin 
within an hour, or am I limited to 350 per hour? --

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


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


[twitter-dev] Re: Twitter Mentions since_id

2011-05-24 Thread Paul
Im using Delphi for coding and to be honest, I started using
http://chuckbeasley.com/index.php/2009/05/28/twitter-for-delphi-code/
, but nothing i found worked 100% so i used the code there and
modified it. At this point i can only use querystring as we decided to
go with it from the start (and the API did say it support it.

Hope this helps?

On May 23, 8:22 pm, Arnaud Meunier arn...@twitter.com wrote:
 Hey Paul,

 If you can, I recommend you use header-based OAuth (passing OAuth related
 parameters in an Authorization header, instead of the query string).
 Which signature base string are you using? Are you using a library? If yes,
 could you share the code you're using? :)

 Arnaud / @rno http://twitter.com/rno







 On Sun, May 22, 2011 at 11:58 PM, Paul jpb@gmail.com wrote:
  Im trying to get mentions using the since_id parameter. If I leave out
  the since_id parameter I get all my mentions, which is correct, but as
  soon as I add the since_id, I get 401, unauthorised. Since Im VERY new
  to the twitter and oAuth API, it might be the way my string is made
  up, but I need some help please.

 http://api.twitter.com/1/statuses/mentions.json?since_id=1oauth_cons...{key}oauth_nonce={key}oauth_signature_method=HMAC-SHA1oauth_signature={key}oauth_timestamp=1306132513oauth_token={key}oauth_version=1.0

  Where {key} are the correct values. I've tried adding the since_id at
  the back but without any luck. From the source code it seems that the
  signature is created on the base code of :
 http://api.twitter.com/1/statuses/mentions.json?since_id=1and
  afterwards the rest is added to that string.

  Any ideas?

  Thank you

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

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


[twitter-dev] incorrect signature with get parameters

2011-05-24 Thread galeyte
Hi again !

I'me still working on my javascript twitter client.
At this time, every request i make using POST method work perfectly,
but i'm experiencing some trouble using GET parameters with oauth.

Here is my code to retweet a message :

var parameters = [oauth_consumer_key=+consumer_key,
oauth_nonce=+nonce, oauth_signature_method=HMAC-SHA1,
oauth_token=+accessor.oauth_token, oauth_timestamp=+time,
 oauth_version=1.0. id= + id];

var baseString = getBaseString(parameters, nonce, time, GET, htts://
api.twitter.com/1/statuses/+id+.json);
var signature = b64_hmac_sha1(consumer_secret +  +
accessor.oauth_token_secret, baseString);

As i'm having the same problems with direct messages, i assume my
mistake is in the parameters part or the basestring generation.

This signature method perfectly works with POST (i'm currently using
it for timeline and mentions).

Thanks for helping me !

--
gaetan

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


[twitter-dev] Re: A new permission level

2011-05-24 Thread Mark Pavlidis
According to Matt's response above When the website is busy, it can
take a
little bit longer for changes to your application to be reflected. If
you still haven't see then change try setting it again.

On May 19, 4:45 pm, janole s...@mobileways.de wrote:
 HiMark,

 I am still having the same problem like TheGuru. I've created a new
 app with RWPM and modified an old app. Both still show as ... not be
 able to: Access your private messages.

 How did you manage to get it to work?

 Ole

 On May 19, 8:13 pm,MarkPavlidismark.pavli...@gmail.com wrote:



  TheGuru,
  I set my app to RWPM permission at dev.twitter.com/apps and now it
  displays as such on the OAuth login page and on twitter.com/settings/
  applications.

  On May 19, 2:04 pm, TheGuru jsort...@gmail.com wrote:

   That is to be expected regarding the 401.

   However, while I see the changes on the application page of a
   particular account, the OAuth login screen at Twitter for my
   application still states:

   This application will not be able to:

       Access your private messages.
       See your Twitter password.

   Did you make any other changes other than upading the privilege level
   for your application at dev.twitter.com?

   On May 19, 12:49 pm,MarkPavlidismark.pavli...@gmail.com wrote:

Yes i've seen the changes on my applications page and on the OAuth
login page. Further, my other device that was logged in using the old
Read,Write token was getting Unauthorized (401) responses as that
token was revoked an replaced with the Read, Write, Private message
token.  Should be handled appropriately if you are a dev with an app
on multiple platforms.

   Mark

On May 19, 9:42 am, TheGuru jsort...@gmail.com wrote:

 +1.  I'm seeing the same thing and not sure if it is a waiting game or
 something that needs adjusted in the flow from the client side as
 well.

 Any insight is appreciated.

 Has anyone who adjusted their app permissions on dev.twitter.com seen
 this reflected on the OAuth login page at Twitter?

 On May 19, 2:02 am, Adriaan Pelzer adri...@wewillraakyou.com wrote:

  Hi Matt,

  I have started implementing these changes. The app's permissions 
  setting is
  set to Read, Write  DM (the new one).

  However, when the user gets redirected to the auth page, it still 
  indicates
  that the app will not be able to read or send DM's. Is this 
  something that
  will automatically happen when you activate it, or is there a 
  permissions
  parameter I should send to the auth page?

  Adriaan Pelzer

   //))//\\//\\||//
  //\\//7//7///\\

  putting you in touch with your crowdshttp://www.wewillraakyou.com
  http://www.wewillraakyou.comtwitter:http://www.twitter.com/adriaan_pelzer
  linkedIn:http://uk.linkedin.com/pub/adriaan-pelzer/4/874/860/
  skype: adriaan_pelzer
  http://uk.linkedin.com/pub/adriaan-pelzer/4/874/860/
  +4478 7978 1743

  On Wed, May 18, 2011 at 6:01 PM, Matt Harris 
  thematthar...@twitter.comwrote:

   Hey everyone,

   We recently updated our OAuth screens to give users greater 
   transparency
   about the level of access applications have to their accounts. 
   The valuable
   feedback Twitter users and developers have given us played a 
   large part in
   that redesign and helped us identify where we can do more.

   In particular, users and developers have requested greater 
   granularity for
   permission levels.

   In response to this feedback, we have created a new permission 
   level for
   applications called “Read, Write  Direct Messages”. This 
   permission will
   allow an application to read or delete a user's direct messages. 
   When we
   enforce this permission, applications without a “Read, Write  
   Direct
   Messages” token will be unable to read or delete direct messages. 
   To ensure
   users know that an application is receiving access to their 
   direct messages,
   we are also restricting this permission to the OAuth /authorize 
   web flow
   only. This means applications which use xAuth and want to access 
   direct
   messages must send a user through the full OAuth flow.

   What does this mean for your application?
   If you do not need access to direct messages: you won’t need to 
   make any
   changes to your application. When we enforce the new permission 
   level your
   read or read/write token will automatically lose access to direct 
   messages.

   If you do need access to direct messages: you will need to edit 
   your
   application record onhttps://dev.twitter.com/appsandchangethe
   permission level of your application to “Read, Write and Direct 
   Messages”.
   The new permission will not affect existing tokens which means 
   existing
   

[twitter-dev] Web page to see who I have blocked?

2011-05-24 Thread TJ Luoma
Is anyone aware of an oAuth-enabled web service which will show me who
I have blocked on Twitter?

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


[twitter-dev] Multiple Home timelines on one webpage

2011-05-24 Thread roderick
Is it possible to show multiple home timelines from 2 (or more)
different accounts.

For example I want to access my Business twitter account and my
personal twitter account from one webpage. Please tell me if this
possible and how!

Thank you!

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


Re: [twitter-dev] Abridged summary of twitter-development-talk@googlegroups.com - 2 Messages in 2 Topics

2011-05-24 Thread charanteja janagama
i want to know about android


On Sun, May 22, 2011 at 5:16 AM, 
twitter-development-talk+nore...@googlegroups.com wrote:

   Today's Topic Summary

 Group: http://groups.google.com/group/twitter-development-talk/topics

- Response from 
 http://api.twitter.com/oauth/authorize#13014f3b011b61b9_group_thread_0[1 
 Update]
- A new permission level #13014f3b011b61b9_group_thread_1 [1 Update]

   Topic: Response from 
 http://api.twitter.com/oauth/authorizehttp://groups.google.com/group/twitter-development-talk/t/423a738b54ba74b

Taylor Singletary taylorsinglet...@twitter.com May 21 03:22PM -0700 
 ^#13014f3b011b61b9_digest_top

It's executed as a browser-based redirect rather than a request
originating
from Twitter's servers.

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



 more...http://groups.google.com/group/twitter-development-talk/msg/1d8480e7da6b2c79

   Topic: A new permission 
 levelhttp://groups.google.com/group/twitter-development-talk/t/e954fc0f8b5aa6ec

Frank Ash nut...@gmail.com May 20 08:29PM -0700 
 ^#13014f3b011b61b9_digest_top

Did anyone else change their permission on Twitter to rwdm and now
their app doesn't show anything? I changed mine, and today I had to
reauthorized my account because nothing would load inTo the app.

 more...http://groups.google.com/group/twitter-development-talk/msg/1e0b9d069d64e063

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


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


[twitter-dev] Twitter API for iPhone Application

2011-05-24 Thread Davinder Singh
Requesting help to find a suitable API to integrate with my Twitter
account.

Thanks in advance!

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


[twitter-dev] Can i tweet to the perticular User....

2011-05-24 Thread nilesh patel
Hi,

I want to give the reply of perticular tweet is it possible to do???
if yes then provide me the way to implement it

Thanks in advance

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


[twitter-dev] Re: incorrect signature with get parameters

2011-05-24 Thread galeyte
I've tried using POST and GET method.
And i've seen the htts: mistake, but doesn't change anything. :(

On May 24, 2:25 pm, galeyte gaetan...@gmail.com wrote:
 Hi again !

 I'me still working on my javascript twitter client.
 At this time, every request i make using POST method work perfectly,
 but i'm experiencing some trouble using GET parameters with oauth.

 Here is my code to retweet a message :

 var parameters = [oauth_consumer_key=+consumer_key,
 oauth_nonce=+nonce, oauth_signature_method=HMAC-SHA1,
 oauth_token=+accessor.oauth_token, oauth_timestamp=+time,
          oauth_version=1.0. id= + id];

 var baseString = getBaseString(parameters, nonce, time, GET, htts://
 api.twitter.com/1/statuses/+id+.json);
 var signature = b64_hmac_sha1(consumer_secret +  +
 accessor.oauth_token_secret, baseString);

 As i'm having the same problems with direct messages, i assume my
 mistake is in the parameters part or the basestring generation.

 This signature method perfectly works with POST (i'm currently using
 it for timeline and mentions).

 Thanks for helping me !

 --
 gaetan

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


[twitter-dev] Re: direct messages / conversations

2011-05-24 Thread galeyte
Hi

Sorry for my 2nd post, i did not see taylor's answer on my computer.
It's better this way so i can have multiple filtering method for
users.

Thanks

On May 13, 12:03 am, Orian Marx (@orian) or...@orianmarx.com
wrote:
 No, there is no API method which will do what you are asking for. As
 Taylor says, you need build this up for yourself as best you can using
 the sent / received DMs endpoints.

 On May 12, 10:19 am, galeyte gaetan...@gmail.com wrote:







  ...
  So i guess there's no other way ?

  On May 11, 5:58 pm, galeyte gaetan...@gmail.com wrote:

   Hi,

   I'm building a qml/js app.
   I'm now getting direct messages and i'm wondering if there's any way
   to get direct messages by sender screen names or id.
   IBy now i'm requesting /dirtect_messages.json and /direct_messages/
   sent.json and merging the results together to build a tree and i would
   really appriciate another easiest way to do it.

   Thanks,

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


[twitter-dev] updates status problem with OAuth when include áóí ..etc

2011-05-24 Thread Javier Solís
 
I when is sent a update status call with OAuth than  include special 
characters like óíú...  Twitter raise a 401 error.
 
I tried with diferent encoding  tricks,   and stop the error 401, but the 
characters cannot display fine in twitter  status.
 
If you know a new version of OAuth withot this problems, please tell me.
 
Thanks

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


Re: [twitter-dev] Twitter API for iPhone Application

2011-05-24 Thread Damon Parker
What are your constraints, coding language, etc.?

What do you want to do with the API?


On Tuesday, May 24, 2011 at 8:50 AM, Davinder Singh wrote: 
 Requesting help to find a suitable API to integrate with my Twitter
 account.
 
 Thanks in advance!
 
 -- 
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 https://groups.google.com/forum/#!forum/twitter-development-talk
 

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


Re: [twitter-dev] Twitter API for iPhone Application

2011-05-24 Thread Jules Damji
Davinder,

There are client libraries, as noted on the client library page, 
https://dev.twitter.com/pages/libraries#objectivec, for i-Phone. A good place 
to start and examine if they meet your requirements. 

Also, elaborating a bit on what your requirements are, or what you wish to 
accomplish may help those on the forum to share their experience.

Jules

--
The Best Ideas Are Simple


On May 24, 2011, at 6:50 AM, Davinder Singh d.si...@ldh.01s.in wrote:

 Requesting help to find a suitable API to integrate with my Twitter
 account.
 
 Thanks in advance!
 
 -- 
 Twitter developer documentation and resources: https://dev.twitter.com/doc
 API updates via Twitter: https://twitter.com/twitterapi
 Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
 Change your membership to this group: 
 https://groups.google.com/forum/#!forum/twitter-development-talk

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


[twitter-dev] sync followers/friends

2011-05-24 Thread joelkeepup
Hi,

I dont see anyway in the api to get delta/changes on friends/
followers, or changed date of followers.

Im trying to keep some in sync, and some people have 50k followers,
its very inefficient for me to go through the whole list and figure
out which are added and which are deleted etc...

Any suggestions, any other apis that can be used??

thanks
Joel

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


Re: [twitter-dev] Web page to see who I have blocked?

2011-05-24 Thread Arnaud Meunier
Hey,

You could use one of these two API endpoints to retrieve who the
authenticated user (i.e. you) is blocking:

- /1/blocks/blocking/ids to retrieve an array of user ids (more info on
http://dev.twitter.com/doc/get/blocks/blocking/ids)
- /1/blocks/blocking to retrieve the user objects (more info on
http://dev.twitter.com/doc/get/blocks/blocking)

Hope that helps,
Arnaud / @rno http://twitter.com/rno



On Tue, May 24, 2011 at 7:03 AM, TJ Luoma luo...@gmail.com wrote:

 Is anyone aware of an oAuth-enabled web service which will show me who
 I have blocked on Twitter?

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


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


Re: [twitter-dev] Web page to see who I have blocked?

2011-05-24 Thread TJ Luoma
Thanks! I was aware of those endpoints, and have used them before. I
was just hoping that someone had already made a nice webpage GUI to it to
prevent me from thinking about building one :-)

TjL


On Tue, May 24, 2011 at 1:05 PM, Arnaud Meunier arn...@twitter.com wrote:
 Hey,
 You could use one of these two API endpoints to retrieve who the
 authenticated user (i.e. you) is blocking:
 - /1/blocks/blocking/ids to retrieve an array of user ids (more info on
 http://dev.twitter.com/doc/get/blocks/blocking/ids)
 - /1/blocks/blocking to retrieve the user objects (more info on
 http://dev.twitter.com/doc/get/blocks/blocking)
 Hope that helps,
 Arnaud / @rno


 On Tue, May 24, 2011 at 7:03 AM, TJ Luoma luo...@gmail.com wrote:

 Is anyone aware of an oAuth-enabled web service which will show me who
 I have blocked on Twitter?

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

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


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


[twitter-dev] MyTwitter Android from Marakana

2011-05-24 Thread marcio
Hello

Im working on the twitter app for Android following the marakana example on 
their website.  Im having trouble configuring it to work with my twitter 
account.  Does anyone have experience with this example?

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


Re: [twitter-dev] Re: incorrect signature with get parameters

2011-05-24 Thread Arnaud Meunier
Hey there,

The URL you're passing to your getBaseString function is not correct. The
correct endpoint to ReTweet a tweet is /1/statuses/retweet/:id (cf
http://dev.twitter.com/doc/post/statuses/retweet/:id). Also remove the id
part in your parameters.

Arnaud / @rno http://twitter.com/rno



On Tue, May 24, 2011 at 7:57 AM, galeyte gaetan...@gmail.com wrote:

 I've tried using POST and GET method.
 And i've seen the htts: mistake, but doesn't change anything. :(

 On May 24, 2:25 pm, galeyte gaetan...@gmail.com wrote:
  Hi again !
 
  I'me still working on my javascript twitter client.
  At this time, every request i make using POST method work perfectly,
  but i'm experiencing some trouble using GET parameters with oauth.
 
  Here is my code to retweet a message :
 
  var parameters = [oauth_consumer_key=+consumer_key,
  oauth_nonce=+nonce, oauth_signature_method=HMAC-SHA1,
  oauth_token=+accessor.oauth_token, oauth_timestamp=+time,
   oauth_version=1.0. id= + id];
 
  var baseString = getBaseString(parameters, nonce, time, GET, htts://
  api.twitter.com/1/statuses/+id+.json);
  var signature = b64_hmac_sha1(consumer_secret +  +
  accessor.oauth_token_secret, baseString);
 
  As i'm having the same problems with direct messages, i assume my
  mistake is in the parameters part or the basestring generation.
 
  This signature method perfectly works with POST (i'm currently using
  it for timeline and mentions).
 
  Thanks for helping me !
 
  --
  gaetan

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


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


Re: [twitter-dev] updates status problem with OAuth when include áóí ..etc

2011-05-24 Thread Arnaud Meunier
Hey Javier,

Looks like you're not encoding these characters properly, but it's going to
be hard to help you without more details.

What do you mean by a new version of OAuth? Did you have a chance to take
a look on our Twitter libraries page?
https://dev.twitter.com/pages/libraries

Arnaud / @rno http://twitter.com/rno



On Tue, May 24, 2011 at 8:22 AM, Javier Solís jso...@tssolutions.co.crwrote:


 I when is sent a update status call with OAuth than  include special
 characters like óíú...  Twitter raise a 401 error.

 I tried with diferent encoding  tricks,   and stop the error 401, but the
 characters cannot display fine in twitter  status.

 If you know a new version of OAuth withot this problems, please tell me.

 Thanks

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


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


Re: [twitter-dev] Can i tweet to the perticular User....

2011-05-24 Thread Arnaud Meunier
Hey,

Don't know if that would meet your needs, but the easiest way to implement
this would be to use Web Intents. Cf
https://dev.twitter.com/pages/intents#tweet-intent

Arnaud / @rno http://twitter.com/rno



On Tue, May 24, 2011 at 7:24 AM, nilesh patel nileshpatel2...@gmail.comwrote:

 Hi,

 I want to give the reply of perticular tweet is it possible to do???
 if yes then provide me the way to implement it

 Thanks in advance

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


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


[twitter-dev] API problem following more users, with only 4 users being followed

2011-05-24 Thread Guillermo Winkler
The follow user API is failing on my with the result:

Could not follow user: You are unable to follow more people at this
time

The thing is I'm only following 5 users.

It's a user we have for integration-testing, it runs a set of test
cases everytime our product is built. So it may follow/unfollow the
same users a few times a day, but I really don't get why the limit is
being imposed, since it's real far from being spammy following.

How do you suggest I may avoid this error and still be able to test my
app is still working?

Thanks,
Guille

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


[twitter-dev] Re: Problem getting request tokens on REST API

2011-05-24 Thread timw4mail
I've tried just basic connections, even with another library, and I can't 
get request tokens. I tried making an app on my other twitter account. 
Didn't work. I tried just a standalone page to get a request token. No 
matter what I try I get a 401 Failed to validate oauth signature and 
token. It seems any app from @timw4mail or @timw4square just isn't allowed 
to use Oauth 1a, and it's been the case for over a week. 

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


[twitter-dev] statuses/show rate limiting clarification

2011-05-24 Thread Charles
Hi,

Going through the docs on statuses/show (http://dev.twitter.com/doc/
get/statuses/show/:id) we find ourselves going around in circles with
a particular issue, and were wondering if someone could help us out.
Specifically we're confused about what authentication does and does
not allow us to do vis-a-vis rate limiting (as authentication is not
required to make this call).  I realize that's kind of a jargony
sentence, so here's a completely fictional example, the answer to
which should answer our question:

Say we have N authenticated users using our application, and that we
have been archiving statuses by ID (and only ID) coming through their
public timelines for some arbitrarily long period of time, such that
we have stored thousands of status ID's per user.  Now, we'd like to
provide a feature allowing our users to recall various of these
statuses, and since we've only been storing them by ID, we'll be using
the statuses/show method to do this.  The rate-limiting doc (http://
dev.twitter.com/pages/rate-limiting) specifies that no more than 150
anonymous requests, or 350 requests via OAuth can be made per hour.
However, the statuses/show documentation explains that authentication
is not required.  Assuming we weren't doing any cacheing, what is the
maximum number of requests our application could make to the statuses/
show method, and how does it scale?  Specifically, could we make:
* 150 requests / hour (because authentication is not required, might
all calls count as being anonymous)
* 350 requests / hour (from the authenticated account that administers
our application)
* 350 • N requests / hour (making each set of requests on behalf of
each of our authenticated users)

And, lastly, does the status' relation to a given user affect
anything?  That is, if the status appeared in user n1's timeline,
would a request for that status via statuses/show be treated any
differently if it were made on behalf of user n1, as compared to some
other user (nx) or simply by the application administrator?

Please let me know your thoughts.  Thanks.

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


[twitter-dev] OAuth problem

2011-05-24 Thread Joseph
Hi
i am a newbie here so please... patience
I have a simple problem
i am using Twitter4j as a client library (just a detail as my problem
does not related to it)

twitter4j does its job, i can get a request token , i can get an
authorize url , i can even get a valid access token

all works fine and i get back an access token, and when i check my
twitter application setting, i get my application authorized
so far so good
BUT
when i click on the sign with twitter link again (the link pointing to
the authorize url), it repeat the same process
and redirect me to the twitter authorize page (redisplay the page
again) instead of redirecting
me to my site again as i previously authorized the application for
this account
WHAT IS HAPPENING?

in my situation , it keep representing the authorize screen to the
user every time he clicks the authURL link
this happen even if the application is listed in the user's connected
application
and every time it return the same access token, so this is recorder
and stored at twitter

SO WHAT IS WRONG?

it seams that twitter cannot recognize that the client has benn
authorized before and represent the authorize screen again
it may be something related to how twitter stores and interact with
cookies
i cannot figure out what is happening, i used another account from
another browser and the problem persist

PLEASE HELP

Thanks
Joe

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


[twitter-dev] Re: Multiple Home timelines on one webpage

2011-05-24 Thread Mohan Arun
 Is it possible to show multiple home timelines from 2 (or more)
 different accounts.

I guess this is only possible with third-party twitter client like
Hootsuite.

- Mohan

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


[twitter-dev] Re: how to get the replies by specified status ID

2011-05-24 Thread LoVenus
Thank you very much! It's helpful!

On Apr 26, 10:58 pm, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 Hi LoVenus,

 There's no way to accomplish this directly from the Twitter REST API at this
 time -- it would be possible to accomplish this for a single user using User
 Streams but you would have to capture the entire streamed sequence of the
 originating tweet and each subsequent reply, which all would be streamed.
 Handling this at scale for multiple users would require Site Streams which
 is still in beta. Handling this ad-hoc for any given user is difficult.
 There are some third party services that provide some conversation thread
 mapping.

 Finally, there's also the GET related_results/show method lightly documented
 here:http://groups.google.com/group/twitter-development-talk/browse_thread...
 this method potentially can return replies for a certain status, but
 you
 can't rely on it to do so as a reply is just one kind of related result that
 could be returned. If you use this method, be aware that it's not supported
 as well as other hardened v1 API methods.

 Thanks,
 Taylor

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







 On Tue, Apr 26, 2011 at 4:37 AM, LoVenus pzunderta...@hotmail.com wrote:
  how to get the replies by specified status ID?

  In GET statuses/mentions, it says:
  【Returns the 20 most recent mentions (status containing @username) for
  the authenticating user.】

  how can I get the replies by specified status ID by this API?

  --
  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: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: Additional attribute in share link

2011-05-24 Thread Ken D.
Looks like a 13-digit timestamp - e.g. Python millis()

On May 23, 10:09 pm, Tony House tonyho...@gmail.com wrote:
 I'm looking through the FAQ for the tweet button and am not seeing one
 of the attributes listed.
 On the page, the different examples have an underscore and equal and a
 13 digit number (e.g.http://twitter.com/share?_=1306165040196).  It
 looks like the first 10 digits could be a unix timestamp, but I'm not
 100% sure about that.  It also means the three digits at the end (196)
 are something else.
 I couldn't find anything in FAQ, so I'm hoping someone can help.  What
 is this number?
 Thanks.
 Tony

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