[twitter-dev] Re: Looking for Java class/package for Firehose

2010-10-02 Thread D. Smith
If I was looking for the least efficient way to parse streaming API, I
would go with this solution, but since I am looking for more
efficient, I decided to use a language that supports multithreading
and Java is one of those languages.

On Oct 1, 6:52 pm, Justin justin.carl...@gmail.com wrote:
 Alternatively, you can just dump to disk and have a separate process
 read through the queue.

 That would be ideal as you wouldn't lose any messages if your database
 goes down. (I guess I'm assuming your db is on it's own machine).

 On Oct 1, 12:11 pm, M. Edward (Ed) Borasky zn...@borasky-



 research.net wrote:
  Yeah, the Perl library uses AnyEvent to achieve threading.
  --
  M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb

  A mathematician is a device for turning coffee into theorems. - Paul Erdos

  Quoting D. Smith emai...@sharedlog.com:

   perl has the same limitation as php, I decided to use Java for
   streaming API because of support for threads.

   On Sep 30, 12:54 pm, M. Edward (Ed) Borasky zn...@borasky-
   research.net wrote:
   I've used the Perl AnyEvent::Twitter::Stream CPAN module and the Ruby  
   tweetstream gem. Both of them work just fine, although I think the  
   error handling in the Perl one may have a glitch. The Perl one is  
   lighter on both CPU and RAM use, but that's the nature of Perl vs.  
   Ruby, not something in the library codes themselves.

   I don't know if either of them has been updated to work with the  
   official User Streams endpoint yet - last time I looked at User  
   Streams, I used cURL from the command line.

   I'll probably get back to my User Streams project next week - I've  
   been pushing to get my appliances in shape for the SUSE Disters  
   contest entry deadline, which is tomorrow. ;-)

   And yes, I'd still like the option to get spritzer data in User  
   Streams without having to open another connection. But I'm probably  
   the only one. ;-)
   --
   M. Edward (Ed) Boraskyhttp://borasky-research.nethttp://twitter.com/znmeb

   A mathematician is a device for turning coffee into theorems. - Paul 
   Erdos

   Quoting Taylor Singletary taylorsinglet...@twitter.com:

While it's in Scala, not Java, I've heard good things about
@alejandrocrosa's Scala-TwitterStreamer :
   http://github.com/acrosa/Scala-TwitterStreamer--youshould be able
to make use of it fairly easily in a Java environment.

We'd love to start collecting libraries built around the Streaming API.

Regardless of language, does anyone have libraries to share with 
everyone?

Taylor

On Thu, Sep 30, 2010 at 8:25 AM, D. Smith emai...@sharedlog.com 
wrote:
Hello there!
I am pretty experienced with using PHP for Twitter, but now I want to
use firehose and Java seems to be a much better fit because of
'Threads', so I can listen to Firehose the pass a job to a thread and
return right away. PHP cannot do that, well, maybe to some crazy hacks
that I am not too impressed with.

Anyway, can someone recommend a good Java client that does that,
ideally where I can just extend the class to write my own runnable
classes.

thanks a lot.

--
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 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] updating a status receiving 401 unauthorized

2010-10-02 Thread eMailaya
hi

i deleted my app. re-created it (again as read-write) and gave myself
an authorization to use it. now i can receive my statuses and my
followees statuses as many times as i want, i can even get my profile
image. all is working fine!

now i want to update a new status. made sure my info is correct (fact
is i can receive any info i want) and POSTed to:
http://api.twitter.com/1/statuses/update.xml, this: status=This+status
+is+for+rent

with the following headers:
Authorization: OAuth oauth_consumer_key=my consumer
key,oauth_signature_method=HMAC-
SHA1,oauth_timestamp=1286028752,oauth_nonce=074D9949F81AE0485176287E05A1FCE7,oauth_version=1.0,oauth_token=the
correct oauth token, same as when receiving
data,oauth_signature=oauth signature as when receiving data

but guess what: i get 401 unauthorized. what am i missing?
is something missing from the above headers?
or maybe it's something else?
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] Ultimately send my twitter followers direct messages from my application

