- Python Social Media Analytics
- Siddhartha Chatterjee Michal Krystyanczuk
- 174字
- 2021-07-15 17:24:57
Creating an app and getting an access token
We show the following procedure to get access tokens that never expire.
- Go to the website: https://developers.facebook.com/apps/.
- Create an application.
- Go to https://developers.facebook.com/tools/explorer.
- Select your application from the Graph API Explorer drop-down menu.
- Click on the Get Access Token button.
- Select permissions from the form.
- In the Access token input field click on the blue exclamation point icon. It will open a pop-up window.
- In the pop-up window, click on Open in Access Token Tool. You will see token details. At this stage the token is valid for around one hour.
- Click on the Extend Access Token button to get a token that will never expire.
You can save the token and use it in your application to collect data from Facebook. It is worth noticing that you will only have access to public information on Facebook. Your application has to have the right to access the data you wish to collect. In our case it is straightforward, because we will analyze public conversation around brands.
推薦閱讀
- AngularJS入門與進階
- Unreal Engine Physics Essentials
- Android 7編程入門經典:使用Android Studio 2(第4版)
- 云計算通俗講義(第3版)
- Bootstrap Essentials
- JSP開發案例教程
- Jenkins Continuous Integration Cookbook(Second Edition)
- Swift Playgrounds少兒趣編程
- Visual Basic程序設計上機實驗教程
- Java Fundamentals
- Learning Modular Java Programming
- Instant Automapper
- C語言程序設計與應用實驗指導書(第2版)
- Elasticsearch搜索引擎構建入門與實戰
- SAP HANA Starter