Skip to content

Instantly share code, notes, and snippets.

@lulalala
Created July 31, 2012 07:38
Show Gist options
  • Save lulalala/3214537 to your computer and use it in GitHub Desktop.
Save lulalala/3214537 to your computer and use it in GitHub Desktop.
rest-more facebook error
client = RestCore::Facebook.new(app_id: FACEBOOK_APP_ID, secret: FACEBOOK_APP_SECRET)
client.post("1234567/feed", params: post_params)
# error:
# RestCore::Facebook::Error::InvalidAccessToken: {"error"=>{"message"=>"(#200) This API call requires a valid app_id.", "type"=>"OAuthException", "code"=>200}} from https://graph.facebook.com/1234567/feed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment