postUpdate: location

19 views
Skip to first unread message

Andrés Maneiro

unread,
Apr 25, 2008, 12:27:26 PM4/25/08
to twitxr-api...@googlegroups.com
Hi guys,

i'm trying to post with postUpdate method from API. I do something like this:

http://user:md5(pass)@twitxr.com/api/rest/postUpdate?text="posting
nicely"&latitude=43.37&longitude=-8.39

but i get next error:

<result code="error">
<error>Could not find your location</error>
</result>

I tried with 2 options for geolocation parameter (place string
location and latitude/longitude location) but any works. I get the
same error.

I guess it was "Default location" field for user trying to post, so i
register "Default Location" field in settings for him ... but the
query returns same error.

Any idea?
Thanks,

/amaneiro

Albert Martin

unread,
Apr 26, 2008, 6:10:01 AM4/26/08
to twitxr-api...@googlegroups.com
All parameters for the postUpdate call must be passed via a POST
request, as explained on the api doc :

"Please note that this method only works with HTTP POST requests
(multipart/form-data POST if a picture is included)"


That's why it can find your location

Albert

Reply all
Reply to author
Forward
0 new messages