I lost a lot of time trying to understand why OpenGraph::fetch() was returning empty array on server. Found out that the server's IP was blacklisted by the website I tried to get metadata from.(The curl_error() was returning "The requested URL returned error: 403 Forbidden")
Same method, using same website was working fine on my development machine.
I lost a lot of time trying to understand why OpenGraph::fetch() was returning empty array on server. Found out that the server's IP was blacklisted by the website I tried to get metadata from.(The curl_error() was returning "The requested URL returned error: 403 Forbidden") Same method, using same website was working fine on my development machine.