diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-05-06 17:27:48 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-05-06 17:27:48 +0900 |
commit | 4d71563bdf071305a561de0bef01cd390e37cb5d (patch) | |
tree | c81e8ad733b08490e347d6e47316f82388cef0d1 /README.md | |
parent | 0186387decbdac0d0570fa7b6b0a7ab10fbc3a47 (diff) | |
download | SmileEssence-4d71563bdf071305a561de0bef01cd390e37cb5d.tar.gz |
fetch api keys / oauth tokens from build type specific files
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 36 |
1 files changed, 15 insertions, 21 deletions
@@ -1,31 +1,25 @@ -SmileEssence [![Build Status](https://travis-ci.org/laco0416/SmileEssence.svg)](https://travis-ci.org/laco0416/SmileEssence) +*This is an unofficial fork of [SmileEssence](https://github.com/laco0416/SmileEssence)* + +SmileEssence ============ -![icon](https://raw.githubusercontent.com/laco0416/SmileEssence/master/icon_application.png) +![icon](https://raw.githubusercontent.com/rhenium/SmileEssence/master/icon_application.png) [Official Web Site](http://smileessence.lacolaco.net) -#How to Fork +# Build + Clone this repository. -+ Add file `app/tokens.properties` and write your application's API keys. - -``` -# tokens.properties - -consumerKey=YOUR_API_KEY -consumerSecret=YOUR_API_KEY_SECRET -``` - -# Testing ++ Add your application's API keys to `app/src/main/resources/twitter4j.properties` (for release builds) and `app/src/debug/resources/twitter4j.properties` (for debug builds / tests). -Give your `access_token` and `access_token_secret` of above consumer app. + ``` + oauth.consumerKey=YOUR_API_KEY + oauth.consumerSecret=YOUR_API_KEY_SECRET + ``` -``` -# tokens.properties ++ Add an OAuth token pair (for tests) to `app/src/androidTest/assets/tokens.properties`. -consumerKey=*** -consumerSecret=*** -accessToken=*** -accessTokenSecret=*** -``` + ``` + accessToken=YOUR_OAUTH_TOKEN + accessTokenSecret=YOUR_OAUTH_TOKEN_SECRET + ``` |