Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Commit 13b4397

Browse files
committed
Describe ENV var change in README
1 parent b7db989 commit 13b4397

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,11 @@ Or install RubyGems version, which will receive more attention to stability:
3333
`buffer Super witty stuff that fits in 140 chars`
3434
Will post to your first account when setup following instructions below.
3535
_A more convenient setup is planned in future releases._
36-
* For convenience load credentials into `~/.bufferapprc` in the following layout. This allows the `ACCESS_TOKEN` to be loaded into `buffer::ACCESS_TOKEN`:
37-
36+
* For convenience load credentials into environment as ENV variables:
3837

3938
```
40-
---
41-
ACCESS_TOKEN: (BufferApp OAuth Access Token)
42-
PROFILE_INDEX: (default of 0)
43-
VERSION: (Do not alter)
44-
39+
export BUFFER_ACCESS_TOKEN="1/jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj" # (BufferApp OAuth Access Token)
40+
export BUFFER_PROFILE_ID="0" # (default of 0)
4541
```
4642

4743
## Access Token Instructions
@@ -53,16 +49,13 @@ Or install RubyGems version, which will receive more attention to stability:
5349
* Submit that form and wait a short period (~2 min )
5450
* Visit: http://bufferapp.com/developers/apps
5551
* Gather Access Token and place it after the word "access_token"
56-
* Copy this file to the root of your user's home folder:
57-
* Set Line 2 to 0 if you only have one account to post to. Otherwise it's more complicated ;). Find me on Twitter and I can explain [@_ZPH](https://twitter.com/_ZPH).
58-
* - ~/.bufferapprc
52+
* Set BUFFER_PROFILE_ID="0" if you only have one account to post to. Otherwise it's more complicated ;). Find me on Twitter and I can explain [@_ZPH](https://twitter.com/_ZPH).
5953

6054
## TODO:
6155

6256
* Improve instructions
6357

6458
#### Future versions will integrate with Buffer-OAuth system.
65-
* Determine if there is a way to use a single Application rather than creating unique ones per user.
6659
* Integrate Launchy for the purpose of launching browser window.
6760
* Possible to model behavior on [ t.gem ](https://github.com/sferik/t/blob/master/lib/t/cli.rb#L56-L113)
6861

0 commit comments

Comments
 (0)