diff --git a/twitter/jquery.tweet.js b/twitter/jquery.tweet.js index 1b1ab83..228efc8 100644 --- a/twitter/jquery.tweet.js +++ b/twitter/jquery.tweet.js @@ -11,6 +11,7 @@ $.fn.tweet = function(o){ var s = $.extend({ modpath: "/twitter/", // [string] relative URL to Tweet.js mod (see https://github.com/StanScates/Tweet.js-Mod) + extra_params: {}, // [object] additional paremeters to get posted together with the request username: null, // [string or array] required unless using the 'query' option; one or more twitter screen names (use 'list' option for multiple names, where possible) list_id: null, // [integer] ID of list to fetch when using list functionality list: null, // [string] optional slug of list belonging to username @@ -271,7 +272,7 @@ type: "post", async: false, url: s.modpath || "/twitter/", - data: { request: build_api_request() }, + data: $.extend(true, { request: build_api_request() }, s.extra_params ), success: function(data, status) { if(data.message) {