Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Reaper | 263 | 4 years ago | 1 | gpl-3.0 | Python | |||||
Social media scraping / data collection tool for the Facebook, Twitter, Reddit, YouTube, Pinterest, and Tumblr APIs | ||||||||||
Socialreaper | 233 | 2 | 1 | 4 years ago | 8 | April 17, 2018 | mit | Python | ||
Social media scraping / data collection library for Facebook, Twitter, Reddit, YouTube, Pinterest, and Tumblr APIs | ||||||||||
Social Share | 183 | 43 | 8 months ago | 8 | December 20, 2021 | 1 | mit | PHP | ||
Sharing to Social Networks for Laravel 5 | ||||||||||
Postwill | 180 | 5 years ago | 2 | November 11, 2017 | 2 | mit | Ruby | |||
Posting to the most popular social media from Ruby | ||||||||||
Skraper | 172 | 12 days ago | 8 | June 12, 2022 | 1 | apache-2.0 | Kotlin | |||
Kotlin/Java library and cli tool for scraping posts and media from various sources with neither authorization nor full page rendering (Facebook, Instagram, Twitter, Youtube, Tiktok, Telegram, Twitch, Reddit, 9GAG, Pinterest, Flickr, Tumblr, Vimeo, IFunny, VK, Odnoklassniki, Pikabu) | ||||||||||
Socialcounters | 102 | 6 years ago | 7 | other | PHP | |||||
jQuery/PHP - Collection of Social Media APIs that display number of your social media fans. Facebook Likes, Twitter Followers, Instagram Followers, YouTube Subscribers, etc.. | ||||||||||
Vanilla Sharing | 99 | 3 | 2 | 4 days ago | 41 | November 15, 2021 | 15 | mit | JavaScript | |
Small (1.5 KB) simple tool for sharing url, title, description and image to VK, Facebook (Feed, Dialog, Button, Messenger), Reddit, Pinterest, Tumblr, Twitter, VK, OK, Mail.ru, LinkedIn, Whatsapp, Viber, Telegram, Line | ||||||||||
Jquery Share | 97 | 10 years ago | 14 | JavaScript | ||||||
A jquery social plugin that enables easy sharing to multple social networks. Share to many social networks (Facebook, Twitter, Tumblr, LinkedIn, Pinterest, Google+) from one toolbar. | ||||||||||
Ishare.js | 78 | 4 years ago | 7 | August 19, 2016 | 5 | JavaScript | ||||
iShare.js是一个小巧的分享插件,纯JS编写,不依赖任何第三方库,使用简便。 | ||||||||||
Social Circles | 66 | 2 years ago | 1 | mit | CSS | |||||
Well designed social media buttons. |
socialreaper
is a Python 3.6+ library that scrapes Facebook, Twitter, Reddit, Youtube, Pinterest, and Tumblr.
Not a programmer? Try the GUI
pip3 install socialreaper
For version 0.3.0 only
pip3 install socialreaper==0.3.0
Get the comments from McDonalds' 1000 most recent posts
from socialreaper import Facebook
fbk = Facebook("api_key")
comments = fbk.page_posts_comments("mcdonalds", post_count=1000,
comment_count=100000)
for comment in comments:
print(comment['message'])
Save the 500 most recent tweets from the user @realDonaldTrump
to a csv file
from socialreaper import Twitter
from socialreaper.tools import to_csv
twt = Twitter(app_key="xxx", app_secret="xxx", oauth_token="xxx",
oauth_token_secret="xxx")
tweets = twt.user("realDonaldTrump", count=500, exclude_replies=True,
include_retweets=False)
to_csv(list(tweets), filename='trump.csv')
Get the top 10 comments from the top 50 threads of all time on reddit
from socialreaper import Reddit
from socialreaper.tools import flatten
rdt = Reddit("xxx", "xxx")
comments = rdt.subreddit_thread_comments("all", thread_count=50,
comment_count=500, thread_order="top", comment_order="top",
search_time_period="all")
# Convert nested dictionary into flat dictionary
comments = [flatten(comment) for comment in comments]
# Sort by comment score
comments = sorted(comments, key=lambda k: k['data.score'], reverse=True)
# Print the top 10
for comment in comments[:9]:
print("###\nUser: {}\nScore: {}\nComment: {}\n".format(comment['data.author'], comment['data.score'], comment['data.body']))
Get the comments containing the strings prize
, giveaway
from
youtube channel mkbhd
's videos
from socialreaper import Youtube
ytb = Youtube("api_key")
channel_id = ytb.api.guess_channel_id("mkbhd")[0]['id']
comments = ytb.channel_video_comments(channel_id, video_count=500,
comment_count=100000, comment_text=["prize", "giveaway"],
comment_format="plainText")
for comment in comments:
print(comment)
You can export a list of dictionaries using socialreaper's CSV
class
from socialreaper import Facebook
from socialreaper.tools import CSV
fbk = Facebook("api_key")
posts = list(fbk.page_posts("mcdonalds"))
CSV(posts, file_name='mcdonalds.csv')