-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
basic plugin for twitter and reddit (#26)
* basic plugin for twitter and reddit * remove timeout * linter fix
- Loading branch information
Showing
4 changed files
with
156 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
[ | ||
{ | ||
"url": "https://api.twitter.com/1.1/account/settings.json", | ||
"targetUrl": "https://www.twitter.com", | ||
"method": "GET", | ||
"type": "xmlhttprequest", | ||
"title": "Twitter Profile", | ||
"description": "Notarize ownership of a twitter profile. To start, go to your own profile" | ||
"description": "Notarize ownership of a twitter profile. To start, go to your own profile", | ||
"responseSelector": "(?<=\"screen_name\":)\"(.*?)\"", | ||
"valueTransform": "\"screen_name\":%s" | ||
}, | ||
{ | ||
"url": "https://gateway.reddit.com/desktopapi/v1/prefs", | ||
"targetUrl": "https://www.reddit.com/settings", | ||
"method": "GET", | ||
"type": "xmlhttprequest", | ||
"title": "Reddit Profile", | ||
"description": "Notarize ownership of a reddit profile. To start, go to reddit.com/settings" | ||
"description": "Notarize ownership of a reddit profile. To start, go to reddit.com/settings", | ||
"responseSelector": "(?<=\"displayText\": )\"(.*?)\"", | ||
"valueTransform": "\"displayText\": %s" | ||
} | ||
] |