def graph_api_url(fb_request, user=None, token=False):
    """ 
    Format Facebook Graph API URL. 
    """
    param = ''
    if user and token:
        param = '?access_token=%s' % user.facebook_access_token
    results = 'https://graph.facebook.com/%s/%s' % (fb_request, param)
    return results
