I need to update the pages from my website to all have the same og:image. I could use the Object Debugger website, but it would take me hours to do it manually so I built a Bash script to do the job.
Problem is, even when I try manually from the Terminal I'm getting nowhere. It simply won't scrape the updated metas. The og:image (or really any other og:meta-tag) remains the same, like I never entered the cURL command. As a precision, it does work when I try from the Debugger website.
As indicated in the Open Graph documentation:
curl https://developers.facebook.com/tools/lint/?url={YOUR_URL}&format=json
Is there any way I can fix that? Thanks!
cURL doesn’t follow redirects by default. Use the -L
option.