Public API reference
postUpdate
The king of all methods. This function allows you to post your updates. Please note that this method only works with HTTP POST requests (multipart/form-data POST if a picture is included)
This method requires authentication
Post parameters
- image: Binary valid image file (Max 8 MB). Optional parameter (just ignore it to post an update without picture)
- text: The text of the post (remember, less than 140 chars or it will be shortened). UTF-8 encoded string. Optional parameter (just ignore it to post an update without text, but in this case you should have a valid image parameter (we don't like blank posts ;) )
- source: The String ID of your application. (Optional - you can request a custom String ID for your app sending an e-mail to fonlabs AT fon.com)
Geolocation parameters
We provide 4 different sets of parameters to find a location. Use the set you prefer for your app.
You can use only one at a time, here they are (best ones first).
Latitude / Longitude (GPS Location)
- latitude: Numeric string for Latitude coordinates from -90 to +90(Use . (a dot) for decimal separator)
- longitude: Numeric string for Longitude coordinates from -180 to 180 (Use . (a dot) for decimal separator)
Cell ID / Location area code (GSM Location)
- cid: Numeric string of the Cell ID (related to your mobile phone network)
- lac: Numeric string for the Location Area Code (related to your mobile phone network)
Place string Location
- place: The geographical place of the post (UTF-8 encoded string). Twitxr prefers Google Maps string formats (City,Country / Address,City,Country and so on)
Example response
<?xml version="1.0" encoding="UTF-8"?> <result code="done" />

