Created
November 20, 2015 05:50
-
-
Save LusciousPear/e30bedb0224f11edafc0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template is="dom-bind"> | |
<iron-localstorage name="userToken" value="{{localtoken}}" use-raw></iron-localstorage> | |
<iron-ajax url="api/twitter/v1/private/gettweets" last-response="{{data}}" auto | |
headers='{"Authorization": "Bearer [[localtoken]]"}' | |
handle-as="json"></iron-ajax> | |
<iron-list items="[[data.futuretweets]]" as="item"> | |
<template> | |
<div> | |
datetime: <span>[[item.datetime]]</span> | |
text: <span>[[item.text]]</span> | |
</div> | |
</template> | |
</iron-list> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment