Skip to content

Instantly share code, notes, and snippets.

Created May 28, 2014 10:07
Show Gist options
  • Save anonymous/de1237b024fe542e414f to your computer and use it in GitHub Desktop.
Save anonymous/de1237b024fe542e414f to your computer and use it in GitHub Desktop.
#HTTP headers for Android client API calls
def client_headers
client_headers = {
"User-Agent" => @user_agent,
"X-Client-UUID" => @device_id,
"X-Twitter-Client" => @client_type,
"X-Twitter-Client-Version" => @client_version,
"Connection" => "Keep-Alive"
}
return client_headers
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment