1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 16:13:18 +00:00
musix-oss/node_modules/video-thumbnail-url/tests/facebook.test.js
2020-03-03 22:30:50 +02:00

16 lines
417 B
JavaScript

import {testService} from './util';
const VALID = [
'https://www.facebook.com/oculusvr/videos/814277555340427/'
];
const INVALID = [
'https://www.facebook.com/',
'https://www.facebook.com/photo.php?v=426337427566302&type=2&theater'
];
testService('facebook', VALID, INVALID, /^https\:\/\/scontent\.xx\.fbcdn\.net\/v\//);
//https://graph.facebook.com/814277555340427
//https://scontent.xx.fbcdn.net/v/