This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios'; | |
import * as CONSTANTS from 'config/constants'; | |
let isRefreshing = false; | |
let failedQueue: any[] = []; | |
const _AppAPIInstance = axios.create({ | |
baseURL: `${process.env.REACT_APP_VINOVA_API}`, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const postID = '4387428904674656'; // 'https://www.facebook.com/LienMinhHuyenThoai/posts/4387428904674656' | |
const accessToken = ''; // find 'EAAA' at 'https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed' | |
const url = 'https://graph.facebook.com/' + postID + '/comments?fields=message&access_token=' + accessToken; | |
const analyze_comments = (url) => { | |
fetch(url) | |
.then((response) => response.json()) | |
.then((results) => { | |
if (results) { | |
const comments = results.data; | |
comments.forEach((comment) => { |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOLPRMWBWEN2Q | |
LOLS8CHV75BX2 | |
LOLZSUFMHX352 | |
LOLRAXHZ5HV4U | |
LOL3Y4M2Y36S7 | |
LOL9SBSNRMZ8E | |
LOLTY282U6YJP | |
LOL8N3J6BYJ4R | |
LOLBE6WV9RPJH | |
LOL6ZT4WG2ZTU |