How to create an automatically updating Google spreadsheet

Tired of finding, copying and pasting data into spreadsheets? With just a few lines of code, you can set up a self-updating spreadsheet in Google Docs that fetches and stores data for you, as this Facebook example shows.

Page 7 of 14

Parse JSON


We can extract the number of likes from the JSON with this code:

var json = response.getContentText();

var data = JSON.parse(json);

var likes = data.likes;

return likes;

| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Page 7
ITWorld DealPost: The best in tech deals and discounts.
Shop Tech Products at Amazon