Metadata-Version: 2.1
Name: scrape-facebook
Version: 0.1.7
Summary: Scrape Facebook public pages without an API key.
Home-page: https://github.com/amitkadivar/scrapefacebook
Author: Amit Kadivar
Author-email: amit.kadivar1@gmail.com
License: MIT
Description: 
        ## Use local
        ```sh
        install package 
        python setup.py install  
        ```
        
        ## Install
        
        ```sh
        pip install scrape-facebook
        or 
        pip3 install scrape-facebook
        ```
        
        ## Usage
        
        ```python
        >>> from scrape_facebook import get_posts
        
        >>> for post in get_posts('nintendo', pages=1):
        ...     print(post['text'][:50])
        ...
        The final step on the road to the Super Smash Bros
        We’re headed to PAX East 3/28-3/31 with new games
        ```
        
        ### Optional parameters
        
        - **pages**: how many pages of posts to request, usually the first page has 2 posts and the rest 4. Default is 10.
        - **timeout**: how many seconds to wait before timing out. Default is 5.
        - **sleep**: how many seconds to sleep between each request. Default is 0.
        - **credentials**: tuple of user and password to login before requesting the posts. Default is `None`.
        
        ## Post example
        
        ```python
        {'post_id': '2257188721032235',
         'text': 'Don’t let this diminutive version of the Hero of Time fool you, '
                 'Young Link is just as heroic as his fully grown version! Young Link '
                 'joins the Super Smash Bros. series of amiibo figures!',
         'time': datetime.datetime(2019, 4, 29, 12, 0, 1),
         'image': 'https://scontent.flim16-1.fna.fbcdn.net'
                  '/v/t1.0-0/cp0/e15/q65/p320x320'
                  '/58680860_2257182054366235_1985558733786185728_n.jpg'
                  '?_nc_cat=1&_nc_ht=scontent.flim16-1.fna'
                  '&oh=31b0ba32ec7886e95a5478c479ba1d38&oe=5D6CDEE4',
         'likes': 2036,
         'comments': 214,
         'shares': 0,
         'post_url': 'https://m.facebook.com/story.php'
                     '?story_fbid=2257188721032235&id=119240841493711',
         'link': 'https://bit.ly/something'}
        ```
        
        ### Notes
        
        - There is no guarantee that every field will be extracted (they might be `None`).
        - Shares doesn't seem to work at the moment.
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
