Can't figure out how FB's OpenGraph works...

Jaxel

Well-known member
So I have a page here:
http://yokappa.tv/channel/8wayrun

The class for this page is simple:
Code:
class EWRcanal_ControllerPublic_Channels extends XenForo_ControllerPublic_Abstract
{
    public function actionIndex()
    {
        $slug = $this->_input->filterSingle('string_id', XenForo_Input::STRING);
        $channel = $this->getModelFromCache('EWRcanal_Model_Channels')->getChannel($slug);
       
        $viewParams = array(
            'channel' => $channel,
        );
       
        return $this->responseView(
            'EWRcanal_ViewPublic_Channel', 'EWRcanal_Channel', $viewParams,
            array('containerTemplate' => 'EWRcanal_CONTAINER')
        );
    }
}

When I run this page through the Facebook Object Debugger it gets a 503 error:
https://developers.facebook.com/tools/debug/og/object?q=http://yokappa.tv/channel/8wayrun

When you view the raw scraped URL, you see:
https://developers.facebook.com/tools/debug/og/echo?q=http://yokappa.tv/channel/8wayrun

Why is this happening? Anyone know?
 
Your board is switched off.

503 means "service unavailable".

This is expected. If guests can't see your content, how can Facebook?
 
You know... I completely forgot about that...

Okay, next question... is there a way to set a specific section of your forum to ignore the board on/off switch?
 
The code that asserts whether the board is active or not is in -- I forget -- either XenForo_Controller or XenForo_ControllerPublic_Abstract.

Maybe you can override its behavior there.
 
Top Bottom