def likes_(self, limit=100, all=True): """ :param limit: :param all: :return: Lazy generator of Like Objects """ source, edge = self.id, "likes" return lazygen(Like, source, edge, limit=limit, get_all=all)
def posts_(self, limit=100, all=True): """ :param limit: :param all: :return: Lazy generator of Post Objects """ source, edge = self.id, "feed" return lazygen(Post, source, edge, limit=limit, get_all=all)
def comments_(self, limit=100, all=True): """ :param limit: :param all: :return: Lazy generator of Comment Objects """ source, edge = self.id, "comments" return lazygen(Comment, source, edge, limit=limit, get_all=all)
def posts_(self, limit=100, all=True): """ :param limit: :param all: :return: Lazy generator of Post Objects """ source, edge = self.id, "feed" return lazygen( Post, source, edge, limit=limit, get_all=all )
def likes_(self, limit=100, all=True): """ :param limit: :param all: :return: Lazy generator of Like Objects """ source, edge = self.id, "likes" return lazygen( Like, source, edge, limit=limit, get_all=all )
def comments_(self, limit=100, all=True): """ :param limit: :param all: :return: Lazy generator of Comment Objects """ source, edge = self.id, "comments" return lazygen( Comment, source, edge, limit=limit, get_all=all )
def messages(self, limit=10, all=False): source, edge = self.id, "comments" return lazygen(Message, source, edge, limit=limit, get_all=all)
def posts(self, limit=100, all=False): """return an iterable of posts""" source, edge = self.id, "feed" return lazygen(Post, source, edge, limit=limit, get_all=all)
def comments(self, limit=100, all=False): """return an iterable of posts""" source, edge = self.id, "comments" return lazygen(Comment, source, edge, limit=limit, get_all=all)
def groups(self, limit=100, all=False): """return an interable of groups""" source, edge = "me", "groups" return lazygen(Group, source, edge, limit, all)
def inbox(self, limit=100, all=False): source, edge = "me", "inbox" return lazygen(InboxThread, source, edge, limit, all)
def groups(limit=100, all=True): source, edge = "me", "groups" return lazygen(Group, source, edge, limit, all)