I'm trying to understand how to use the Facebook parser.
According to the project page the example feed url is: http://graph.facebook.com/{id}/feed
And that the id should be replaced with the profile/page unique id.
So if I use the Drupal page as a test case: https://www.facebook.com/pages/Drupal/8427738891
I should enter the URL as http://graph.facebook/com/8427738891/feed
After importing I get the error message: "Download of http://graph.facebook.com/8427738891/feed failed with code 400."
If I enter http://graph.facebook/com/8427738891, I get "There are no new nodes." after importing.
Under another issue, you indicated that the app id or the access_token should be used. Do I need these for a public page?
If I am trying to get the feed from a page I do manage I could get the app id and access_token. But once I have them how do
apply them? Do I append one or both to the URL?
Appending the access_token (https://graph.facebook.com/275916525799255/feed?access_token=accesstoken)
results in an error from the feeds module:
"An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /website.org/batch?id=221&op=do StatusText: OK ResponseText: ( ! ) Fatal error: Unsupported operand types in /Applications/MAMP/htdocs/website.org/sites/all/modules/feeds/includes/FeedsConfigurable.inc on line 149"
The actual access_token provided by FB is mixed cased alphanumeric.
Thanks for any suggestions.
Comments
Comment #1
rashad612 CreditAttribution: rashad612 commentedHow about using this:
https://graph.facebook.com/8427738891/feed?access_token=YOUR_ACCESS_TOKEN
?
Please make sure any URL you use, should be called as https:// not http://
Comment #2
KempfCreative CreditAttribution: KempfCreative commentedI am also having trouble with this issue. When I put the fully qualified feed URL as https://graph.facebook.com/id/feed?access_token=facebookAccessToken in the Drupal feed aggregator I get a message saying "The feed from Facebook seems to be broken, because of error "Not well-formed (invalid token)" on line 1."
However, when I put that same URL in a new window in Chrome's Incognito mode, I get the basic feed working fine, all the information is there and unstyled. What am I doing wrong here?