更新时间:2021-07-15 17:25:34
cover
Title Page
Copyright
Python Social Media Analytics
Credits
About the Authors
Acknowledgments
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Introduction to the Latest Social Media Landscape and Importance
Introducing social graph
Notion of influence
Social impacts
Platforms on platform
Delving into social data
Understanding semantics
Defining the semantic web
Exploring social data applications
Understanding the process
Working environment
Defining Python
Selecting an IDE
Illustrating Git
Getting the data
Defining API
Scraping and crawling
Analyzing the data
Brief introduction to machine learning
Techniques for social media analysis
Setting up data structure libraries
Visualizing the data
Getting started with the toolset
Summary
Harnessing Social Data - Connecting Capturing and Cleaning
APIs in a nutshell
Different types of API
RESTful API
Stream API
Advantages of social media APIs
Limitations of social media APIs
Connecting principles of APIs
Introduction to authentication techniques
What is OAuth?
User authentication
Application authentication
Why do we need to use OAuth?
Connecting to social network platforms without OAuth
OAuth1 and OAuth2
Practical usage of OAuth
Parsing API outputs
Twitter
Creating application
Selecting the endpoint
Using requests to connect
Facebook
Creating an app and getting an access token
Connect to the API
GitHub
Obtaining OAuth tokens programmatically
Connecting to the API
YouTube
Creating an application and obtaining an access token programmatically
Pinterest
Creating an application
Basic cleaning techniques
Data type and encoding
Structure of data
Pre-processing and text normalization
Duplicate removal
MongoDB to store and access social data
Installing MongoDB
Setting up the environment
Starting MongoDB
MongoDB using Python
Uncovering Brand Activity Popularity and Emotions on Facebook
Facebook brand page
The Facebook API
Project planning
Scope and process
Data type