Skip to content

Instantly share code, notes, and snippets.

@matthewlmcclure
Created November 28, 2012 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewlmcclure/4158445 to your computer and use it in GitHub Desktop.
Save matthewlmcclure/4158445 to your computer and use it in GitHub Desktop.
curlish .ftcurlish.json for RFC 5849 proof of concept
{
"curl_path": "curl",
"http_port": 62231,
"json_indent": 2,
"sites": {
"twitter": {
"extra_headers": {},
"url_default": false,
"request_token_params": {},
"authorize_url": "https://api.twitter.com/oauth/authorize",
"bearer_transmission": "query",
"base_url": "https://api.twitter.com/",
"oauth_version": "rfc5849",
"client_id": "...",
"client_secret": "...",
"request_token_url": "https://api.twitter.com/oauth/request_token",
"grant_type": "rfc5849_authorization_code",
"access_token_url": "https://api.twitter.com/oauth/access_token"
}
},
"colors": {
"constant": "blue",
"string": "yellow",
"objstring": "green",
"jsonpfunc": null,
"number": "purple",
"statusline_ok": "green",
"header": "teal",
"statusline_error": "red",
"operator": null,
"brace": "teal"
},
"rfc5849_token_cache": {
"twitter": {
"access_token": "...",
"access_token_secret": "..."
}
},
"token_cache": { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment