This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Introduction to Twitter's API Forum

View Course » View Exercise

970 points
834417f7bb1032c3cb2ade19a52120e4?s=140&d=retro
Submitted by
OlivierLi
over 3 years ago

1/5 The result is 401

The result is 401. Why??


1 vote

permalink

It sounds like you don't have your key, token, etc. sorted. These:

consumer_key = OAuth::Consumer.new(
    "YOUR_CONSUMER_KEY",
    "YOUR_CONSUMER_SECRET")
access_token = OAuth::Token.new(
    "YOUR_ACCESS_TOKEN",
    "YOUR_ACCESS_SECRET")

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
about 3 years ago