SocialMediaDataCopy to clipboard.
✖
SocialMediaData
gives information about the social media entity "name".
gives the value of the specified property for the social media entity "name".
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)Summary of the most common use cases
https://wolfram.com/xid/0yvwe059powy-46oe2
https://wolfram.com/xid/0yvwe059powy-jgl01v
https://wolfram.com/xid/0yvwe059powy-g6z9jb
https://wolfram.com/xid/0yvwe059powy-iyxoyz
Scope (72)Survey of the scope of standard use cases
Facebook (33)
Basic (8)
https://wolfram.com/xid/0yvwe059powy-77xisn
Get a list of possible properties:
https://wolfram.com/xid/0yvwe059powy-fdv12r
https://wolfram.com/xid/0yvwe059powy-i23575
https://wolfram.com/xid/0yvwe059powy-cneh8s
https://wolfram.com/xid/0yvwe059powy-cx30ln
https://wolfram.com/xid/0yvwe059powy-3bdoxp
Get the textual description of a property:
https://wolfram.com/xid/0yvwe059powy-b6erh
https://wolfram.com/xid/0yvwe059powy-pt197m
Get the user-post network linked by likes or comments:
https://wolfram.com/xid/0yvwe059powy-6izqep
https://wolfram.com/xid/0yvwe059powy-9azku8
Get the user-post network linked by likes:
https://wolfram.com/xid/0yvwe059powy-o33jx7
User-post network of a specified user:
https://wolfram.com/xid/0yvwe059powy-sce47o
Get the user-post network linked by comments:
https://wolfram.com/xid/0yvwe059powy-spie3m
https://wolfram.com/xid/0yvwe059powy-v8937o
Users (7)
https://wolfram.com/xid/0yvwe059powy-sb2t6f
https://wolfram.com/xid/0yvwe059powy-4ylt3j
https://wolfram.com/xid/0yvwe059powy-u01rwd
https://wolfram.com/xid/0yvwe059powy-jrvvlr
https://wolfram.com/xid/0yvwe059powy-tlqhqz
https://wolfram.com/xid/0yvwe059powy-ry994e
https://wolfram.com/xid/0yvwe059powy-yv7k8n
Get the user network linked by commenting on or liking the same post:
https://wolfram.com/xid/0yvwe059powy-f58etw
User like-comment network of a user:
https://wolfram.com/xid/0yvwe059powy-zdh6hm
Get the user network linked by liking the same post:
https://wolfram.com/xid/0yvwe059powy-mcjp7c
https://wolfram.com/xid/0yvwe059powy-klsn1m
Get the user network linked by commenting on the same post:
https://wolfram.com/xid/0yvwe059powy-gyr7h8
User-comment network of a user:
https://wolfram.com/xid/0yvwe059powy-mkrzq
Page (4)
Get a profile picture of a page:
https://wolfram.com/xid/0yvwe059powy-8hnaqi
https://wolfram.com/xid/0yvwe059powy-cwfcv3
https://wolfram.com/xid/0yvwe059powy-vnpns1
https://wolfram.com/xid/0yvwe059powy-pwxkyk
https://wolfram.com/xid/0yvwe059powy-npyqqf
https://wolfram.com/xid/0yvwe059powy-k6j8cm
https://wolfram.com/xid/0yvwe059powy-v6s62g
https://wolfram.com/xid/0yvwe059powy-3ns3pc
https://wolfram.com/xid/0yvwe059powy-86889a
The number of people talking about a page:
https://wolfram.com/xid/0yvwe059powy-7md3fe
Posts (4)
https://wolfram.com/xid/0yvwe059powy-ofckek
https://wolfram.com/xid/0yvwe059powy-19wx6j
https://wolfram.com/xid/0yvwe059powy-zfpj9o
Get the post network linked by sharing likers or commenters:
https://wolfram.com/xid/0yvwe059powy-1kj74r
Post the like-comment network of a user:
https://wolfram.com/xid/0yvwe059powy-51gmsp
Get the post network linked by sharing likers:
https://wolfram.com/xid/0yvwe059powy-hj75sa
Post the like network of a user:
https://wolfram.com/xid/0yvwe059powy-omm86m
Get the post network linked by sharing commenters:
https://wolfram.com/xid/0yvwe059powy-emlcbf
Post the comment network of a user:
https://wolfram.com/xid/0yvwe059powy-k9z2qw
Analysis (10)
Show the recent history of a user's activities:
https://wolfram.com/xid/0yvwe059powy-ii843o
https://wolfram.com/xid/0yvwe059powy-l9vko5
Show the recent user's activities:
https://wolfram.com/xid/0yvwe059powy-6p1hv
https://wolfram.com/xid/0yvwe059powy-oltf80
Show the weekly distribution of the user's activities:
https://wolfram.com/xid/0yvwe059powy-58djlj
https://wolfram.com/xid/0yvwe059powy-83kih
https://wolfram.com/xid/0yvwe059powy-pcz9o
https://wolfram.com/xid/0yvwe059powy-ry1ivo
Show wall posts' character lengths by months:
https://wolfram.com/xid/0yvwe059powy-m1lu7h
https://wolfram.com/xid/0yvwe059powy-l0acaj
https://wolfram.com/xid/0yvwe059powy-1tw6ag
https://wolfram.com/xid/0yvwe059powy-ilfybx
https://wolfram.com/xid/0yvwe059powy-miz77g
Show the most-commented posts:
https://wolfram.com/xid/0yvwe059powy-rdo8wj
https://wolfram.com/xid/0yvwe059powy-ue5qld
https://wolfram.com/xid/0yvwe059powy-v2q3ax
Show the weekly application activities:
https://wolfram.com/xid/0yvwe059powy-p45a5b
https://wolfram.com/xid/0yvwe059powy-fz4zdt
Instagram (17)
Basic (6)
https://wolfram.com/xid/0yvwe059powy-d5inw9
Get a list of possible properties:
https://wolfram.com/xid/0yvwe059powy-hd2nl8
https://wolfram.com/xid/0yvwe059powy-hgn6ka
Get the textual description of a property:
https://wolfram.com/xid/0yvwe059powy-f8haat
https://wolfram.com/xid/0yvwe059powy-p9qyu
Get a list of the most popular media at the moment:
https://wolfram.com/xid/0yvwe059powy-dwstu0
https://wolfram.com/xid/0yvwe059powy-evaaa
Get a list of the most recent media of the user:
https://wolfram.com/xid/0yvwe059powy-hzm8vj
https://wolfram.com/xid/0yvwe059powy-f9zvwe
User (5)
https://wolfram.com/xid/0yvwe059powy-ihn3pc
https://wolfram.com/xid/0yvwe059powy-c85gr0
https://wolfram.com/xid/0yvwe059powy-crvghf
https://wolfram.com/xid/0yvwe059powy-mhk2cp
https://wolfram.com/xid/0yvwe059powy-kv2x1z
https://wolfram.com/xid/0yvwe059powy-c4cwj9
https://wolfram.com/xid/0yvwe059powy-fqmoxq
https://wolfram.com/xid/0yvwe059powy-zsf9d
Get a list of published media:
https://wolfram.com/xid/0yvwe059powy-9m38k
https://wolfram.com/xid/0yvwe059powy-b4ws7o
Get a list of published media of a user:
https://wolfram.com/xid/0yvwe059powy-bcvi8u
Get a list of media the user liked:
https://wolfram.com/xid/0yvwe059powy-cx8wb6
https://wolfram.com/xid/0yvwe059powy-ej0pf3
Media (6)
https://wolfram.com/xid/0yvwe059powy-bnz15
https://wolfram.com/xid/0yvwe059powy-f5bxcj
https://wolfram.com/xid/0yvwe059powy-cg6coa
https://wolfram.com/xid/0yvwe059powy-fhnph4
https://wolfram.com/xid/0yvwe059powy-fqtk38
https://wolfram.com/xid/0yvwe059powy-e3ip4y
Get media standard-resolution image:
https://wolfram.com/xid/0yvwe059powy-zhw41
https://wolfram.com/xid/0yvwe059powy-cb3h9r
https://wolfram.com/xid/0yvwe059powy-e2bf36
https://wolfram.com/xid/0yvwe059powy-ijcbne
https://wolfram.com/xid/0yvwe059powy-i72961
https://wolfram.com/xid/0yvwe059powy-eb9css
https://wolfram.com/xid/0yvwe059powy-f7ihjn
https://wolfram.com/xid/0yvwe059powy-djy30x
https://wolfram.com/xid/0yvwe059powy-xkmzf
Twitter (15)
Basic (4)
https://wolfram.com/xid/0yvwe059powy-fl6s4c
Get a list of possible properties:
https://wolfram.com/xid/0yvwe059powy-gttjlr
https://wolfram.com/xid/0yvwe059powy-cl1vcy
https://wolfram.com/xid/0yvwe059powy-ce6sbe
Get the textual description of a property:
https://wolfram.com/xid/0yvwe059powy-h5qtb6
https://wolfram.com/xid/0yvwe059powy-jq8qd5
Followers (4)
https://wolfram.com/xid/0yvwe059powy-ijrmb2
https://wolfram.com/xid/0yvwe059powy-fp7ro3
https://wolfram.com/xid/0yvwe059powy-cscaqm
https://wolfram.com/xid/0yvwe059powy-cjpsev
https://wolfram.com/xid/0yvwe059powy-ksjm9
Get the network of followers linked by reply-to relationship:
https://wolfram.com/xid/0yvwe059powy-b26z9x
https://wolfram.com/xid/0yvwe059powy-bg4lj1
Get the network of followers linked by their mentions relationship:
https://wolfram.com/xid/0yvwe059powy-boq1s7
https://wolfram.com/xid/0yvwe059powy-br29p
Friends (4)
https://wolfram.com/xid/0yvwe059powy-dax4k3
https://wolfram.com/xid/0yvwe059powy-boaozv
https://wolfram.com/xid/0yvwe059powy-8mtdp
https://wolfram.com/xid/0yvwe059powy-c14nc9
https://wolfram.com/xid/0yvwe059powy-kzvjd0
Get the network of friends linked by replies-to relationship:
https://wolfram.com/xid/0yvwe059powy-megyv7
https://wolfram.com/xid/0yvwe059powy-g5urb
Get the network of friends linked by their mentions relationship:
https://wolfram.com/xid/0yvwe059powy-brg0we
https://wolfram.com/xid/0yvwe059powy-bfx1bb
Search (3)
Get the network of search based on follower relationship:
https://wolfram.com/xid/0yvwe059powy-cjuelz
Get the network of search based on reply-to relationship:
https://wolfram.com/xid/0yvwe059powy-nwpdze
Get the network of search based on mention relationship:
https://wolfram.com/xid/0yvwe059powy-bdeanl
LinkedIn (7)
Basic (4)
https://wolfram.com/xid/0yvwe059powy-gtmzu9
Get a list of possible properties:
https://wolfram.com/xid/0yvwe059powy-bqcdi4
https://wolfram.com/xid/0yvwe059powy-cpzks1
Get more information about a property:
https://wolfram.com/xid/0yvwe059powy-i8yxwi
https://wolfram.com/xid/0yvwe059powy-dvvdbu
Connections (2)
https://wolfram.com/xid/0yvwe059powy-dlsrum
https://wolfram.com/xid/0yvwe059powy-pwke2t
Obtain the ego connection network:
https://wolfram.com/xid/0yvwe059powy-6s2sq
Applications (7)Sample problems that can be solved with this function
Facebook (4)
Visualize communities in a Facebook friend network:
https://wolfram.com/xid/0yvwe059powy-hei49y
https://wolfram.com/xid/0yvwe059powy-bkg61u
Find connectors: highly popular people in a Facebook friend network:
https://wolfram.com/xid/0yvwe059powy-ya51t6
Rank friends based on popularity. Highest-ranked friends have the most connections:
https://wolfram.com/xid/0yvwe059powy-nky046
https://wolfram.com/xid/0yvwe059powy-gzqf50
https://wolfram.com/xid/0yvwe059powy-je9pbf
https://wolfram.com/xid/0yvwe059powy-gpqnv4
https://wolfram.com/xid/0yvwe059powy-3suvpp
Find isolates in a Facebook friend network:
https://wolfram.com/xid/0yvwe059powy-239sgv
Isolates have no more than one connection:
https://wolfram.com/xid/0yvwe059powy-w51imc
https://wolfram.com/xid/0yvwe059powy-zbbjji
Find brokers in a Facebook friend network:
https://wolfram.com/xid/0yvwe059powy-r5vl4s
Brokers are on many shortest paths connecting other friends in the network:
https://wolfram.com/xid/0yvwe059powy-kgtf8
https://wolfram.com/xid/0yvwe059powy-0ydvge
https://wolfram.com/xid/0yvwe059powy-2gonu6
https://wolfram.com/xid/0yvwe059powy-hrh9ff
https://wolfram.com/xid/0yvwe059powy-gfu58q
Twitter (3)
Visualize communities in a Twitter follower network:
https://wolfram.com/xid/0yvwe059powy-bfgrp4
https://wolfram.com/xid/0yvwe059powy-k57v5b
https://wolfram.com/xid/0yvwe059powy-fqqdlm
Find influencers in a Twitter follower network:
https://wolfram.com/xid/0yvwe059powy-i4meks
https://wolfram.com/xid/0yvwe059powy-d0vzox
Influencers are closely connected to other followers in the network:
https://wolfram.com/xid/0yvwe059powy-bvms17
https://wolfram.com/xid/0yvwe059powy-ca468b
https://wolfram.com/xid/0yvwe059powy-gzy2mh
https://wolfram.com/xid/0yvwe059powy-b298p9
https://wolfram.com/xid/0yvwe059powy-m1wx6b
Find brokers in a Twitter friend network:
https://wolfram.com/xid/0yvwe059powy-by7r7p
https://wolfram.com/xid/0yvwe059powy-d25rqu
Brokers are on many shortest paths connecting other friends in the network:
https://wolfram.com/xid/0yvwe059powy-iv2mkh
https://wolfram.com/xid/0yvwe059powy-7e6vt
https://wolfram.com/xid/0yvwe059powy-eqgm8b
https://wolfram.com/xid/0yvwe059powy-dagkxg
https://wolfram.com/xid/0yvwe059powy-dcdq7
Possible Issues (2)Common pitfalls and unexpected behavior
Use ClearSystemCache to clear caches of results and to force re-authentication:
https://wolfram.com/xid/0yvwe059powy-c8gq9s
https://wolfram.com/xid/0yvwe059powy-kaxo08
SocialMediaData is subject to restrictions associated with external social media sites:
https://wolfram.com/xid/0yvwe059powy-nyrr1
The "Friends" property for "Facebook" gives only friends who also use SocialMediaData:
https://wolfram.com/xid/0yvwe059powy-kcnnc5
Wolfram Research (2012), SocialMediaData, Wolfram Language function, https://reference.wolfram.com/language/ref/SocialMediaData.html.
Text
Wolfram Research (2012), SocialMediaData, Wolfram Language function, https://reference.wolfram.com/language/ref/SocialMediaData.html.
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.
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
Wolfram Language. (2012). SocialMediaData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SocialMediaData.html
BibTeX
@misc{reference.wolfram_2024_socialmediadata, author="Wolfram Research", title="{SocialMediaData}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/SocialMediaData.html}", note=[Accessed: 20-January-2025
]}
BibLaTeX
@online{reference.wolfram_2024_socialmediadata, organization={Wolfram Research}, title={SocialMediaData}, year={2012}, url={https://reference.wolfram.com/language/ref/SocialMediaData.html}, note=[Accessed: 20-January-2025
]}