Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API proposal: adding twitter/facebook/other social media #39

Closed
tdooner opened this issue Oct 21, 2017 · 1 comment
Closed

API proposal: adding twitter/facebook/other social media #39

tdooner opened this issue Oct 21, 2017 · 1 comment

Comments

@tdooner
Copy link
Contributor

tdooner commented Oct 21, 2017

Hey @ondrae and anyone else watching, we've collected facebook/twitter/etc. for the brigades and it feels natural to include it here, e.g. so that the search pages on brigade.codeforamerica.org can include the social media handles.

I propose a structure like this:

{
   // ...rest of fields here...
  "social_profiles": {
    "facebook": "https://facebook.com/...",
    "twitter": "http://twitter.com/openoakland",   // prefer URLs over usernames
  }
}

A few keys in the social_profiles object would be well-known, and brigades could add new ones as desired. For example, facebook, twitter and github to begin with, and for example a brigade with an instagram account could add it there without impacting anything else.

I'll get a PR up for this shortly but wanted to run this by the audience here first.

@tdooner
Copy link
Contributor Author

tdooner commented Dec 8, 2017

This happened.

@tdooner tdooner closed this as completed Dec 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant