- 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
推薦閱讀
- Spring 5.0 By Example
- Visual Basic程序設(shè)計(jì)教程
- 從0到1:HTML+CSS快速上手
- 琢石成器:Windows環(huán)境下32位匯編語言程序設(shè)計(jì)
- 微信小程序開發(fā)與實(shí)戰(zhàn)(微課版)
- Scala for Machine Learning(Second Edition)
- Web App Testing Using Knockout.JS
- 零基礎(chǔ)輕松學(xué)C++:青少年趣味編程(全彩版)
- Get Your Hands Dirty on Clean Architecture
- 分布式數(shù)據(jù)庫HBase案例教程
- Joomla!Search Engine Optimization
- HTML5+CSS+JavaScript深入學(xué)習(xí)實(shí)錄
- 寫給所有人的編程思維
- Comprehensive Ruby Programming
- Getting Started with SQL Server 2014 Administration