Difference between revisions of "Nokia Friend View"
From rukapedia
Line 27: | Line 27: | ||
* messageText - the text of the status update | * messageText - the text of the status update | ||
+ | * sessionToken - the value of the sessionToken parsed as above | ||
+ | |||
+ | == Posting Location Updates == | ||
+ | |||
+ | Once you have authenticated, location updates can be sent by HTTP POST to: | ||
+ | |||
+ | http://friendview.nokia.com/Map.action?setLocation | ||
+ | |||
+ | with the following parameters: | ||
+ | |||
+ | * latitude - decimal latitude (i.e. 46.23607986758866) | ||
+ | * longitude - decimal longitude (i.e. -63.129936393562325) | ||
* sessionToken - the value of the sessionToken parsed as above | * sessionToken - the value of the sessionToken parsed as above |
Revision as of 11:28, 6 November 2008
Nokia Friend View is an experimental micro-blogging tool with integrated location features.
The information below is preliminary and unofficial and home-brewed doesn't come from Nokia.
Authentication
If you POST with username and password:
curl -L -c friendview-cookies.txt -D - -d "j_username=USERNAME&j_password=PASSWORD" \ https://friendview.nokia.com/j_acegi_security_check
you will get returned, on success, an HTML document out of which you can parse a Session Token:
<script>sessionToken='55b5509d793faedd'</script>
Posting Status Updates
Once you have authenticated, status updates can be sent by HTTP POST to:
https://friendview.nokia.com/Map.action?postStatusMessage
with the following parameters:
- messageText - the text of the status update
- sessionToken - the value of the sessionToken parsed as above
Posting Location Updates
Once you have authenticated, location updates can be sent by HTTP POST to:
http://friendview.nokia.com/Map.action?setLocation
with the following parameters:
- latitude - decimal latitude (i.e. 46.23607986758866)
- longitude - decimal longitude (i.e. -63.129936393562325)
- sessionToken - the value of the sessionToken parsed as above