Sunday, May 1, 2016

Step 7. Add Twitter widget to Canvas Page.

Twitter has changed its widget system, but you can find all the information you need here:

3 comments:

  1. Thanks very much for this, very useful (I was actually pointed at your post here: https://community.canvaslms.com/message/61566-re-how-to-embed-from-venngage-using-script?commentID=61566#comment-61566 by one of Instructure's trainers) - I'll be suggesting that Instructure should write some docs themselves.

    Anyway, just thought I'd mention that you can get the file's URL much more easily by (in Chrome) right-click 'Copy link address' and removing the '?' and anything after that. Interestingly, it looks as if files are numbered sequentially for a course domain so you actually only need the file id:

    https://myuniversity.instructure.com/files/456/download

    ReplyDelete
    Replies
    1. Thanks for your comment! I found yet another way to access the file in a way that uses the name from someone else posting at the Community about using Files in an iframe, too. One of my worries is that Instructure might at some point shut down a lot of these options since they are not officially supported anywhere, and that's why I suspect we will not see it documented by Instructure. That's why I prefer to host my own files, but at the same time I am very glad that Canvas course Files can be used in this way, so that people who don't have webspace of their own can still manage to make use of Twitter widgets, etc.

      If you want to share your stuff with other people, though, you need to be able to host in your own space. So all the widgets in my Javascript Widget Warehouse, along with all the Twitter Widgets I've prepared for sharing, are hosted in my lauragibbs.net space. I am really grateful to the people at Reclaim Hosting for making it so easy to turn on the https option there in order to make those files usable in Canvas course spaces! :-)

      Delete
  2. This comment has been removed by the author.

    ReplyDelete