'Returns a open facebook graph client based on the access token stored
in the user\'s profile'

def get_offline_graph(self):

    from open_facebook.api import OpenFacebook
    if self.access_token:
        graph = OpenFacebook(access_token=self.access_token)
        graph.current_user_id = self.facebook_id
        return graph
