Undefined property of Facebook Provider object

In SocialShare/Provider/Facebook.php on line 48, seems like
`$data->shares` is not always set.