1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Links on FB say 'error' in the preview

Discussion in 'XenForo Questions and Support' started by squirrly, Apr 9, 2015.

  1. squirrly

    squirrly Active Member

    If a member of our forum posts a link on FB, the preview in FB always says:

    Error | TheBabywearer.com Forums

    I'd really love to change that 'error' to pretty much anything else. Any idea how/where?
     
  2. Mike

    Mike XenForo Developer Staff Member

    I'm guessing that's because you don't allow guests to view the threads in question. Facebook is actually getting an error (probably a no permission page).
     
  3. squirrly

    squirrly Active Member

    That's my guess too. We allow them to see the list of threads but not open threads... Anything I could tweak to get rid of the error but keep our security the same?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Other than giving guests permission to view the thread content, nothing.
     
  5. squirrly

    squirrly Active Member

    Crap. Changing the guest permissions isn't going to fly. I don't care about the preview; I just don't want to see the word "error".
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    It's not possible to share content which is not visible to guests, which Facebook is classed as.

    It's no different to posting a link here, someone clicking it and receiving a no permission to view error.
     
  7. squirrly

    squirrly Active Member

    I understand that. I don't want the content to preview. I just don't want it to say error instead. If I could literally just remove the word error I'd be happy.
     
  8. Jeremy P

    Jeremy P Well-Known Member

    I'm surprised Facebook is opting to display a preview for a page that's (should be) returning an HTTP error code.
     
  9. Mike

    Mike XenForo Developer Staff Member

    The page is very likely the standard no permission page, so there isn't really a way built into XF to change that for just this case. I believe you could change the "error" template, but that is for every error that can get triggered.
     

Share This Page