fca-unofficial
Advanced tools
Comparing version 1.0.8 to 1.0.9
36
DOCS.md
@@ -324,3 +324,3 @@ # Documentation | ||
__Arguments__ | ||
* `color`: String representing a hex color code (eg: "#0000ff") preceded by "#". | ||
* `color`: String representing a theme ID (a list of theme ID can be found at `api.threadColors`). | ||
* `threadID`: String representing the ID of the thread. | ||
@@ -967,19 +967,21 @@ * `callback(err)`: A callback called when the change is done (either with an error or null). | ||
A dictionary mapping names of all currently valid thread colors to their hexadecimal values that are accepted by [`api.changeThreadColor`](#changeThreadColor). These colors, listed below, are the ones present in the palette UI used for selecting thread colors on the Messenger client. | ||
A dictionary mapping names of all currently valid thread themes to their theme ID that are accepted by [`api.changeThreadColor`](#changeThreadColor). These themes, listed below, are the ones present in the palette UI used for selecting thread themes on the Messenger client. | ||
- MessengerBlue: `null` | ||
- Viking: `#44bec7` | ||
- GoldenPoppy: `#ffc300` | ||
- RadicalRed: `#fa3c4c` | ||
- Shocking: `#d696bb` | ||
- PictonBlue: `#6699cc` | ||
- FreeSpeechGreen: `#13cf13` | ||
- Pumpkin: `#ff7e29` | ||
- LightCoral: `#e68585` | ||
- MediumSlateBlue: `#7646ff` | ||
- DeepSkyBlue: `#20cef5` | ||
- Fern: `#67b868` | ||
- Cameo: `#d4a88c` | ||
- BrilliantRose: `#ff5ca1` | ||
- BilobaFlower: `#a695c7` | ||
- DefaultBlue: `196241301102133` | ||
- HotPink: `169463077092846` | ||
- AquaBlue: `2442142322678320` | ||
- BrightPurple: `234137870477637` | ||
- CoralPink: `980963458735625` | ||
- Orange: `175615189761153` | ||
- Green: `2136751179887052` | ||
- LavenderPurple: `2058653964378557` | ||
- Red: `2129984390566328` | ||
- Yellow: `174636906462322` | ||
- TealBlue: `1928399724138152` | ||
- Aqua: `417639218648241` | ||
- Mango: `930060997172551` | ||
- Berry: `164535220883264` | ||
- Citrus: `370940413392601` | ||
- Candy: `205488546921017` | ||
- StarWars: `809305022860427` | ||
@@ -986,0 +988,0 @@ --------------------------------------- |
{ | ||
"name": "fca-unofficial", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A Facebook chat API that doesn't rely on XMPP. Will NOT be deprecated after April 30th 2015.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -34,3 +34,3 @@ "use strict"; | ||
source: "SETTINGS", | ||
theme_id: api.threadColors[validatedColor], | ||
theme_id: validatedColor, | ||
thread_id: threadID | ||
@@ -37,0 +37,0 @@ } |
536046