Skip to content

Styling a thread #1

@floriandierickx

Description

@floriandierickx

Dear,

Thanks a lot for your application! To integrate a thread, I am very interested to use your tool to convert a twitter thread to a blogpost for my website.

I tried to convert a thread by running following commands:

thrd <- get_thread("1143480292830842880")
thrd
htmltools::HTML(thrd$thread_html)

Which captures the thread and converts it to html.

But when trying to style the thread using the built-in css with style_tweet(thrd), it renders the error

Error in x[1, ] : incorrect number of dimensions
Calls: &lt;Anonymous&gt; ... style_tweet -&gt; %&gt;% -&gt; eval -&gt; eval -&gt; htmlify_tweet
Execution halted

Any idea how to overcome this? Maybe I missed some step in the workflow..

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions