Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


JSON




Reference




JSON example - Flickr JSON feeds



  
jsonFlickrFeed({
		"title": "Recent Uploads tagged louvre",
		"link": "http://www.flickr.com/photos/tags/louvre/",
		"description": "",
		"modified": "2016-02-29T15:43:47Z",
		"generator": "http://www.flickr.com/",
		"items": [
	   {
			"title": "Louvre Sunset",
			"link": "http://www.flickr.com/photos/frankwiegand/25378218695/",
			"media": {"m":"http://farm2.staticflickr.com/1624/25378218695_99bf5c58ec_m.jpg"},
			"date_taken": "2016-02-29T07:42:56-08:00",
			"description": " STRING OF HTML HERE ",
			"published": "2016-02-29T15:43:47Z",
			"author": "nobody@flickr.com (Frank Wiegand Photography)",
			"author_id": "132296773@N05",
			"tags": "autumn sunset paris france .... louvre herbst stadt wiegand"
	   },

....


JSON feed of images tagged with "Louvre" from Flickr.


  

JSONP - Workaround to same origin policy

JSON can be used in a workaround to the Same origin policy.



How JSONP works

  

Notes




ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.