View Full Version : Calling an API with JSON

06-17-2010, 11:29 PM
I need to create a PHP file that calls an API in JSON format. I tried using the following code and when I launch the page in my browser I get a missing plug-in message followed by plug-in cannot be found. Please help!

<div class="sidebar_1_col" id="*****_wrapper">
<a href="*****" target="_blank"><h2>*****</h2></a>

<div class="sidebar_1_col_top" id="*****_top"></div>
<div class="sidebar_1_col" id="*****_feed">

<embed src="http://www.*****.com/api/users/******/photos/?limit=20" height="245" width="224">

<div class="sidebar_1_col_bottom" id="*****_bottom"></div>

06-17-2010, 11:55 PM
How is this a PHP issue?
If your browser itself is triggering errors, that would be a Javascript issue. If your HTML includes errors, that would be a PHP trigger. But from what you have here, this is definitely a client side issue.