Message Boards Message Boards

Is there a way to include attachments and unicode in tweets?

Posted 10 years ago

I make good use of the SendMessage["Twitter", string] command but would like to include greek characters and attachments. Is there a way to do this in Mathematica 10?

POSTED BY: Stephen Wilkus

You can include any Unicode character in a tweet, as the full character set is supported in Mathematica (see here.) Since Twitter doesn't support attachments, (except images, for which you include the url in the tweet) the best solution is probably to use the Wolfram Cloud:

CloudExport[ExampleData[{"Sound", "AltoSaxophone"}], "MP3", 
 "Permissions" -> "Public"]

The permissions option is required to make the file visible to all users.

Alternatively, depending on the type of file you want to display, you might be able to render it into an image.

POSTED BY: Jesse Friedman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract