Add Twitter Timelines
This commit is contained in:
parent
b375eebd75
commit
4db9b41431
|
|
@ -10,7 +10,7 @@ var scripts = document.getElementsByTagName('script'),
|
|||
tarteaucitronNoAdBlocker = false;
|
||||
|
||||
var tarteaucitron = {
|
||||
"version": 204.6,
|
||||
"version": 204.71,
|
||||
"cdn": cdn,
|
||||
"user": {},
|
||||
"lang": {},
|
||||
|
|
|
|||
|
|
@ -960,6 +960,26 @@ tarteaucitron.services.twitterembed = {
|
|||
}
|
||||
};
|
||||
|
||||
// twitter timeline
|
||||
tarteaucitron.services.twittertimeline = {
|
||||
"key": "twittertimeline",
|
||||
"type": "social",
|
||||
"name": "Twitter Timelines",
|
||||
"uri": "https://support.twitter.com/articles/20170514",
|
||||
"needConsent": true,
|
||||
"cookies": [],
|
||||
"js": function () {
|
||||
"use strict";
|
||||
tarteaucitron.fallback(['tacTwitterTimelines'], '');
|
||||
tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
|
||||
},
|
||||
"fallback": function () {
|
||||
"use strict";
|
||||
var id = 'twittertimeline';
|
||||
tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
|
||||
}
|
||||
};
|
||||
|
||||
// user voice
|
||||
tarteaucitron.services.uservoice = {
|
||||
"key": "uservoice",
|
||||
|
|
|
|||
Loading…
Reference in New Issue