Atsuya Okazaki / OAuth4Tw Featured

Description: Sample code using OAuth library for twitter.

Download repository: zip gz

Twitter sample code using OAuth library: http://mbed.org/users/takahashim/libraries/OAuth4Tw/
By using the OAuth library, you can directly tweet without proxy services such as supertweet.net.

Set up on Twitter.com

  1. Create a Twitter account if needed.
  2. Access "Twitter Developers" web site by using the account: https://dev.twitter.com/
  3. "Create a new application" in "My applications" menu. Then, fill the form with appropriate information.
  4. "(Re)create my access token" with an appropriate "Access level." "Read and Write" is required for posting tweets. You can change the Access level in "Application Type" on "Settings" tab later.
  5. Note "Consumer key", "Consumer secret", "Access token", and "Access token secret" described in "Details" tab.

Set up on mbed

  1. Import the sample program
  2. Replace "Consumer key", "Consumer secret", "Access token", and "Access token secret" in main.cpp with yours.
  3. Compile the code with libraries and install the output binary into your mbed.

Files at revision 0:00a2d3570824

Name Size Actions
[up]
EthernetNetIf.lib 62 Revisions Annotate
HTTPClient.lib 59 Revisions Annotate
OAuth4Tw.lib 61 Revisions Annotate
main.cpp 996 Revisions Annotate
mbed.bld 66 Revisions Annotate