mirror of
https://github.com/friendica/friendica
synced 2025-04-26 00:30:12 +00:00
missing linebreaks
This commit is contained in:
parent
1353417182
commit
7b89168f89
2 changed files with 7 additions and 4 deletions
|
@ -994,7 +994,8 @@ The following API calls from the Twitter API are not implemented in either Frien
|
|||
/usr/bin/curl -u USER:PASS https://YOUR.FRIENDICA.TLD/api/statuses/update.xml -d source="some source id" -d status="the status you want to post"
|
||||
|
||||
### Python
|
||||
The [RSStoFriedika](https://github.com/pafcu/RSStoFriendika) code can be used as an example of how to use the API with python. The lines for posting are located at [line 21](https://github.com/pafcu/RSStoFriendika/blob/master/RSStoFriendika.py#L21) and following.
|
||||
The [RSStoFriedika](https://github.com/pafcu/RSStoFriendika) code can be used as an example of how to use the API with python.
|
||||
The lines for posting are located at [line 21](https://github.com/pafcu/RSStoFriendika/blob/master/RSStoFriendika.py#L21) and following.
|
||||
|
||||
def tweet(server, message, group_allow=None):
|
||||
url = server + '/api/statuses/update'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue