Skip to content

Instantly share code, notes, and snippets.

@pascalbetz
Created February 9, 2012 08:26
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 pascalbetz/1778441 to your computer and use it in GitHub Desktop.
Save pascalbetz/1778441 to your computer and use it in GitHub Desktop.
Failing Withings Call
require 'rubygems'
require 'withings'
include Withings
Withings.consumer_secret = 'ABCD'
Withings.consumer_key = 'EFGH'
user_id = 12345
token = '5678'
token_secret = '9012'
user = User.authenticate(user_id, token, token_secret)
p user
p user.measurement_groups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment