Updated Friendica API (markdown)

Tobias Diekershoff 2014-01-13 22:22:21 -08:00
parent 41d8b93181
commit 65ebd838a3
1 changed files with 3 additions and 1 deletions

@ -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))
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.