2010-10-02 Thread Thomas Mango
I think what you described is exactly right. You're looking for an app 
that users can authorize with using OAuth. Once they're redirected back 
to your site (part of the OAuth process), you can create a user account 
for them locally and ask them to follow your Twitter account. Because 
they've authorized your application, when they agree to follow you, you 
can use the /friendships/create API method on their behalf.


Relevant API documentation:
http://dev.twitter.com/pages/auth
http://dev.twitter.com/doc/post/friendships/create

Dialflow wrote:

Hi:

I was wondering if any one could suggest an elegant approach to
ultimately sending direct messages to my Twitter followers from my
application.

I'd like people that join web site to do the following:

 From their member page on my site, I'd like for them to click a
Twitter follow button, go to Twitter, follow me, then return to their
member page on my site.

After they do this, I want capture their twitter ID and associate it
with their user account on my site so I can send them direct messages
from my application.

I'd really appreciate an elegant approach to solving this.

I guess I'm looking for an answer like: Use oAuth to have the user
authorize your app on Twitter, then redirect redirect back to your
app, click a twittter follow button, and extract their Twitter ID from
x_file and then

My days of programming are way behind me so I hope that makes some
sense.

Thanks so much.
Curtis




--
Thomas Mango
tsma...@gmail.com


--
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] updating a status receiving 401 unauthorized

2010-10-02 Thread Tom van der Woerdt
The header looks fine, so I guess it's a signature error. What is your
Base String used to make the signature?

Tom



On 10/2/10 4:20 PM, eMailaya wrote:
 hi
 
 i deleted my app. re-created it (again as read-write) and gave myself
 an authorization to use it. now i can receive my statuses and my
 followees statuses as many times as i want, i can even get my profile
 image. all is working fine!
 
 now i want to update a new status. made sure my info is correct (fact
 is i can receive any info i want) and POSTed to:
 http://api.twitter.com/1/statuses/update.xml, this: status=This+status
 +is+for+rent
 
 with the following headers:
 Authorization: OAuth oauth_consumer_key=my consumer
 key,oauth_signature_method=HMAC-
 SHA1,oauth_timestamp=1286028752,oauth_nonce=074D9949F81AE0485176287E05A1FCE7,oauth_version=1.0,oauth_token=the
 correct oauth token, same as when receiving
 data,oauth_signature=oauth signature as when receiving data
 
 but guess what: i get 401 unauthorized. what am i missing?
 is something missing from the above headers?
 or maybe it's something else?
 thanks!
 

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


[twitter-dev] Twitter4J 2.1.5 is out - supports production User Stream endpoint

2010-10-02 Thread Yusuke Yamamoto
Hi all,

Twitter4J is an unofficial, open-sourced, mavenized and Google App 
Engine/Android ready Java library for the Twitter API released under the BSD 
license.

I'm glad to announce the immediate availability of Twitter4J version 2.1.5.
- Download:
http://twitter4j.org/en/index.html#download

- Release Notes:
http://tinyurl.com/26bh52m

It's also available at the Maven central repository.
http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/

Please refer the Support API matrix for supported methods.
http://twitter4j.org/en/api-support.html

For Twtter4J specific issues/questions, please use the Twitter4J mailing list 
(NOT twitter-development-talk).
http://twitter4j.org/en/index.html#mailingList
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/

-- 
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: updating a status receiving 401 unauthorized

2010-10-02 Thread eMailaya
thank you for your reply

the base string is:
POSThttp%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Fupdate.xmloauth_consumer_key%3Dcons key%26oauth_nonce
%3D266F69C67017B331830A191EB54AB4C5%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1286032490%26oauth_token%3Doauth token
%26oauth_version%3D1.0%26status%3DThis%2520status%2520is%2520for
%2520rent

then i do:
EncodeBase64(EncryptHMACSha1(base, consec)) - consec contains:
urlencode(consumersecret)urlencode(tokensecret))


