Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 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)
Esempio n. 4
0
 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
     )
Esempio n. 5
0
 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
     )
Esempio n. 6
0
 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
     )
Esempio n. 7
0
 def messages(self, limit=10, all=False):
     source, edge = self.id, "comments"
     return lazygen(Message, source, edge, limit=limit, get_all=all)
Esempio n. 8
0
 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)
Esempio n. 9
0
 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)
Esempio n. 10
0
 def groups(self, limit=100, all=False):
     """return an interable of groups"""
     source, edge = "me", "groups"
     return lazygen(Group, source, edge, limit, all)
Esempio n. 11
0
 def inbox(self, limit=100, all=False):
     source, edge = "me", "inbox"
     return lazygen(InboxThread, source, edge, limit, all)
Esempio n. 12
0
 def groups(limit=100, all=True):
     source, edge = "me", "groups"
     return lazygen(Group, source, edge, limit, all)
Esempio n. 13
0
 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)
Esempio n. 14
0
 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)
Esempio n. 15
0
 def messages(self, limit=10, all=False):
     source, edge = self.id, "comments"
     return lazygen(Message, source, edge,
                    limit=limit, get_all=all)