question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get profile of user

See original GitHub issue

I’ve used the library previously but I can’t seem to get the followers as I did before. I’m trying to get both profile and post of a given page. In this case, it’s chambajuice but it seems like it doesn’t work similarly to before

Requesting page from: /chambajuice/about/
'NoneType' object has no attribute 'text'
Requesting page from: /chambajuice/
No ld+json element
Chamba Juice, Milkytea & Shake, Manila, Philippines. 985 likes · 10 talking about this · 84 were here. Fresh, delicious, yummy, refreshing and affordable...
Starting to iterate pages
Requesting page from: https://m.facebook.com/chambajuice/posts/
Parsing page response
Got 1 raw posts from page
Extracting posts from page 0
Got exact timestamp from publish_time: 2022-01-31 22:23:16
Fetching 2798252983813030
[2798252983813030] Exception while running extract_video_meta: AttributeError("'int' object has no attribute 'startswith'")
[2798252983813030] Extract method extract_factcheck didn't return anything
2798252983813030 is a share of 971205523814595
data-ft attribute not found
[2798252983813030] Exception while running extract_share_information: RecursionError('maximum recursion depth exceeded in comparison')
[2798252983813030] Extract method extract_listing didn't return anything

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:34

github_iconTop GitHub Comments

1reaction
suarezjessiecommented, Feb 10, 2022

It finally worked!!! Thank you so much for the help!!! I really appreciate it. What worked for me was I re-installed facebook-scraper using the --force-reinstall flag of pip. Afterwards, I did the set_user_agent which I also think did the job. Thank you so much for all the help the past few days!

0reactions
neon-ninjacommented, Feb 9, 2022

Also try pip install -Ur requirements.txt as that was reported to fix this in https://github.com/kevinzg/facebook-scraper/issues/563

Read more comments on GitHub >

github_iconTop Results From Across the Web

User Profile Cannot Be Loaded Error in Windows 10
User Profile Cannot Be Loaded or 'User Profile Failed to Logon' Error in Windows 10 can be fixed by editing Registry Files or...
Read more >
User Profile Cannot Be Loaded? Here's How To Fix It
Solutions for User Profile Unable to Load · Enable User Profile Service · Change Registry Settings · Replace NTUSER Data File · Change...
Read more >
How to Fix User Profile Cannot be Loaded in Windows 10?
If the error The User Profile Service failed the sign-in appears when you first log in to the computer under a new account,...
Read more >
How to Fix Windows 10's User Profile Cannot Be Loaded ...
Method 1: Replace the NTUSER.dat file ... One of the most cited causes of the User Profile Cannot Be Loaded error on Windows...
Read more >
Fix a corrupted user profile in Windows
Learn what to do if you get a message telling you that your user profile is corrupted.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found