Twitter supports x:// to align with it's new re-branding (#971)

pull/972/head
Chris Caron 1 year ago committed by GitHub
parent ae0c412b41
commit 902f39cd58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,7 +83,7 @@ class NotifyTwitter(NotifyBase):
service_url = 'https://twitter.com/'
# The default secure protocol is twitter.
secure_protocol = ('twitter', 'tweet')
secure_protocol = ('x', 'twitter', 'tweet')
# A URL that takes you to the setup/help of the specific protocol
setup_url = 'https://github.com/caronc/apprise/wiki/Notify_twitter'

@ -87,7 +87,7 @@ apprise_url_tests = (
'notify_response': False,
# Our expected url(privacy=True) startswith() response:
'privacy_url': 'twitter://c...y/****/a...2/****',
'privacy_url': 'x://c...y/****/a...2/****',
}),
('twitter://consumer_key/consumer_secret/atoken3/access_secret'
'?cache=no', {

Loading…
Cancel
Save