public function getFacebookPages()
    {
        // Returns null if they haven't connected to Facebook
        if ($this->isConnectedToFacebook() !== true) {
            return null;
        }

        $response = Facebook::load()->get('/me/accounts', $this->data('access_token'));
        
        $chunks = [];
        $edges = [];

        // Load data through pagination
        for ($i = 0; $i <= 100; $i++) {
            if ($i === 0) {
                $edges[0] = $response->getGraphEdge();
            } else {
                $edges[$i] = Facebook::load()->next($edges[$i-1]);
            }

            $metaData = $edges[$i]->getMetaData();
            
            $chunks[$i] = $edges[$i]->asArray();

            if ( ! isset($metaData['paging']['next'])) {
                break;
            }
        }

        $pages = [];
        foreach ($chunks as $chunk) {
            foreach ($chunk as $page) {
                $pages[$page['id']] = $page;
            }
        }
        
        // Returns the list of pages.
        return collect($pages);
    }