Flickr API Example
How do I make an flickr api example?
Used to demo the flickr api to co-workers. Uses yql and ajax to retreieve the flickr feed per http://kylerush.net/blog/tutorial-flickr-api-javascript-jquery-ajax-json-build-detailed-photo-wall/,. What is a flickr api example? How do you make a flickr api example? This script and codes were developed by Marty Powell on 15 September 2022, Thursday.
Flickr API Example - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flickr API Example</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="county-photo-feed">
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://martypowell.com/js/mustache.js'></script> <script src="js/index.js"></script>
</body>
</html>
Flickr API Example - Script Codes CSS Codes
img { border: 1px solid lightgray; margin: 5px; padding: 5px;
}
Flickr API Example - Script Codes JS Codes
var template = "{{#.}}<img src='http://farm{{farm}}.static.flickr.com/{{server}}/{{id}}_{{secret}}_q.jpg' />{{/.}}", flickrUrl = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20flickr.photosets.photos%20where%20api_key%3D%22ee58ce6536e4b39a95ebdf000ae4adf3%22%20and%20photoset_id%3D%2272157649564338091%22%20limit%208&format=json&diagnostics=true&callback=";
$.getJSON(flickrUrl, function(data) { formatData(data.query.results.photo);
});
var formatData = function (data) { var html = Mustache.render(template, data); $('.county-photo-feed').html(html);
};
Developer | Marty Powell |
Username | martypowell |
Uploaded | September 15, 2022 |
Rating | 3 |
Size | 2,291 Kb |
Views | 14,168 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Animated Skip Nav | 3,400 Kb |
News Snippet | 2,972 Kb |
Search and Filter | 3,169 Kb |
Circle Logo | 2,064 Kb |
Disclaimer | 3,679 Kb |
Randon Image Slider | 3,299 Kb |
Home | 5,393 Kb |
Side Navigation | 3,130 Kb |
Slick Carousel Prototype | 12,677 Kb |
Product Information Section | 3,808 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Sencha Touch 2.3.1 Basic Grid Example | Trozdol | 2,770 Kb |
Pure CSS read more toggle | Idered | 2,344 Kb |
A Pen by Malith Hettiarachchi | MalZiiirA | 5,531 Kb |
Menubar compass mixin | Michaelparenteau | 4,925 Kb |
Playing with FlexBox | _Billy_Brown | 3,162 Kb |
Base-Style | Daniel_gooss | 2,614 Kb |
Simple, flat contact form | Zeaklous | 2,719 Kb |
Flex layout example | Mofny | 1,663 Kb |
CSS Infinite 360 | APinix | 5,564 Kb |
Board Site | IndianaLuft | 10,542 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!