Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

No posts found? #8

Open
infinitepower18 opened this issue Jun 8, 2019 · 12 comments
Open

No posts found? #8

infinitepower18 opened this issue Jun 8, 2019 · 12 comments

Comments

@infinitepower18
Copy link
Contributor

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
Copy link
Owner

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
Copy link
Contributor Author

@irfancharania, is this issue fixed now?

@irfancharania
Copy link
Owner

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

@eniac111
Copy link

Hey,

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

Cheers!

@irfancharania
Copy link
Owner

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
Copy link

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

Regards

@m040601
Copy link

m040601 commented Aug 12, 2020

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.

  • About requirements (yes I know about requirements.txt)
  • how to start it
  • the status of the project
  • caveats ?
  • where/when it works, when not (facebook restrictions)

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
Copy link
Owner

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...

@irfancharania irfancharania reopened this Aug 12, 2020
@Dylan700Manes
Copy link

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
Copy link
Owner

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
Copy link

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants