def search(self, type, **args):
        """https://developers.facebook.com/docs/places/search"""
        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)
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 )
https://developers.facebook.com/docs/places/search