On Oct 2, 4:23 pm, Tom van der Woerdt i...@tvdw.eu wrote:
 The header looks fine, so I guess it's a signature error. What is your
 Base String used to make the signature?

 Tom

 On 10/2/10 4:20 PM, eMailaya wrote:

  hi

  i deleted my app. re-created it (again as read-write) and gave myself
  an authorization to use it. now i can receive my statuses and my
  followees statuses as many times as i want, i can even get my profile
  image. all is working fine!

  now i want to update a new status. made sure my info is correct (fact
  is i can receive any info i want) and POSTed to:
 http://api.twitter.com/1/statuses/update.xml, this: status=This+status
  +is+for+rent

  with the following headers:
  Authorization: OAuth oauth_consumer_key=my consumer
  key,oauth_signature_method=HMAC-
  SHA1,oauth_timestamp=1286028752,oauth_nonce=074D9949F81AE0485176287E05A1FCE7,oauth_version=1.0,oauth_token=the
  correct oauth token, same as when receiving
  data,oauth_signature=oauth signature as when receiving data

  but guess what: i get 401 unauthorized. what am i missing?
  is something missing from the above headers?
  or maybe it's something else?
  thanks!

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


[twitter-dev] list creation failing in API #newtwitter

2010-10-02 Thread Damon Clinkscales
list creation method is giving me: Something is technically wrong.

http://api.twitter.com/1/user/lists.xml

anybody else?

thanks,
/damon

-- 
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: list creation failing in API #newtwitter

2010-10-02 Thread Damon Clinkscales
Please disregard.

The #newtwitter issue was the 20 limit (perhaps the error should mention that?).

The API, I'm not sure but it seems to be working now.

thanks,
/damon

On Sat, Oct 2, 2010 at 8:52 AM, Damon Clinkscales sca...@pobox.com wrote:
 list creation method is giving me: Something is technically wrong.

 http://api.twitter.com/1/user/lists.xml

 anybody else?

 thanks,
 /damon

-- 
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] Ultimately send my twitter followers direct messages from my application

2010-10-02 Thread Dean Collins
Thomas are there restrictions on what/how many direct messages can be sent?

I haven't been paying attention with twitter for a while but I thought twitter 
banned automatic direct messages.

Thanks in advance,
Dean



I think what you described is exactly right. You're looking for an app 
that users can authorize with using OAuth. Once they're redirected back 
to your site (part of the OAuth process), you can create a user account 
for them locally and ask them to follow your Twitter account. Because 
they've authorized your application, when they agree to follow you, you 
can use the /friendships/create API method on their behalf.

Relevant API documentation:
http://dev.twitter.com/pages/auth
http://dev.twitter.com/doc/post/friendships/create

Dialflow wrote:
 Hi:

 I was wondering if any one could suggest an elegant approach to
 ultimately sending direct messages to my Twitter followers from my
 application.

 I'd like people that join web site to do the following:

  From their member page on my site, I'd like for them to click a
 Twitter follow button, go to Twitter, follow me, then return to their
 member page on my site.

 After they do this, I want capture their twitter ID and associate it
 with their user account on my site so I can send them direct messages
 from my application.

 I'd really appreciate an elegant approach to solving this.

 I guess I'm looking for an answer like: Use oAuth to have the user
 authorize your app on Twitter, then redirect redirect back to your
 app, click a twittter follow button, and extract their Twitter ID from
 x_file and then

 My days of programming are way behind me so I hope that makes some
 sense.

 Thanks so much.
 Curtis



-- 
Thomas Mango
tsma...@gmail.com


-- 
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] add list members

2010-10-02 Thread Damon Clinkscales
I've tried both create_all.xml and members.xml to add multiple or just
one member to a list.  The list is owned by me and exists.

http://dev.twitter.com/doc/post/:user/:list_id/create_all
or
http://dev.twitter.com/doc/post/:user/:list_id/members

When the call goes through, the response is a normal #newtwitter web
page instead of an API response.

Is this a known issue?

thanks,
/damon

-- 
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: Comparing Friendship

2010-10-02 Thread Ken D.
Interesting! - thanks for sharing. As they say, one man's terrorist is
another man's freedom fighter.

I've just been followed by someone selling business cards. They are
following 51,000 and are followed by 54,000. Well, I doubt they are
reading many of those tweets, they are too busy selling business
cards. Their own stream consists of recycled aphorisms and I doubt
many people are reading that. Funnily, three people we follow also
follow them, but this can only be due to auto-following. It's all
meaningless, and worse, it's a waste of resources. When Twitter is
having capacity issues I can't help but think of that.

