From 65ebd838a38f891087aa3d2c3f048f3867bbcc68 Mon Sep 17 00:00:00 2001 From: tobiasd Date: Mon, 13 Jan 2014 22:22:21 -0800 Subject: [PATCH] Updated Friendica API (markdown) --- Friendica-API.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Friendica-API.md b/Friendica-API.md index c47a6a7..e0baa42 100644 --- a/Friendica-API.md +++ b/Friendica-API.md @@ -338,4 +338,6 @@ The [RSStoFriedika](https://github.com/pafcu/RSStoFriendika) code can be used as def tweet(server, message, group_allow=None): url = server + '/api/statuses/update' - urllib2.urlopen(url, urllib.urlencode({'status': message,'group_allow[]':group_allow}, doseq=True)) \ No newline at end of file + urllib2.urlopen(url, urllib.urlencode({'status': message,'group_allow[]':group_allow}, doseq=True)) + +There is also a [module for python 3](https://bitbucket.org/tobiasd/python-friendica) for using the API. \ No newline at end of file