api - Twitter access token usage -


i want access twitter api on behalf of user.

i'm bit confused twitter access token usage. compare github api easy integrate with, have accesstoken put query parameter access_token every http request.

with github have access token (from test application), woundering should go - query string, headers?

would happy if clarify.

it should go in authorization header, word "bearer " (and space) before it.

e.g. in android / java httpget call:

httpget.setheader("authorization", "bearer " + access_token); 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -