Testing Open Graph Cards using Live Link?

Open Graph Cards Not Rendering Using Live Link?


When I use the Live Link URL, the Open Graph card associated with my site does not render. However, if I use the production URL at flywheel, the Open Graph Card renders correctly. How can I test Open Graph Cards using Live Link?

Thank you.
rickyg.


System Details

  • Local Version:
    Version 9.0.4+6699

  • Operating System (OS) and OS version:
    Edition Windows 10 Pro
    Version 22H2
    Installed on ‎10/‎12/‎2020
    OS build 19045.4529|
    Experience Windows Feature Experience Pack 1000.19058.1000.0


Local Logs

N/A


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

How are you testing the Open Graph card?

I would imagine that many third-party tools would have issues accessing the site over Live Links unless you are including the username and password for the site within the url.

Hi Ben,

Appreciate the speedy reply.

I am testing by using the live link url. I previously authenticated in the dialog box that pops up on the screen when live link is enabled. I do not include any additional authentication on subsequent curl commands.

Is authentication required on every curl command, or can it be done once?

Thanks.
rickyg.

Every request will need authentication. I’m not 100% sure if there’s a way to set up authorization for every cURL request within a shell. I think you need to have each command include the a username/password.

The reason that the browser only needs to auth once is that it remembers the username/password and then transparently uses that for each subsequent request. Other tools might have a feature to save the authorization for subsequent requests to a domain, but I don’t think curl does.