[fpc-pascal] problems posting data with synapse to identi.ca
Tobias Diekershoff
tobias at diekershoff.net
Fri Aug 22 14:59:45 CEST 2008
Hello everybody!
I try to write a little program to interact with identi.ca and struggle
with sending a new message. The (better then nothing)API says [1]
---------------------
Login
You have to have a valid login cookie to post. To get one, send an HTTP
POST to http://identi.ca/main/login with the arguments nickname and
password.
Post notice
Once you have login cookies, you can post notices. To send one, submit
an HTTP POST message to http://identi.ca/notice/new with the argument
status_textarea, a string of maximum 140 characters.
----------------------
As I implemented fetching a timeline with synapse, It would be nice if
anybody coud give me a hint with this. I've tried HttpPostURL, but the
result is not very promising (i.e. false), which could be because this
is my first try with synapse at all...
Thanks in advance!
so long
Tobias
[1] http://laconi.ca/trac/wiki/Version0API
--
\|/
O O
/------uUu-/ \-uUu------------------------\
| \_/ Tobias Diekershoff |
| URl ...... www.diekershoff.net |
| Mail ..... tobias at diekershoff.net |
| PGP-ID ... 0x66A73B17 |
| Jabber ... tobias.d at jabber.ccc.de |
| SIP ...... tobias.diekershoff at ekiga.net |
| Skype, ICQ auf nachfrage |
\-----------------------------------------/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 250 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20080822/1bce508e/attachment.sig>
More information about the fpc-pascal
mailing list