Difference between revisions of "Nokia Friend View"

From rukapedia
Jump to: navigation, search
 
(9 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.  
  
== Technical Specifications ==
+
''The information below is preliminary and unofficial and home-brewed doesn't come from Nokia.''
  
(This information is preliminary and unofficial).
+
== Authentication ==
  
=== Posting ===
+
If you POST with username and password:
  
Status updates are HTTP POSTed to:
+
<pre>
 +
curl -L -c friendview-cookies.txt -D - -d "j_username=USERNAME&j_password=PASSWORD" \
 +
https://friendview.nokia.com/j_acegi_security_check
 +
</pre>
 +
 
 +
you will get returned, on success, an HTML document out of which you can parse a Session Token:
 +
 
 +
<pre>
 +
<script>sessionToken='55b5509d793faedd'</script>
 +
</pre>
 +
 
 +
== Posting Status Updates ==
 +
 
 +
Once you have authenticated, status updates can be sent by HTTP POST to:
  
 
https://friendview.nokia.com/Map.action?postStatusMessage
 
https://friendview.nokia.com/Map.action?postStatusMessage
Line 14: 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

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