tlyu0419 / facebook_crawler

MIT License
277 stars 68 forks source link

Crawl_PagePosts 拿不到最新的 data #15

Closed paulchiu118 closed 2 years ago

paulchiu118 commented 2 years ago

想請問一下

範例的程式碼 import facebook_crawler pageurl= 'https://www.facebook.com/JessicaS.Y.Kan' facebook_crawler.Crawl_PagePosts(pageurl=pageurl, until_date='2022-04-01')

結果最新的 post 是 2020-10-24

但她的facebook page,她最新 post 是 2022-04-13 Screenshot (27) Screenshot (28)

tlyu0419 commented 2 years ago

@paulchiu118 Please update this package, and this problem will be solved, thanks for your reporting.

paulchiu118 commented 2 years ago

Thank you so much, and you are so awesome. I can only scrape the facebook post by using the selenium. I will read you python where you separated the function and left the comment to learn how to do so. Thank you again.

On Fri, 6 May 2022 at 6:30 PM, tlyu0419 @.***> wrote:

@paulchiu118 https://github.com/paulchiu118 Please update this package, and this problem will be solved, thanks for your reporting.

— Reply to this email directly, view it on GitHub https://github.com/TLYu0419/facebook_crawler/issues/15#issuecomment-1119475731, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYZ3FBKLKJK4NOPIDGBUQADVITYENANCNFSM5T2ZGFSA . You are receiving this because you were mentioned.Message ID: @.***>

paulchiu118 commented 2 years ago

Hi, it's me again. Sorry for bothering you again. Could I ask you some questions? Because I am studying the programming course and I want to be a data engineer, I want to learn more techniques and improve my competitiveness. After reading your facebook crawler code, I am so curious how you know inputting those header and data into the requests.post. consequently, it can return the post api. I just only see the graphql which contains facebook information of my personal account, not the other. So could you tell me how do you that please please please?

On Fri, 6 May 2022 at 18:30, tlyu0419 @.***> wrote:

@paulchiu118 https://github.com/paulchiu118 Please update this package, and this problem will be solved, thanks for your reporting.

— Reply to this email directly, view it on GitHub https://github.com/TLYu0419/facebook_crawler/issues/15#issuecomment-1119475731, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYZ3FBKLKJK4NOPIDGBUQADVITYENANCNFSM5T2ZGFSA . You are receiving this because you were mentioned.Message ID: @.***>