hikaruAi / FacebookBot

A facebook bot to scrap, post, spam and more without the facebook API
Apache License 2.0
359 stars 117 forks source link

Selenium Warnings #10

Open ThinkDigitalSoftware opened 6 years ago

ThinkDigitalSoftware commented 6 years ago

Hi, I'm getting this warning now. UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead

michaeltoohig commented 6 years ago

Same here.

vasubits commented 6 years ago

please help

BukinPK commented 6 years ago

+

Puki4556 commented 5 years ago

same here

aspiringguru commented 3 years ago

found this in 2021 via the same error messages as above. Have not resolved the issue but dropping these notes in the hope someone might fill in the gaps after my attempt failed.

https://github.com/kybu/headless-selenium-for-win https://github.com/kybu/headless-selenium-for-win/releases

I have these files in same dir as executing python desktop_utils.exe headless_ie_selenium.exe phantomjs.exe

if phantomjs.exe is not in path I get selenium.common.exceptions.WebDriverException: Message: 'phantomjs' executable needs to be in PATH.

I'm left wondering if this project is abandoned or FB upgrades have made it unworkable. Has anyone had success?

I got this far

from FacebookWebBot import * bot=FacebookBot() bot.set_page_load_timeout(20) bot.login("user_email@blah.com","password")

no errors above, but outputs a fail to login message.

Fail to login False

I tried a couple of different accounts, it's possible my security settings on my main account caused failure, a brand new account still failed. I'd expect FB to be aware of this package and to have upgraded their security to detect and reject this bot and others. (??)

andashologu commented 3 years ago

I dont think it is still working nowadays

I can login with the bot, with my drivers set in path... I perform certain functions, without any errors code says process completed to mean it is done. When I go to verify if the job is really done, I find that nothing done... The issue here might be with the drivers,