# Avoid SocialMedialData command give empty set?

**URL:** <https://community.wolfram.com/t/avoid-socialmedialdata-command-give-empty-set/10040>\
**Category:** Questions\
**Tags:** social-sciences, graphics-and-visualization, graphs-and-networks\
**Created:** [February 18, 2017, 10:24pm UTC](https://community.wolfram.com/t/avoid-socialmedialdata-command-give-empty-set/10040 "2017-02-18T22:24:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![torakwembe](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@torakwembe](https://community.wolfram.com/u/torakwembe)\
**Post date:** [February 18, 2017, 10:24pm UTC](https://community.wolfram.com/t/avoid-socialmedialdata-command-give-empty-set/10040/1 "2017-02-18T22:24:18Z")

</div>

Why is that I have friends on my Facebook but the command

```
SocialMediaData["Facebook", "Friends"] // Short 

```

is returning an empty set?. Does it mean that Mathematica is unable to access the contents of my Facebook?

---

<div class="post-metadata">

**Author:** ![christianp](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/christianp/32/14704_2.png) [@christianp](https://community.wolfram.com/u/christianp)\
**Post date:** [February 25, 2017, 5:50pm UTC](https://community.wolfram.com/t/avoid-socialmedialdata-command-give-empty-set/10040/2 "2017-02-25T17:50:18Z")

</div>

Hi Tor,

Facebook restricted their API about a year ago and now you will only be able to see friends who accepted the Wolfram app that connects the WL with Facebook API.

For example, in my case, from my total amount of friends I only get 17. It’s not a coincidence that those friends I can see are Wolfram employees or Summer School students who, in some point, accepted the app when testing SocialMediaData or probably W|A Facebook Analytics.

I hope that helps.
