'Fetches all objects of a given type from the graph.
Returns all objects of a given type from the graph as a dict.'

def search(self, type, **args):

    if (type not in VALID_SEARCH_TYPES):
        raise GraphAPIError(('Valid    types    are:    %s' % ',    '.join(VALID_SEARCH_TYPES)))
    args['type'] = type
    return self.request((self.version + '/search/'), args)
