now with getDataForPins method

Andy - remember not to merge this until I figure out the weird bug where we are losing 1 pin in the new method
introduce a variable/constant like 'maxPinRequestLimit = 10' or something like that. That way it will be more clear what the significance of the number 10 is, and it will also be clear why you're breaking up the array into chunks.