integrations icon indicating copy to clipboard operation
integrations copied to clipboard

More infos about actor

Open fdematos opened this issue 8 years ago • 2 comments

Overview

  • What project is this issue for?: broid-messenger , broid-schemas

  • Is this a bug, security, feature request, or feedback: feature request

Get more informations about actor like gender and separate first_name, last_name. Facebook provide the gender, and in lot of language (French for example), we need to know the gender to adapt grammar rule when we are speaking to woman.

Separate first_name and last_name will allow to easily call the user by his first name.

fdematos avatar Aug 24 '17 08:08 fdematos

Thanks for your request. We will take a look to know what is the best way do that.

cc @dustinblackman

killix avatar Aug 25 '17 02:08 killix

What I found in Activity Stream documentation is we can use vcard field to add this kind of information. So In the parser of the messenger we should have something like that :

"vcard:first-name": R.path(['authorInformation', 'first_name'], normalized), "vcard:last-name": R.path(['authorInformation', 'last_name'], normalized), "vcard:gender": R.path(['authorInformation', 'gender'], normalized),

fdematos avatar Aug 28 '17 11:08 fdematos