[twitter-dev] Retweet API documentation inconsistency

2010-05-02 Thread ChrisAlexander
Hi all,

This may just be my misunderstanding, but there seems to be an
inconsistency between the documentation and actual behaviour of the /
statuses/retweet API call.

The documentation is here - http://dev.twitter.com/doc/post/statuses/retweet

It implies that you should be able to post a message to
https://api.twitter.com/statuses/retweet.json passing an id=tweetid
parameter in the post body, and it will work. However it does not, as
you can see with this sample request:

curl https://api.twitter.com/statuses/retweet.json -u user:pass -d
id=13199148131

However this request:

curl https://api.twitter.com/statuses/retweet/13199148131.json -u
user:pass -d id=13199148131

seems to work. It also implies this request should work, where it also
does not:

curl https://api.twitter.com/statuses/retweet.json?id=13199148131 -u
user:pass -d id=13199148131

Any clarification on this matter is greatly appreciated.

Many thanks

Chris Alexander



[twitter-dev] Re: statuses/friends cursor parameter

2010-05-02 Thread randomnoise
I've got the same problem, previous_cursor does not work on:

http://dev.twitter.com/doc/get/statuses/friends

and may also be broken on :

http://dev.twitter.com/doc/get/:user/:list_id/members

but seems to work on :

http://dev.twitter.com/doc/get/statuses/followers

Anyone know anything about this?

- jr


[twitter-dev] Please offer anywhere.js on HTTPS

2010-05-02 Thread tfe
I need it to be accessible on something like 
https://platform.twitter.com/anywhere.js
in order to user it on my site... I can't afford to break padlock
status with a non-SSL request to this.


[twitter-dev] Getting error 6 on geo/nearby_places

2010-05-02 Thread mynetx
I am getting this:

{errors:[{code:6,message:No data available for the given
coordinate}],query:{type:nearby_places,url:http://
api.twitter.com/1/geo/nearby_places.json?
query=lat=37.996163accuracy=0autocomplete=falselong=-127.441406granularity=neighborhood,params:
{coordinates:{coordinates:
[-127.441406,37.996163],type:Point},query:,accuracy:
0,autocomplete:false,granularity:neighborhood}}}

when trying to locate ANY pair of latitude and longitude, as well as
with locating my own IP address.
What am I doing wrong?


[twitter-dev] How to set 'source' when update status

2010-05-02 Thread vibbow
I remember we can set the SOURCE when use API to update status, but I
can not find it on API document now. So can anybody help me to set the
SOURCE via API?

I'm a chinese, so please forgive my terrible English, thank you.


[twitter-dev] Search API or Streaming API?

2010-05-02 Thread nischalshetty
I plan to build a search engine which would utilize the search APIs.
Should I be using the Twitter Search API or the Streaming API to do
the same?

What is the difference between the two and would the Streaming API
work on the Google App Engine?


[twitter-dev] API method: favorites/create returns This method requires a GET.

2010-05-02 Thread taketo1o24
Hello, I have a question about the favorites/create method.

Here: http://dev.twitter.com/doc/post/favorites/create, it says that
this method support POST,
but I get HTTP status: 400 with the error message: This method
requires a GET.

I tried accessing http://.../favorites/create?id=[status_id] with the
POST data, but still got the same error.
Then I tried http://.../favorites/create/[status_id].xml, then the
request was normally accepted.

Is this the correct way to use this method? ( ... I don't think it
should be)


[twitter-dev] MGTwitterEngine with OAuth and XAuth support

2010-05-02 Thread Steve Streza
Hey everyone,

I'm one of the collaborators on the MGTwitterEngine project for Mac
and iPhone developers. We've finished our initial implementation of
OAuth and XAuth support within MGTwitterEngine. This uses the
OAuthConsumer framework to handle the business end of OAuth, meaning
that there are only a couple new MGTwitterEngine APIs you need to use
(and we've got a wiki guide for migrating to OAuth). We expect most
users of the framework to want to use XAuth to obtain an access token,
so we have a convenience API for handling that (of course, you'll need
to obtain the opt-in from Twitter). After getting XAuth access, it
shouldn't take more than a half hour to get set up to obtain your
access token and start sending requests.

We're also planning on releasing a new version of MGTwitterEngine with
support for some new APIs and bug fixes, as well as OAuth. We're
hoping to get this out by WWDC, or at least before the OAuth deadline.
We're aware of the buffer needed for App Store approval, so we'll be
trying to finish this up ASAP.

You can grab the code from the project page here:
http://github.com/mattgemmell/MGTwitterEngine/

You can read the migration guide here:
http://wiki.github.com/mattgemmell/MGTwitterEngine/migrating-from-basic-auth-to-oauthxauth

Feedback is always welcome. If you have any issues, please file them
in the project issue tracker here: 
http://github.com/mattgemmell/MGTwitterEngine/issues

Now stop using basic auth already.

Thanks,
Steve


[twitter-dev] Searching on the Most popular Web 2.0

2010-05-02 Thread worksforce
Hi

I need your help for developping application for searching the most
popular web 2.0 site something like topsy.com, itpints.com

Warm Regards

Theo


[twitter-dev] Suspended users

2010-05-02 Thread EastSideDev
When I call users/show, if the user is not found, then I get a 'Not
Found' error. If the user exists, but has been suspended by Twitter,
what's the error message? Are there different messages for temporary
suspension, and permanent suspension?


Re: [twitter-dev] Suspended users

2010-05-02 Thread Abraham Williams
http://hurl.it/hurls/5c2870b54a119a17cea0174ba06ac96ff90fd3e8/57bb4b627f074aadcd5f71e5138e8656cde84e7f

On Sun, May 2, 2010 at 14:50, EastSideDev eastside...@gmail.com wrote:

 When I call users/show, if the user is not found, then I get a 'Not
 Found' error. If the user exists, but has been suspended by Twitter,
 what's the error message? Are there different messages for temporary
 suspension, and permanent suspension?




-- 
Abraham Williams | Developer for hire | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] How to set 'source' when update status

