I've tested the module. I was having a OK message (Facebook's cache cleaned) but when comparing with https://developers.facebook.com/tools/debug/sharing the Time Scraped was indicating that in fact nothing was happening
Since there is no issue related to this yet, maybe I was not using the module the way it's intended but here's what I've done to make it work, hopefully might help someone else
in FacebookFlushCacheService.php
I've change line 77 from
$query = ['id' => $uri, 'scrape' => 'true'];
To
$query = ['id' => $uri, 'scrape' => 'true', 'method' => 'post'];
Comments
Comment #2
garethhallnz commentedHi, thanks yes indeed it needs to be a post and not a get.
I don't think we should pass it via the query array.
I think we should simply make a post call on the httpClient
Comment #3
narendrarHi Gareth,
I used this module and issue is still there. We need to send POST request to clear cache.
Attached is the patch, which worked for me.
Comment #5
garethhallnz commentedThank you.