Firefox PHP

Module: Embed Tweet

Posted by SalsaShark 
All files from this thread

File Name File Size   Posted by Date  
embed_tweet-1.0.2.zip 5.3 KB open | download SalsaShark 04/05/2012 Read message
Module: Embed Tweet
April 03, 2012 09:33PM
This module allows embedding of tweets using Twitter's oembed functionality. The module will automatically replace any single tweet link.

As per Twitter's requirements, queries must be cached locally, so the module creates a table and caches a copy of each tweet it comes across and will use the cached data for subsequent views.

There is currently one setting, which allows you to omit the JavaScript link that is normally attached to the tweet data. This JavaScript is responsible for interactive functionality, formatting, and calling the CSS used. In most cases you will not need to change this, but if you prefer to serve the JS and/or CSS locally, you can enable this option.

The script tag is included in the cached HTML of the tweet, so if you change this option, be sure to empty the cache, which you can also do from the settings page.



Edited 1 time(s). Last edit at 04/03/2012 09:35PM by SalsaShark.
Attachments:
open | download - embed_tweet-1.0.2.zip (5.3 KB)
Sorry, only registered users may post in this forum.

Click here to login