irfancharania / fb-feed-gen

Facebook RSS Feed Generator
GNU General Public License v2.0
45 stars 22 forks source link

No posts found? #8

Open infinitepower18 opened 5 years ago

infinitepower18 commented 5 years ago

I'm trying to get an RSS feed of the Animax Asia Facebook page. But for some reason it's saying no posts.

image

irfancharania commented 5 years ago

The example urls still work just fine. For some reason, the lxml parser is unable to parse the Animax Asia page. I'm not sure why... there may be some character there that is throwing it off? I suspect once the offending post is out of the main page, then it will start working again...

infinitepower18 commented 5 years ago

@irfancharania, is this issue fixed now?

irfancharania commented 5 years ago

I haven't come across it again... so closing it

eniac111 commented 4 years ago

Hey,

I'm experiencing it with every single page. @irfancharania do you still use the script?

Cheers!

irfancharania commented 4 years ago

I'm still using it, and it works for both the examples on the main page. This app only works for publicly available pages. Are you sure the pages you're supplying are posting publicly?

eniac111 commented 4 years ago

Yes, I am sure, strange. Anyway, I have found a similar php script which is working. The parsing part is boring :)

Regards

m040601 commented 4 years ago

Hi same problem here

... and it works for both the examples on the main page.

For me it doesnt, same error

...Are you sure the pages you're supplying are posting publicly?

Yes, 100% sure. Tried with many different pages

  1. Could you please add one or two lines more to the README.md page ?

Right now, it's very terse, it doesnt say much.

I want to make sure I did the right thing about cloning it, and starting it.

  1. Any suggestions how to help you help us solve this problem ?

The only thing I could come up with is the log, but doesnt say anything suspicious

Extracting posts from page
0 posts found
127.0.0.1 - - [12/Aug/2020 02:19:46] "GET /data?username=islandfarmfresh HTTP/1.1" 200 -

Any hints ? Turn on debug ? Verbose ?

irfancharania commented 4 years ago

What url are you trying?

To deploy the application, you would click the heroku button, and go through the wizard and at the end it tells you the app url. You proceed to the url, put in the user/page name and it should generate the atom feed.

When I just tried, it failed initially because of outdated dependencies with security issues. I updated the dependencies and tried again, it deploys and works for me for the example sites...

You've got the correct url in your log... do you see any posts when you go to FB page directly? https://mbasic.facebook.com/IslandFarmFresh/

I haven't added any logging to the app...

Dylan700Manes commented 3 years ago

Hello, the generator does not seem to work with the following users: IslandFarmFresh elysee.fr While, https://mbasic.facebook.com/elysee.fr https://mbasic.facebook.com/IslandFarmFresh Returns a result

irfancharania commented 3 years ago

I just created a new Heroku app using the deploy button on the main page, and checked both IslandFarmFresh and elysee.fr. Both come up with posts for me...

Cheng-CM commented 2 years ago

Hello, seems like the problem is on Facebook's side, I tried to return the FB page back to the app and it's just a login page. Tried switching user agents, not working so far.

juanjosepablos commented 2 years ago

It does not work for me either. I think that the problem is that you need to by pass the cookies requirement.