How to force Facebook Linter to rescrape page with cookies enabled?
I've been having a lot of problems with Facebook Like button lately. Specifically, when the user clicks Like button, the comment dialog does not show up, but instead an error link saying that "page could not be reached".
When Facebook Linter scrapes such a page, it gets a 302 which redirects linter to a URL with jsessionid=xxx appended. I assumed that Facebook handles 302 correctly and decided to configure Tomcat to store jsessionid as a cookie. Here is an example: http://galecsy.com:88/lrm/ms/oid/75009
However, linter does not seem to preserve jsessionid cookie when it follows the 302 redirect. So, is there a way to force linter to respect cookies? If not, what is this cookies:true parameter on JS SDK for?
what is this cookies:true parameter on JS SDK for?
It makes the SDK store information about the login status in a cookie, so that it can easily be accessed on the server side on the next request (f.e. by the PHP SDK).
So, is there a way to force linter to respect cookies?
I don’t think so.
You should make your app work without requiring cookies.