• Resolved cantbutron

    (@cantbutron)


    Hi there,

    If I use an API without any restriction it shows me the content without any problem, in this case all videos of a channel. Otherwise, if I add restrictions to the API so that it can only be used in one domain, the result is different.

    I add an image that clarifies it.

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author embedplus

    (@embedplus)

    Hi,

    We recommend using the IP address restriction if your goal is to add restrictions. You can try adding *.googleapis.com/* to the restrictions for your referrers. If that doesn’t work then your best bet is to find the IP addresses.

    [ Signature deleted ]

    • This reply was modified 5 years, 5 months ago by Jan Dembowski.

    Any update on this? It doesn’t seem feasible to be restricting with HTTP referrer = *.googleapis.com/* – essentially anyone could take my API key and use it to request from YouTube API….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘restricted API doesn’t work’ is closed to new replies.