Programming Language PHP

Namespace Instagram\Utils

Class MediaDownloadHelper

Method/Function downloadMedia

Total Examples 1

1 code examples of PHP Instagram\Utils\MediaDownloadHelper::downloadMedia extracted from open source projects

Was this example useful?
0
                                                    public function testInvalidMediaUrl()
    {
        $this->expectException(InstagramDownloadException::class);

        $url = 'invalid url';
        MediaDownloadHelper::downloadMedia($url);
    }
                                            
MediaDownloadHelper's Other Methods