Omniscope Custom Views › twitterview

Twitter View

The post behind the number. Embeds a post from X (formerly Twitter) in a report, chosen by the record the viewer filters or selects.

Tool

Open the demo in Omniscope Download demo.ioz Sample data: posts.csv Source on GitHub

The post behind the number. Embeds a post from X (formerly Twitter) in a report, chosen by the record the viewer filters or selects.

Live: a post embedded from X, chosen by its URL. Post ID or URL uses the Min function here, so one post is always shown.

The problem it solves

Social media data arrives in a workflow as rows: post IDs or URLs with dates, mentions, campaign tags and engagement counts. A table or chart of those rows shows which post stands out; it doesn't show the post. Opening it means copying an ID into a browser.

The Twitter View shows the post itself, as X's own widget, next to the views that make it interesting. Its Post ID or URL setting reads one value from the data: with the Singleton function, a post appears when the viewer filters or selects one post in another view. The post above uses the Min function instead, so one post always shows; below, a post chosen by its ID, in dark mode with the conversation and media hidden. Both are posts that X's developer documentation uses as examples.

Live: dark mode, by post ID, with conversation and media hidden.

Where it earns its place

The examples below are illustrative.

Team Data The post shows
Marketing Campaign posts with engagement figures The post a row refers to
Communications Mentions of the organisation by day The post behind a spike
Customer service Cases opened from social media The post the case started from
Research A coded sample of posts Each post next to its codes

How to use it in Omniscope

  1. Bring the data into a workflow with a field of post IDs (as Text) or post URLs, and connect it to a Report block.
  2. Add a view and choose Twitter View.
  3. Set Post ID or URL to that field, with the Singleton function.
  4. Add a table or chart of the posts next to it. Select or filter to one post there, and the Twitter View shows it.
  5. Optionally tick Dark mode, Hide conversation or Hide photos and link previews.

Why do this in Omniscope

Data and options

A field with post IDs (as text) or post URLs.

Option What it does
Post ID or URL The field, with Singleton (a post when the selection or filter leaves one), or Min or Max (always one)
Dark mode Light text on a dark background
Hide conversation Only the post, not the one it replies to
Hide photos and link previews The post's text only
Pane X, Pane Y One post per value of a field

Tested

Reference

Fields it reads

NameTypeWhat it does
Post ID or URLMEASURE
Pane XGROUPING
Pane YGROUPING

Options

NameTypeWhat it does
Dark modeTOGGLE
Hide conversationTOGGLE
Hide photos and link previewsTOGGLE