mirror of https://github.com/friendica/friendica
Updated Friendica API (markdown)
parent
41d8b93181
commit
65ebd838a3
|
@ -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.
|
Loading…
Reference in New Issue