Đã xảy ra sự cố với trang bạn đã đề cập. Tôi đã thử https://graph.facebook.com/Smirnoff trong Firefox của mình và nhận được thông báo lỗi "sai".
Tôi đã thử trang được đề cập trong tài liệu chính thức (https://developers.facebook.com/docs/reference/api/) và không tìm thấy sự cố nào.
Trang: https://graph.facebook.com/cocacola (Coca-Cola trang)
{
"id": "40796308305",
"name": "Coca-Cola",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/203509_40796308305_256509_s.jpg",
"link": "https://www.facebook.com/coca-cola",
"category": "Food/beverages",
"likes": 29964683,
"website": "http://www.coca-cola.com",
"username": "coca-cola",
"founded": "1886",
"products": "Coca-Cola is the most popular and biggest-selling soft drink in history, as well as the best-known product in the world.\n\nCreated in Atlanta, Georgia, by Dr. John S. Pemberton, Coca-Cola was first offered as a fountain beverage by mixing Coca-Cola syrup with carbonated water. Coca-Cola was introduced in 1886, patented in 1887, registered as a trademark in 1893 and by 1895 it was being sold in every state and territory in the United States. In 1899, The Coca-Cola Company began franchised bottling operations in the United States.\n\nCoca-Cola might owe its origins to the United States, but its popularity has made it truly universal. Today, you can find Coca-Cola in virtually every part of the world."
}
Tôi nghĩ rằng tôi sẽ nhận được thông điệp cảnh báo với tôi rằng tôi nên sử dụng một thẻ truy cập khi cố gắng https://graph.facebook.com/Smirnoff.
OK. Hãy để tôi tiếp tục. (Vui lòng thay thế chữ in đậm bằng giá trị thích hợp.)
Vui lòng đăng nhập Facebook và tạo ứng dụng Facebook.
Vui lòng truy cập liên kết này: https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID & redirect_uri = URL & phạm vi = user_status, offline_access
Xin cho phép ứng dụng Facebook của bạn.
Hãy có mã thông báo truy cập bằng cách sử dụng liên kết này: https://graph.facebook.com/oauth/access_token?client_id=YOUR_APP_ID & client_secret = YOUR_APP_SECRET & grant_type = client_credentials
Hãy có mã thông báo truy cập ứng dụng bằng cách sử dụng liên kết này: https://graph.facebook.com/oauth/access_token?client_id=YOUR_APP_ID & client_secret = YOUR_APP_SECRET & grant_type = client_credenti als
Vui lòng truy cập trang của bạn bằng access_token vừa mới nhận.
Theo https://developers.facebook.com/docs/reference/api/, Các kết nối được hỗ trợ cho người dân và các trang bao gồm:
Friends: https://graph.facebook.com/me/friends?access_token=...
News feed: https://graph.facebook.com/me/home?access_token=...
Profile feed (Wall): https://graph.facebook.com/me/feed?access_token=...
Likes: https://graph.facebook.com/me/likes?access_token=...
Movies: https://graph.facebook.com/me/movies?access_token=...
Music: https://graph.facebook.com/me/music?access_token=...
Books: https://graph.facebook.com/me/books?access_token=...
Notes: https://graph.facebook.com/me/notes?access_token=...
Permissions: https://graph.facebook.com/me/permissions?access_token=...
Photo Tags: https://graph.facebook.com/me/photos?access_token=...
Photo Albums: https://graph.facebook.com/me/albums?access_token=...
Video Tags: https://graph.facebook.com/me/videos?access_token=...
Video Uploads: https://graph.facebook.com/me/videos/uploaded?access_token=...
Events: https://graph.facebook.com/me/events?access_token=...
Groups: https://graph.facebook.com/me/groups?access_token=...
Checkins: https://graph.facebook.com/me/checkins?access_token=...
Nếu bạn trang là một trang âm nhạc, hãy thử liên kết này: https://graph.facebook.com/me/music?access_token=ACCESS_TOKEN
Xin vui lòng cho tôi biết liệu phương pháp của tôi có hoạt động không. Cảm ơn.
Ok, nhưng vì nội dung của trang này có sẵn qua FB www - tôi có nên nhận được thông qua API này không? – kender
Điều này gây phiền toái nghiêm trọng. Chúng ta có thể làm rõ về điều này không? 6 năm sau, –