1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 08:35:57 +00:00

add experimental support for Twitter OAuth and Twitter feeds (bump schema)

This commit is contained in:
Andrew Dolgov
2010-11-22 16:26:00 +03:00
parent c0ed037106
commit 57e24c8267
11 changed files with 1269 additions and 17 deletions

View File

@@ -1704,4 +1704,24 @@ function editLabel(id, event) {
}
}
function clearTwitterCredentials() {
try {
var ok = confirm(__("This will clear your stored authentication information for Twitter. Continue?"));
if (ok) {
notify_progress("Clearing credentials...");
var query = "?op=pref-feeds&subop=remtwitterinfo";
new Ajax.Request("backend.php", {
parameters: query,
onComplete: function(transport) {
notify_info("Twitter credentials have been cleared.");
updateFeedList();
} });
}
} catch (e) {
exception_error("clearTwitterCredentials", e);
}
}