2010-05-02 Thread Ernandes Jr.
Hi!

Please, read this: http://dev.twitter.com/pages/api_faq#attribution

Regards,
Ernandes

On Sun, May 2, 2010 at 11:49 AM, vibbow vib...@gmail.com wrote:

 I remember we can set the SOURCE when use API to update status, but I
 can not find it on API document now. So can anybody help me to set the
 SOURCE via API?

 I'm a chinese, so please forgive my terrible English, thank you.




-- 
Ernandes Jr.
-
ALL programs are poems. However,
NOT all programmers are poets.


[twitter-dev] Re: Suspended users

2010-05-02 Thread EastSideDev
Still not clear on one thing: do I have to make another call, or will
the message be: User has been suspended. ?

On May 2, 2:59 pm, Abraham Williams 4bra...@gmail.com wrote:
 http://hurl.it/hurls/5c2870b54a119a17cea0174ba06ac96ff90fd3e8/57bb4b6...

 On Sun, May 2, 2010 at 14:50, EastSideDev eastside...@gmail.com wrote:
  When I call users/show, if the user is not found, then I get a 'Not
  Found' error. If the user exists, but has been suspended by Twitter,
  what's the error message? Are there different messages for temporary
  suspension, and permanent suspension?

 --
 Abraham Williams | Developer for hire |http://abrah.am
 @abraham |http://projects.abrah.am|http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.


[twitter-dev] Re: How to set 'source' when update status

2010-05-02 Thread Zhami
On May 2, 6:00 pm, Ernandes Jr. ernan...@gmail.com wrote:

 Please, read this:http://dev.twitter.com/pages/api_faq#attribution

The referenced text recommends the use of OAuth (We now recommend
developers use OAuth...)

I suggest that someone from the Twitter doc team revise the faq to
correlate with the soon required use of OAuth.


Re: [twitter-dev] Getting error 6 on geo/nearby_places

2010-05-02 Thread Raffi Krikorian
looking at the coordinate you are passing in (37.996163, -127.441406) --
that's in the pacific ocean.  i don't think our rockdove database has
anything for that location

On Sun, May 2, 2010 at 12:58 PM, mynetx myne...@googlemail.com wrote:

 I am getting this:

 {errors:[{code:6,message:No data available for the given
 coordinate}],query:{type:nearby_places,url:http://
 api.twitter.com/1/geo/nearby_places.json?

 query=lat=37.996163accuracy=0autocomplete=falselong=-127.441406granularity=neighborhood,params:
 {coordinates:{coordinates:
 [-127.441406,37.996163],type:Point},query:,accuracy:
 0,autocomplete:false,granularity:neighborhood}}}

 when trying to locate ANY pair of latitude and longitude, as well as
 with locating my own IP address.
 What am I doing wrong?




-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


[twitter-dev] Tons of Connection Refused

2010-05-02 Thread Dewald Pretorius
I'm getting tons of connection refused errors.

What's going on?

The API status is till giving a 100% up indicator.


Re: [twitter-dev] Tons of Connection Refused

2010-05-02 Thread John Kalucki
Did this happen to start at 10pm PST / 05:00 UTC?


On Sun, May 2, 2010 at 10:16 PM, Dewald Pretorius dpr...@gmail.com wrote:
 I'm getting tons of connection refused errors.

 What's going on?

 The API status is till giving a 100% up indicator.



[twitter-dev] How to find the frequency of communication between 2 users?

2010-05-02 Thread Dushyant
I am trying to build a friend invite function whereby I suggest some
friends to the user of my App for invitation purposes. I want this
function to be intelligent and invite those friends with whom I have
max exchange of tweets/retweets and replies. How can I achieve this?