Showing coding instead of stream


#1

I installed twitter stream on my url http://www.printinghost.com/blog but instead of showing stream it is showing some stupid statements and coding.

[
array(1) { [0]=> array(22) { [“created_at”]=> string(30) “Tue Jan 07 23:38:51 +0000 2014” [“id”]=> int(420701091789942784) [“id_str”]=> string(18) “420701091789942784” [“text”]=> string(139) “Joey Barton doesn’t even know the difference between being a manager of the club and being at the matches. Showed his stupidity once again.” [“source”]=> string(73) “Tweetbot for iOS” [“truncated”]=> bool(false) [“in_reply_to_status_id”]=> NULL [“in_reply_to_status_id_str”]=> NULL [“in_reply_to_user_id”]=> NULL [“in_reply_to_user_id_str”]=> NULL [“in_reply_to_screen_name”]=> NULL [“user”]=> array(2) { [“id”]=> int(287253599) [“id_str”]=> string(9) “287253599” } [“geo”]=> NULL [“coordinates”]=> NULL [“place”]=> NULL [“contributors”]=> NULL [“retweet_count”]=> int(0) [“favorite_count”]=> int(0) [“entities”]=> array(4) { [“hashtags”]=> array(0) { } [“symbols”]=> array(0) { } [“urls”]=> array(0) { } [“user_mentions”]=> array(0) { } } [“favorited”]=> bool(false) [“retweeted”]=> bool(false) [“lang”]=> string(2) “en” } }
Joey Barton doesn’t even know the difference between being a manager of the club and being at the matches. Showed his stupidity once again.
]


#2

Hello,

In order to display Twitter data on your website, you are looking for the Embedded Tweets or Embedded Timelines. The Streaming APIs return data not intended directly for display, but for programmatic access to the Tweets.

Here is the documentation on how to embed a Twitter Timeline on your page: https://dev.twitter.com/docs/embedded-timelines


#3

1


#4

Romain,

Thanks for your reply.

I didn’t understand what you mean by programming access? I read the instructions here on how to get twitter streams on website and followed the instructions. Someone gave me this link:
http://themes.bestpsdfreebies.com/twitter-oauth-setup.pdf


#5

If you simply want to display an Embedded Timeline on your website, that’s simpler than that and does not require programming.

Please take a look at my link above and create your own widget here: https://twitter.com/settings/widgets