Hi everybody!

I set up fb autopost successfully today but got a problem with the published link on facebook. Every link that is posted after creating a new node shows only the 404 message in the facebook link preview.

Is this maybe a timing issue? Does facebook maybe get the request to post the link too early so that it only gets the 404 page when scraping the newly added node?

Did someone else already experience these problems?

Best regards
lundj

Comments

Jill L’s picture

I'm having the same problem, the anchor text of the link is always for my 404 page.

Has anyone figured out how to solve this?

e0ipso’s picture

Did you check the metatags?

Jill L’s picture

Thank you for your response! Sorry, which metatag should I be checking exactly?

SoL’s picture

same problem with new content. Post to another socials is ok.

Try to clear page cache (by Cache Expire), try add into the rule pause (

sleep(3);

), before posting to FB.

But, if i post to FB link to old pages (1-2 day added ago), respond is good (on FB display correct title with desc.)

Jill L’s picture

I solved this by adding the associated "name" field as described here in comment #6:
https://www.drupal.org/node/2296247

Jill L’s picture

Status: Active » Closed (works as designed)
rag_gupta’s picture

#4 seems to be correct. It did not work with 3 sec. I tried with 20 seconds and this error did not come.

giuvax’s picture

Hi, can you please explain where exactly I should add the pause? In which part of the rule? I can't find a syntax example and I prefer the #4 solution to the #6 one. Thanks!