facebook 上架啦

寻找一个写fb批量上货,自动回复,批量发帖的脚本,除了易语言,

  • 看下这篇博客,也许你就懂了,链接:使用facebook的fbprophet模型预测湖北新冠肺炎确诊人数(包含源码和具体分析过程)
  • 除此之外, 这篇博客: 通过爬虫实现facebook爬取中的 2.2 使用命令行进行爬取 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:
  • facebook-scraper --filename nintendo_page_posts.csv --pages 1 nintendo
    

    所用参数含义如下所示:

    • group:群组ID。默认值为None。
    • pages:请求爬取的页面数量,前两页有时没有结果,所以最好指定大于2。默认值为10。
    • timeout:超时设置。默认值为5。
    • credentials:登录facebook对应的用户名和密码的元组。默认值为None。
    • extra_info:布尔值,如果为true,则该函数将尝试执行额外的请求以获取后期响应。默认值为False。
    • youtube_dl:布尔值,请使用Youtube-DL进行(高质量)视频提取。您需要在您的环境中安装youtube-dl。默认值为False。

      为了方便大家查看文件的格式,将爬取后的csv文件放入下列代码框中:

    post_id,text,post_text,shared_text,time,image,video,video_thumbnail,video_id,likes,comments,shares,post_url,link,user_id,username,is_live,factcheck,shared_post_id,shared_time,shared_user_id,shared_username,shared_post_url,available,images
    
    3968858206531936,"Don¡¯t miss your chance to get one of these Super Mario Bros. Wave 2 collectible pin sets while supplies last! Get the full details on how to get your pins and check out your My Nintendo mission progress at the link below:
    
    http://ninten.do/6189VPl27","Don¡¯t miss your chance to get one of these Super Mario Bros. Wave 2 collectible pin sets while supplies last! Get the full details on how to get your pins and check out your My Nintendo mission progress at the link below:
    
    http://ninten.do/6189VPl27",,2021-03-24 06:00:01,https://scontent-xsp1-1.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/164502244_3968858216531935_1027816095127696759_o.jpg?_nc_cat=103&ccb=1-3&_nc_sid=2d5d41&_nc_ohc=CIMSLjGwGUkAX-asXDO&_nc_ht=scontent-xsp1-1.xx&tp=14&oh=330f95792ee9b9887e0140789d79e8e4&oe=6080FBD9,,,,584,107,0,https://facebook.com/nintendo/posts/3968858206531936,http://ninten.do/6189VPl27,119240841493711,Nintendo,False,,,,,,,True,"['https://scontent-xsp1-1.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/164502244_3968858216531935_1027816095127696759_o.jpg?_nc_cat=103&ccb=1-3&_nc_sid=2d5d41&_nc_ohc=CIMSLjGwGUkAX-asXDO&_nc_ht=scontent-xsp1-1.xx&tp=14&oh=330f95792ee9b9887e0140789d79e8e4&oe=6080FBD9', 'https://scontent-xsp1-1.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/164502244_3968858216531935_1027816095127696759_o.jpg?_nc_cat=103&ccb=1-3&_nc_sid=2d5d41&_nc_ohc=CIMSLjGwGUkAX-asXDO&_nc_ht=scontent-xsp1-1.xx&tp=14&oh=330f95792ee9b9887e0140789d79e8e4&oe=6080FBD9', 'https://scontent-xsp1-1.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/164502244_3968858216531935_1027816095127696759_o.jpg?_nc_cat=103&ccb=1-3&_nc_sid=2d5d41&_nc_ohc=CIMSLjGwGUkAX-asXDO&_nc_ht=scontent-xsp1-1.xx&tp=14&oh=330f95792ee9b9887e0140789d79e8e4&oe=6080FBD9']"
    
    3965906620160428,"What would it be like to have a more fun walking experience surrounded by Pikmin? In a new mobile app developed by Niantic and Nintendo coming later in 2021, explore the real world and create memories with your Pikmin friends.
    
    Pre-register here! http://ninten.do/6183VOhrb","What would it be like to have a more fun walking experience surrounded by Pikmin? In a new mobile app developed by Niantic and Nintendo coming later in 2021, explore the real world and create memories with your Pikmin friends.
    
    Pre-register here! http://ninten.do/6183VOhrb",,2021-03-23 08:02:53,https://scontent-xsp1-2.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/163999159_3965906623493761_2465515230911173730_o.jpg?_nc_cat=101&ccb=1-3&_nc_sid=2d5d41&_nc_ohc=-IGy6U3vfjoAX8D9pfK&_nc_oc=AQlvtDKb-bVeGBDWOvud8cEsgGxrPXc-\-\jPyEmfvCdyh_bGAVG6rCM80tF2y4U5bsPU&_nc_ht=scontent-xsp1-2.xx&tp=14&oh=c9ecdbe743167ff7cc408af8f0242738&oe=6081DA01,,,,1118,238,0,https://facebook.com/nintendo/posts/3965906620160428,http://ninten.do/6183VOhrb,119240841493711,Nintendo,False,,,,,,,True,"['https://scontent-xsp1-2.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/163999159_3965906623493761_2465515230911173730_o.jpg?_nc_cat=101&ccb=1-3&_nc_sid=2d5d41&_nc_ohc=-IGy6U3vfjoAX8D9pfK&_nc_oc=AQlvtDKb-bVeGBDWOvud8cEsgGxrPXc-\\-\\jPyEmfvCdyh_bGAVG6rCM80tF2y4U5bsPU&_nc_ht=scontent-xsp1-2.xx&tp=14&oh=c9ecdbe743167ff7cc408af8f0242738&oe=6081DA01', 'https://scontent-xsp1-2.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/163999159_3965906623493761_2465515230911173730_o.jpg?_nc_cat=101&ccb=1-3&_nc_sid=2d5d41&_nc_ohc=-IGy6U3vfjoAX8D9pfK&_nc_oc=AQlvtDKb-bVeGBDWOvud8cEsgGxrPXc-\\-\\jPyEmfvCdyh_bGAVG6rCM80tF2y4U5bsPU&_nc_ht=scontent-xsp1-2.xx&tp=14&oh=c9ecdbe743167ff7cc408af8f0242738&oe=6081DA01', 'https://scontent-xsp1-2.xx.fbcdn.net/v/t1.0-9/fr/cp0/e15/q65/163999159_3965906623493761_2465515230911173730_o.jpg?_nc_cat=101&ccb=1-3&_nc_sid=2d5d41&_nc_ohc=-IGy6U3vfjoAX8D9pfK&_nc_oc=AQlvtDKb-bVeGBDWOvud8cEsgGxrPXc-\\-\\jPyEmfvCdyh_bGAVG6rCM80tF2y4U5bsPU&_nc_ht=scontent-xsp1-2.xx&tp=14&oh=c9ecdbe743167ff7cc408af8f0242738&oe=6081DA01']"
    

      需要说明的是,最好使用Python代码进行爬取,命令行爬取暂时无法对多页进行爬取。