Using access token with ajax


#1

hey everybody i’d like to pull user tweets using iron-ajax a web component found in google’s polymer framework i have structured the ajax component as the following

<iron-ajax auto
      url="https://api.twitter.com/1.1/search/tweets.json?q=from:"
      handle-as="json"
      last-response="{{ajaxResponse}}"
      on-response="response"></iron-ajax>

i understand it requires a user to be authenticated to twitter to be used however i already have the user authenticated via gmail, so my question is how can i use the access token and use the query thanks