Fix FB share count error

"TypeError: Cannot read property 'share_count' of undefined" occurs in some cases, specifically if working on localhost. Fix is to add a null check and assign share count to be 0 if res[0] is undefined.
Merge pull request #10 from mickeywu/master

Fix FB share count error