K. V. Suresh
K. V. Suresh

Reputation: 957

Dailymotion api showing error with http protocol

I am trying to get the dailymotion video details with the following link using file_get_contents method i.e http://api.dailymotion.com/video/x1ckrm4. But here I am getting "403 Forbidden URL [2]" error but when I use https protocol, I am getting video details. Can any one tell me why it is so?

Thanks, Suresh

Upvotes: 0

Views: 819

Answers (1)

Tilly
Tilly

Reputation: 427

The method you are using is from Dailymotion API, which is using HTTPS, this is why you can't get it over HTTP !

Have a look at http://www.dailymotion.com/doc/api/graph-api.html to see how it works.

Upvotes: 1

Related Questions