SocialMediaData
SocialMediaData["name"]
gives information about the social media entity "name".
SocialMediaData["name","property"]
gives the value of the specified property for the social media entity "name".
SocialMediaData[{"name",id},"property"]
gives the value of a property for the specified identifier id.
Details
- Social media entities can be specified by standard names such as "Facebook" and "Twitter".
- SocialMediaData[] gives a list of all available social media sites including "Facebook", "Instagram", "Twitter", and "LinkedIn".
- SocialMediaData["name","Properties"] gives a list of properties available for the social media "name".
- Facebook-related properties include:
-
"Friends" list of friends "FriendIDs" list of friend IDs "UserData" user data "Posts" post data "Feeds" feed data - Facebook user-related networks, with vertices corresponding to users, include:
-
"FriendNetwork" is connected to user if and are friends "LikeCommentNetwork" is connected to if and like or comment on the same post "LikeNetwork" is connected to if and like the same post "CommentNetwork" is connected to if and comment on the same post - Facebook post-related networks, with vertices corresponding to posts, include:
-
"PostLikeCommentNetwork" a user likes or comments on both posts and "PostLikeNetwork" a user likes both posts and "PostCommentNetwork" a user comments on both posts and - Facebook bimodal-related networks include:
-
"BimodalLikeCommentNetwork" network with users connected to their likes and comments "BimodalLikeNetwork" user-like network with users connected to their likes "BimodalCommentNetwork" user-comment network with user connected to their comments - Twitter-related properties include:
-
"Followers" list of followers "FollowerIDs" list of follower IDs "Friends" list of friends "FriendIDs" list of friend IDs "UserData" user data - Twitter follower-related networks, with vertices corresponding to followers, include:
-
"FollowerNetwork" user is connected to user if is a follower of "FollowerReplyToNetwork" user is connected to user if replies to "FollowerMentionNetwork" user is connected to user if mentions - Twitter friend-related networks, with vertices corresponding to friends, include:
-
"FriendNetwork" user is connected to user if is a friend of "FriendReplyToNetwork" user is connected to user if replies to "FriendMentionNetwork" user is connected to user if mentions - Search topic-related networks, with vertices corresponding to users of tweets that match a query, include:
-
"SearchNetwork" user is connected to if is a follower of "SearchReplyToNetwork" user is connected to user if replies to "SearchMentionNetwork" user is connected to user if mentions - SocialMediaData["name","property","ann"] gives various annotations associated with a property. Typical annotations include:
-
"Description" textual description of the property "Information" hyperlink to additional information "Data" raw data "FormattedData" formatted data - SocialMediaData provides gateways to external social media data sites. Its uses are subject to any restrictions associated with those sites, and may require additional licensing.
Examples
open allclose allBasic Examples (2)
Scope (72)
Facebook (33)
Basic (8)
Users (7)
Page (4)
Posts (4)
Instagram (17)
Twitter (15)
Applications (7)
Facebook (4)
Visualize communities in a Facebook friend network:
Find connectors: highly popular people in a Facebook friend network:
Rank friends based on popularity. Highest-ranked friends have the most connections:
Find isolates in a Facebook friend network:
Isolates have no more than one connection:
Find brokers in a Facebook friend network:
Brokers are on many shortest paths connecting other friends in the network:
Possible Issues (2)
Use ClearSystemCache to clear caches of results and to force re-authentication:
SocialMediaData is subject to restrictions associated with external social media sites:
The "Friends" property for "Facebook" gives only friends who also use SocialMediaData:
Text
Wolfram Research (2012), SocialMediaData, Wolfram Language function, https://reference.wolfram.com/language/ref/SocialMediaData.html.
CMS
Wolfram Language. 2012. "SocialMediaData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SocialMediaData.html.
APA
Wolfram Language. (2012). SocialMediaData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SocialMediaData.html