Beispiel #1
0
<?php

session_start();
if (!isset($_SESSION['AccessToken'])) {
    header('Location: redirect.php?op=getauth');
    die;
}
require_once 'Class.Instagram.php';
$instgram = new Instagram();
$userpublications = json_decode($instgram->getUserPublications(5));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Instagram API Intergation With PHP</title>
<link rel="stylesheet" href="maps.css">
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>

<script type="text/javascript">

 function initialize() {

	  var mapOptions = {
			  
	    mapTypeId: google.maps.MapTypeId.ROADMAP  
	  }
	  var map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);

	  var LatLongList = [