It's also too bad when one's following list is just a mirror of one's
followers, because following lists can be a great source of new
accounts to follow. The list of accounts we follow is likely to
interest our followers, and we now make it available as a Twitter list
that can be followed. My observation is that carefully curated
followings are the best lists on Twitter. We'll soon be releasing our
tool that lets anyone grab a following and make a followable list from
it. Of course, the following has to be less than 500, but that's about
the maximum number of accounts I could follow...

On Sep 30, 5:19 pm, D. Smith emai...@sharedlog.com wrote:
 It's important to unfollow someone who unfollowed you. I must
 emphasize here that I am not talking about unfollowing someone who is
 not following me, but only those who used to follow me, then
 unfollowed. In this case it's very important to unfollow them right
 away. This is important because otherwise the schemers that follow
 you, then get a follow-back and then unfollow you win.
 Remember kids: if you don't auto unfollow-back that the terrorists
 will win.

 And that's not a good thing. Also if you want to follow over 2000
 people you must keep you following/followers ratio really tight and
 that's why I would need to unfollow people who are not following me
 back. It's really simple.

 There are good ways to follow and read messages from many thousands of
 people. One way is to separate them by lists and then read lists
 instead of your main timeline. second way is to you other third party
 clients that lets you filter by keywords and stuff like that.

 I want to follow people with common interests and that common interest
 happens to be I am interested in following people who follow back

 When I follow someone I basically giving that person a chance to sell
 me something. I say, fine, but you give me a chance to sell you
 something too. I may still follow a few accounts that are so important
 to me that I will follow them even though I know they don't follow
 back, but that's just a handful of people.

 On Sep 28, 12:03 pm, Ken D. k...@cimas.ch wrote:

  Hey Rick,

  It's the second time in a week that someone brings up the autofollow/
  unfollow question (see 
  also:http://groups.google.com/group/twitter-development-talk/msg/b7b1dfbf6...)
  and I would love to understand the follow economy once and for all.

  First of all, you say that if someone is following you, you will
  follow back, but if they are not following, you will unfollow. If you
  are not yet following them, do you mean that you would block them?

  What is the use case for auto-following, and why would it be so
  important to unfollow users who do not follow back? Is there a cost?
  Are those users' tweets less interesting if they aren't following you?
  I mean, we can't all be followed by Justin Bieber! Personally, I'm
  over that...

  If one succeeds in building up an account that follows and is followed
  back by thousands of users - as seems to be the goal - does one ever
  actually visit the account? It can't possibly make any sense to access
  such an account via twitter.com. Are there tools that can render such
  an account usable or meaningful? Finally, why the pretense of
  following if one will never actually read the users' tweets? Does
  Twitter have in mind to adapt the system to this reality?

  This is not a rant, I sincerely want to know!

  On Sep 28, 4:34 pm, Rick Stuivenberg rickstuivenb...@gmail.com
  wrote:

   Hello,

   What are the oauth functions to check if somebody is following me or
   not? I am currently making a script to check up if a user is following
   me, and if so, following them back, and if not, unfollow the user.

   Can somebody give me a point in the direction what oauth functions I
   need?

   btw; I am using twitteroauth.

   Rick

-- 
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] Ultimately send my twitter followers direct messages from my application

2010-10-02 Thread Thomas Mango
Yes, there's a limit of 250 direct messages per day according to:
http://support.twitter.com/forums/10711/entries/15364

I'm not sure if there are any policies against automatically direct messaging 
someone when they follow you, but a 250/day would certainly prevent that at 
some point. I don't know the details of your application, but if you were only 
planning to send new followers a direct message, perhaps you can avoid asking 
them to follow you and sending them a direct message by just showing them what 
you wanted to message them when they come back from the OAuth authorization.

--
Thomas Mango



On Oct 2, 2010, at 1:12 PM, Dean Collins d...@cognation.net wrote:

 Thomas are there restrictions on what/how many direct messages can be sent?
 
 I haven't been paying attention with twitter for a while but I thought 
 twitter banned automatic direct messages.
 
 Thanks in advance,
 Dean
 
 
 
 I think what you described is exactly right. You're looking for an app 
 that users can authorize with using OAuth. Once they're redirected back 
 to your site (part of the OAuth process), you can create a user account 
 for them locally and ask them to follow your Twitter account. Because 
 they've authorized your application, when they agree to follow you, you 
 can use the /friendships/create API method on their behalf.
 
 Relevant API documentation:
 http://dev.twitter.com/pages/auth
 http://dev.twitter.com/doc/post/friendships/create
 
 Dialflow wrote:
 Hi:
 
 I was wondering if any one could suggest an elegant approach to
 ultimately sending direct messages to my Twitter followers from my
 application.
 
 I'd like people that join web site to do the following:
 
 From their member page on my site, I'd like for them to click a
 Twitter follow button, go to Twitter, follow me, then return to their
 member page on my site.
 
 After they do this, I want capture their twitter ID and associate it
 with their user account on my site so I can send them direct messages
 from my application.
 
 I'd really appreciate an elegant approach to solving this.
 
 I guess I'm looking for an answer like: Use oAuth to have the user
 authorize your app on Twitter, then redirect redirect back to your
 app, click a twittter follow button, and extract their Twitter ID from
 x_file and then
 
 My days of programming are way behind me so I hope that makes some
 sense.
 
 Thanks so much.
 Curtis
 
 
 
 -- 
 Thomas Mango
 tsma...@gmail.com
 
 
 -- 
 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


Re: [twitter-dev] add list members

2010-10-02 Thread Thomas Mango
Are you sure you're requesting the correct format? I was able to POST
to /:user/:list_id/members.xml with an id of a user and it correctly
added the user to my list and responded with XML:

POST: /14338478/23124429/members.xml?id=14477861
Response: http://gist.github.com/607880

On Sat, Oct 2, 2010 at 2:16 PM, Damon Clinkscales sca...@pobox.com wrote:
 I've tried both create_all.xml and members.xml to add multiple or just
 one member to a list.  The list is owned by me and exists.

 http://dev.twitter.com/doc/post/:user/:list_id/create_all
 or
 http://dev.twitter.com/doc/post/:user/:list_id/members

 When the call goes through, the response is a normal #newtwitter web
 page instead of an API response.

 Is this a known issue?

 thanks,
 /damon

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




-- 
Thomas Mango
tsma...@gmail.com

-- 
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: add list members

2010-10-02 Thread Ken D.
Hey Damon,

The URL you cite is that of the documentation page. The correct URL
(for create_all) is:

http://api.twitter.com/1/:user/:list/create_all.xml

with parameter user_id=:ids or screen_name=:screen_names

The example is:
http://api.twitter.com/1/twitterapidocs/firemen/create_all.xml?user_id=783214,6253282

Try that..

On Oct 2, 8:16 pm, Damon Clinkscales sca...@pobox.com wrote:
 I've tried both create_all.xml and members.xml to add multiple or just
 one member to a list.  The list is owned by me and exists.

 http://dev.twitter.com/doc/post/:user/:list_id/create_all
 orhttp://dev.twitter.com/doc/post/:user/:list_id/members

 When the call goes through, the response is a normal #newtwitter web
 page instead of an API response.

 Is this a known issue?

 thanks,
 /damon

-- 
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] I created one application which was read-only, then i updated it to read-write now i am not able to post tweet..

2010-10-02 Thread Markanday Singh
When posting tweet its says
Read-only application cannot POST

I re-generated the token and application and authorized from fresh but
still no luck.. please help!!

-- 
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] I created one application which was read-only, then i updated it to read-write now i am not able to post tweet..

2010-10-02 Thread Tom van der Woerdt
Credentials that are for read-only apps will not change to read/write
credentials, because of security reasons. Either re-create your
application, or generate new keys.

Tom


On 10/2/10 9:54 PM, Markanday Singh wrote:
 When posting tweet its says
 Read-only application cannot POST
 
 I re-generated the token and application and authorized from fresh but
 still no luck.. please help!!
 

-- 
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: Search Twitter replies

2010-10-02 Thread tsmango
When #newtwitter was launched, this was added. The API method isn't
documented yet so they're saying it could change, but the the method
is: GET /1/related_results/show/:id - also worth noting the
authenticated user must have access to #newtwitter.

Checkin here for more details:
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/cdc34ae78a2350b8

On Sep 29, 7:21 am, jparicka jpari...@gmail.com wrote:
 Hi there,

 Quick question - is it possible to search for replies for a tweet id?
 Why not?

 Thanks,

 Jan

--
Thomas Mango
tsma...@gmail.com

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