...

View Full Version : Calling an API with JSON



bauchrednera
06-17-2010, 10: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>
<div class="sidebar_1_col_bottom" id="*****_bottom"></div>
</div>

Fou-Lu
06-17-2010, 10: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum