From 351d5225d6a4fe6863f760f02454eac88f730607 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 31 May 2018 11:04:34 +0200 Subject: Improve Twitter config help --- .../config/edit-custom-config/edit-custom-config.component.html | 4 ++-- config/default.yaml | 2 +- config/production.yaml.example | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index 252d43c8f..8a1e33c56 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html @@ -136,7 +136,7 @@
- + Instance whitelisted by Twitter +Check this checkbox, save the configuration and test with a video URL of your instance (https://example.com/videos/watch/blabla) on https://cards-dev.twitter.com/validator to see if you instance is whitelisted.">
diff --git a/config/default.yaml b/config/default.yaml index b5ad0a8f2..5868ba002 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -105,7 +105,7 @@ instance: services: # Cards configuration to format video in Twitter twitter: - username: '@Chocobozzz' # The Twitter @username the card should be attributed to + username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published # If true, a video player will be embedded in the Twitter feed on PeerTube video share # If false, we use an image link card that will redirect on your PeerTube instance # Change it to "true", and then test on https://cards-dev.twitter.com/validator to see if you are whitelisted diff --git a/config/production.yaml.example b/config/production.yaml.example index a11f0a1d6..8012134cc 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -119,7 +119,7 @@ instance: services: # Cards configuration to format video in Twitter twitter: - username: '@Chocobozzz' # The Twitter @username the card should be attributed to + username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published # If true, a video player will be embedded in the Twitter feed on PeerTube video share # If false, we use an image link card that will redirect on your PeerTube instance # Test on https://cards-dev.twitter.com/validator to see if you are whitelisted -- cgit v1.2.3