assembl.models.facebook_integration module¶
Utilities for extracting posts and comments from Facebook, using the facebook API.
-
class
assembl.models.facebook_integration.
FacebookAPI
(user_token=None)[source]¶ Bases:
object
Proxy object to the unofficial facebook sdk
-
class
assembl.models.facebook_integration.
FacebookAccessToken
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
-
class
assembl.models.facebook_integration.
FacebookGenericSource
(**kwargs)[source]¶ Bases:
assembl.models.generic.PostSource
A generic source
-
class
assembl.models.facebook_integration.
FacebookGroupSource
(**kwargs)[source]¶ Bases:
assembl.models.facebook_integration.FacebookGenericSource
-
class
assembl.models.facebook_integration.
FacebookGroupSourceFromUser
(**kwargs)[source]¶ Bases:
assembl.models.facebook_integration.FacebookGenericSource
-
class
assembl.models.facebook_integration.
FacebookPageFeedSource
(**kwargs)[source]¶ Bases:
assembl.models.facebook_integration.FacebookGenericSource
-
class
assembl.models.facebook_integration.
FacebookPagePostsSource
(**kwargs)[source]¶ Bases:
assembl.models.facebook_integration.FacebookGenericSource
-
class
assembl.models.facebook_integration.
FacebookParser
(api)[source]¶ Bases:
object
The main object to interact with to get source endpoints The API proxy is injected no construction to have flexibility as to which API sdk to use
-
class
assembl.models.facebook_integration.
FacebookPost
(*args, **kwargs)[source]¶ Bases:
assembl.models.post.ImportedPost
A facebook post, from any resource on the Open Graph API
-
body_mime_type
¶ The mime type of the body of the imported content. See Content::get_body_mime_type() for allowed values.
-
message_id
¶ The email-compatible message-id for the post.
-
source_post_id
¶ The source-specific unique id of the imported post. A listener keeps the message_id in the post class in sync
-
-
class
assembl.models.facebook_integration.
FacebookSinglePostSource
(**kwargs)[source]¶ Bases:
assembl.models.facebook_integration.FacebookGenericSource