Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

More infos about actor #179

Open
fdematos opened this issue Aug 24, 2017 · 2 comments
Open

More infos about actor #179

fdematos opened this issue Aug 24, 2017 · 2 comments

Comments

@fdematos
Copy link

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.

@killix
Copy link
Collaborator

killix commented Aug 25, 2017

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

cc @dustinblackman

@fdematos
Copy link
Author

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),

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants