meta-ai-api icon indicating copy to clipboard operation
meta-ai-api copied to clipboard

image generation not working ???

Open paisekamao opened this issue 1 year ago • 2 comments

(venv) E:\PROJECTS\meta>python api.py Traceback (most recent call last): File "E:\PROJECTS\meta\api.py", line 2, in ai = MetaAI(fb_email="", fb_password="**") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\PROJECTS\meta\venv\Lib\site-packages\meta_ai_api\main.py", line 50, in init self.cookies = self.get_cookies() ^^^^^^^^^^^^^^^^^^ File "E:\PROJECTS\meta\venv\Lib\site-packages\meta_ai_api\main.py", line 335, in get_cookies fb_session = get_fb_session(self.fb_email, self.fb_password) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\PROJECTS\meta\venv\Lib\site-packages\meta_ai_api\utils.py", line 107, in get_fb_session li = soup.find("input", {"name": "li"})["value"] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ TypeError: 'NoneType' object is not subscriptable

(venv) E:\PROJECTS\meta>

paisekamao avatar Sep 28 '24 14:09 paisekamao

Hi you need to be authenticated with FB to generate images.

Strvm avatar Sep 30 '24 18:09 Strvm

Hi @Strvm, I'm having the same issue... I've inserted my FB authentication details but I get the same error

smandelli avatar Oct 09 '24 16:10 smandelli

same here. I've inserted my FB authentication details but I get the same error.

jackmvision avatar Oct 17 '24 21:10 jackmvision

FB Updated the login page I was using to check credentials. The new one has a lot more security on top of it, so currently can't log into FB

Strvm avatar Oct 17 '24 21:10 Strvm

@Strvm Thanks for checking! Do you think you will release a fix soon?

jackmvision avatar Oct 17 '24 21:10 jackmvision