FMF_Server icon indicating copy to clipboard operation
FMF_Server copied to clipboard

User ID for contacts

Open pbriggin opened this issue 4 years ago • 1 comments

Hey Clay,

To your knowledge, does this script still work? How can I find the User ID for a contact? When I put in a name, it serves me this error:

INFO:main:Finding user: _Nate Traceback (most recent call last): File "/Users/peterbriggs/Desktop/FMF_Server-master/FMF.py", line 308, in f.get_user_by_name("_Nate") File "/Users/peterbriggs/Desktop/FMF_Server-master/FMF.py", line 276, in get_user_by_name self.logger.debug("User {0} not in contacts or can't be found right now".format(self.contacts[user])) KeyError: '_Nate'

The account does not have 2FA. Please advise. Thanks for your work on this!

pbriggin avatar Dec 10 '20 15:12 pbriggin

I'll add a function to list out all current contacts so that the contact id can be used as the key

clayshieh avatar Jul 18 '21 07:07 clayshieh