mirror of
https://github.com/caronc/apprise.git
synced 2024-12-12 18:01:08 +01:00
Updated Notify_twitter (markdown)
parent
f78a5439c0
commit
f6c9653d6e
@ -23,10 +23,13 @@ From here you're ready to go. You can post public tweets or simply create DMs th
|
|||||||
|
|
||||||
|
|
||||||
### Syntax
|
### Syntax
|
||||||
Valid syntaxes are as follows:
|
Valid syntax is as follows:
|
||||||
* **twitter**://**{ConsumerKey}**/**{ConsumerSecret}**/**{AccessToken}**/**{AccessSecret}**
|
- `twitter://{ConsumerKey}/{ConsumerSecret}/{AccessToken}/{AccessSecret}`
|
||||||
* **twitter**://**{ScreenName}**@**{ConsumerKey}**/**{ConsumerSecret}**/**{AccessToken}**/**{AccessSecret}**
|
- `twitter://{ScreenName}@{ConsumerKey}/{ConsumerSecret}/{AccessToken}/{AccessSecret}`
|
||||||
* **twitter**://**{ConsumerKey}**/**{ConsumerSecret}**/**{AccessToken}**/**{AccessSecret}**/**{ScreenName1}**/**{ScreenName2}**/**{ScreenNameN}**
|
|
||||||
|
If you know the targets you wish to identify; they can be targeted by their Twitter Screen Name:
|
||||||
|
- `twitter://{ConsumerKey}/{ConsumerSecret}/{AccessToken}/{AccessSecret}/{ScreenName}`
|
||||||
|
- `twitter://{ConsumerKey}/{ConsumerSecret}/{AccessToken}/{AccessSecret}/{ScreenName1}/{ScreenName2}/{ScreenNameN}`
|
||||||
|
|
||||||
**Note** If no ScreenName is specified, then by default the Direct Message is sent to your own account.
|
**Note** If no ScreenName is specified, then by default the Direct Message is sent to your own account.
|
||||||
|
|
||||||
@ -54,4 +57,16 @@ Send a Twitter DM to @testaccount:
|
|||||||
# our user is @testaccount
|
# our user is @testaccount
|
||||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||||
twitter://testaccount@T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcOXrIdevi7F/FDVJaj4jcl8chG3
|
twitter://testaccount@T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcOXrIdevi7F/FDVJaj4jcl8chG3
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Send a public Tweet:
|
||||||
|
```bash
|
||||||
|
# Assuming our {ConsumerKey} is T1JJ3T3L2
|
||||||
|
# Assuming our {ConsumerSecret} is A1BRTD4JD
|
||||||
|
# Assuming our {AccessToken} is TIiajkdnlazkcOXrIdevi7F
|
||||||
|
# Assuming our {AccessSecret} is FDVJaj4jcl8chG3
|
||||||
|
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||||
|
twitter://testaccount@T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcOXrIdevi7F/FDVJaj4jcl8chG3?mode=tweet
|
||||||
|
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user