Skip to content
This repository was archived by the owner on Aug 22, 2019. It is now read-only.
This repository was archived by the owner on Aug 22, 2019. It is now read-only.

Getting back an empty array for my own face #10

@graytmatter

Description

@graytmatter

I'm doing a really basic version of your example code. I got the access token, cookies, and fb_dtsg.
access_token = "stuff"
cookies = "more stuff"
fb_dtsg ="even more stuff"

path = 'myface.jpg'
# Instantiate the recog class
recog = FBRecog(access_token, cookies, fb_dtsg)
# Recog class can be used multiple times with different paths
print(recog.recognize(path))

When I run this code I get the following output. Looking through the code it seems like that array should contain the list of people who were recognized as being in the photo. Given that I gave it a picture of myself I feel like it should be able to recognize it?

Post data to Facebook, please wait...
Querying Facebook, please wait...
Please wait. Cleaning up...
Finished.
[]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions