botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

how to get facebook user ID

Open aniketisin opened this issue 10 years ago • 2 comments

Currently message.From.Name gives the facebook username. and message.From.Id is not the facebook user id. Is there a way through which I can get the Facebook User Id ?

aniketisin avatar Jun 01 '16 08:06 aniketisin

message.channelData contains the original message from facebook so you should be able to get it from that.

Stevenic avatar Jun 01 '16 09:06 Stevenic

Thanks!

aniketisin avatar Jun 01 '16 10:06 aniketisin