I have a strong suspicion this is where the difference is. I've already tried using PHP but that didn't work. It would make sense as I understand stackpath will basically serve up a static page?
I'm setting up stackpath now. Fingers crossed.
Done and off to setup routing while waiting for the DNS changes to propogate.
I got the routing set up but that didn’t change anything. Stackpath is still saying the domain is still not pointing to stackpath so I’ll wait and see if that helps.
If that fails too, because StackPath can be horrid to get setup just right then this service is literally made to get around our particular issue Heather
The facebook scraper doesn’t support javascript, it just reads the html source. While all modern search engines support javascript based sites, social networks like facebook and twitter don’t.
The only way to have dynamic data in the meta tags for facebook is by using server-side rendering. You could use php to generate the content or a service like prerender.io as @psweb mentioned.
Absolutely brilliant Heather. Thanks for that. I’ve tweaked accordingly and it’s working perfectly.
A quick note to anyone else using this. The description field, if it’s in HTML format (like mine is) then you should use the strip_tags formatter in your API script and maybe truncate it, too:
Can you show a screenshot of this step inside your server action so we can see the path, and can you make sure a file with the right filename exists on the server at the path it is trying to access.
Sorry this screenshot does not really help, can i see inside that server action, all the steps as well as the properties you have set in the particular step that is causing the error?
I do however think that file_get_contents(/dmxConnect/api/propertyDetail.php?property_slung=xxx-huatulco-5b2) should look more like file_get_contents(/api/propertyDetail.php?property_slung=xxx-huatulco-5b2)