Difference between revisions of "Nokia Friend View"
From rukapedia
Line 10: | Line 10: | ||
<pre> | <pre> | ||
− | curl -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> | ||
− | you get | + | you will get returned, on success, an HTML document out of which you can parse a Session Token: |
<pre> | <pre> | ||
− | + | <script>sessionToken='55b5509d793faedd'</script> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | === Posting === | + | === 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 34: | Line 28: | ||
* messageText - the text of the status update | * messageText - the text of the status update | ||
+ | * sessionToken - the value of the sessionToken parsed as above |
Revision as of 19:59, 5 November 2008
Nokia Friend View is an experimental micro-blogging tool with integrated location features.
Technical Specifications
(This information is preliminary and unofficial).
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