Skip to content

Commit bc230b0

Browse files
steveseguinactions-user
authored andcommitted
docs(instagram): document payload type split
Update documentation to clarify the distinction between Instagram live streams (data.type = "instagramlive") and non-live post comments (data.type = "instagram"). Add instagramlive as a separate source option in Event Flow Editor. Changes: - README.md and landing.html: Add "payload type" notation to Instagram entries - docs/event-reference.html: Document data.type field behavior for Instagram - docs/js/sites.js: Clarify payload types for Instagram live/post sources - actions/EventFlowEditor.js: Add "Instagram Live" as distinct source option [auto-enhanced]
1 parent 097fcfd commit bc230b0

5 files changed

Lines changed: 12 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ Much more than just an overlay - Social Stream Ninja is a complete chat ecosyste
115115
- mixcloud.com (pop out chat)
116116
- ms teams (teams.live.com and teams.microsoft.com)
117117
- vimeo.com (either the vimeo.com/events/xxx pages or https://vimeo.com/live-chat/xxxxxxxxx/interaction/)
118-
- instagram live (instagram.com/*/live/), css note: `[data.type = "instagramlive"]`
119-
- Instagram post non-live comments (REQUIRES the TOGGLE in menu to enable it), css note: `[data.type = "instagram"]`
118+
- instagram live (instagram.com/*/live/), payload type / css note: `[data.type = "instagramlive"]`
119+
- Instagram post non-live comments (REQUIRES the TOGGLE in menu to enable it), payload type / css note: `[data.type = "instagram"]`
120120
- instafeed.me (no pop out; alternative instagram live support)
121121
- tiktok live (tiktok.com/*/live -- the chat must be left open/visible if using the extension version)
122122
- webex live chat (not the pop out)

actions/EventFlowEditor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ class EventFlowEditor {
492492
{ value: 'facebook', label: 'Facebook' },
493493
{ value: 'tiktok', label: 'TikTok' },
494494
{ value: 'instagram', label: 'Instagram' },
495+
{ value: 'instagramlive', label: 'Instagram Live' },
495496
{ value: 'rumble', label: 'Rumble' },
496497
{ value: 'kofi', label: 'Ko-fi' },
497498
{ value: 'bmac', label: 'Buy Me a Coffee' },

docs/event-reference.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ <h2>Field Overview</h2>
199199
</tr>
200200
</thead>
201201
<tbody>
202+
<tr>
203+
<td><code>data.type</code></td>
204+
<td>string</td>
205+
<td>Source identifier used by overlays, filters, and Event Flow. Instagram keeps live chat as <code>instagramlive</code> and non-live comments as <code>instagram</code>.</td>
206+
</tr>
202207
<tr>
203208
<td><code>data.event</code></td>
204209
<td>string | boolean</td>

docs/js/sites.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ document.addEventListener('DOMContentLoaded', function() {
6262
<li>No need to pop out the chat</li>
6363
</ul>
6464
`,
65-
notes: 'CSS note for styling: [data.type = "instagramlive"]'
65+
notes: 'Payload type: <code>instagramlive</code>. CSS note for styling: [data.type = "instagramlive"]'
6666
},
6767
{
6868
name: 'Instagram Post Comments',
@@ -75,7 +75,7 @@ document.addEventListener('DOMContentLoaded', function() {
7575
<li>Navigate to any Instagram post to capture comments</li>
7676
</ul>
7777
`,
78-
notes: 'CSS note for styling: [data.type = "instagram"]'
78+
notes: 'Payload type: <code>instagram</code>. CSS note for styling: [data.type = "instagram"]'
7979
},
8080
{
8181
name: 'X Live (Twitter)',

landing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ <h3 id="supported-sites">Supported sites [archived support list]:</h3>
421421
<li>mixcloud.com (pop out chat)</li>
422422
<li>ms teams (teams.live.com and teams.microsoft.com)</li>
423423
<li>vimeo.com (either the vimeo.com/events/xxx pages or <a href="https://vimeo.com/live-chat/xxxxxxxxx/interaction/">https://vimeo.com/live-chat/xxxxxxxxx/interaction/</a>)</li>
424-
<li>instagram live (instagram.com/*/live/), css note: <code>[data.type = "instagramlive"]</code></li>
425-
<li>Instagram post non-live comments (REQUIRES the TOGGLE in menu to enable it), css note: <code>[data.type = "instagram"]</code></li>
424+
<li>instagram live (instagram.com/*/live/), payload type / css note: <code>[data.type = "instagramlive"]</code></li>
425+
<li>Instagram post non-live comments (REQUIRES the TOGGLE in menu to enable it), payload type / css note: <code>[data.type = "instagram"]</code></li>
426426
<li>instafeed.me (no pop out; alternative instagram live support)</li>
427427
<li>tiktok live (tiktok.com/*/live)</li>
428428
<li>webex live chat (not the pop out)</li>

0 commit comments

Comments
 (0)