Nokia Friend View

From rukapedia
Revision as of 11:36, 6 November 2008 by Peter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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