Difference between revisions of "Nokia Friend View"
From rukapedia
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [http://friendview.nokia.com/ Nokia Friend View] is an experimental micro-blogging tool with integrated location features. | + | [http://friendview.nokia.com/ 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: | If you POST with username and password: | ||
<pre> | <pre> | ||
− | curl -L -c friendview-cookies.txt -D - -d "j_username=USERNAME&j_password=PASSWORD" https://friendview.nokia.com/j_acegi_security_check | + | curl -L -c friendview-cookies.txt -D - -d "j_username=USERNAME&j_password=PASSWORD" \ |
+ | https://friendview.nokia.com/j_acegi_security_check | ||
</pre> | </pre> | ||
Line 24: | Line 27: | ||
* messageText - the text of the status update | * messageText - the text of the status update | ||
+ | * includeLocation - 'true' if you want the status update to include your location | ||
+ | * 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 |
Latest revision as of 11:36, 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
- includeLocation - 'true' if you want the status update to include your location
- 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