Failed to use JS API to show tweets on websites

api

#1

Hey

I am trying my first time using Twitter JS API to present a widget, but it dosent work. after calling the standart widgets.js on the header, i use

<script>
twttr.widgets.createTimeline(
  {
    sourceType: "profile",
    screenName: "twitterdev"
  },
  document.getElementById("container"),
  {
    chrome: "nofooter",
    linkColor: "#820bbb",
    borderColor: "#a80000"
  }
);
twttr.widgets.load()
</script>

but it dosent work. how can i solve it ?

10x


#2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.