- Python Social Media Analytics
- Siddhartha Chatterjee Michal Krystyanczuk
- 195字
- 2021-07-15 17:24:57
Facebook provides three APIs for different purposes:
- Atlas API: API for partners and advertisers
- Graph API: The primary way for apps to read and write to the Facebook social graph
- Marketing API: To build solutions for marketing automation with Facebook's advertising platform
In our data mining exercise will only focus on Graph API, which gives us access to our point of interest, which is the content posted by users: comments, shares, likes, photos, and so on. It is the primary way to collect data from Facebook platform using requests to query data. It also enables the automation of all the actions available on Facebook such as data uploads (photos or videos), likes, shares, and account management, among others. However, our focus is on data collection and not on account management.
The name Graph API is related to the structure of the platform, which in fact represents a social graph composed of:
- Nodes: All the main elements such as user, photo, page, and comment
- Edges: Relationships between nodes such as user photos and comments in posts
- Fields: Attributes that these nodes or edges can have such as location, name, birthday date, time, and so on
推薦閱讀
- 構(gòu)建移動網(wǎng)站與APP:HTML 5移動開發(fā)入門與實戰(zhàn)(跨平臺移動開發(fā)叢書)
- 新手學(xué)Visual C# 2008程序設(shè)計
- Magento 2 Development Cookbook
- Linux網(wǎng)絡(luò)程序設(shè)計:基于龍芯平臺
- 微信小程序項目開發(fā)實戰(zhàn)
- Node.js Design Patterns
- Unity 2D Game Development Cookbook
- Keras深度學(xué)習(xí)實戰(zhàn)
- Java實戰(zhàn)(第2版)
- Procedural Content Generation for C++ Game Development
- C語言程序設(shè)計
- 青少年學(xué)Python(第2冊)
- 交互設(shè)計師成長手冊:從零開始學(xué)交互
- Scratch編程從入門到精通
- 大話代碼架構(gòu):項目實戰(zhàn)版