Active
Project:
Drupal for Facebook
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2014 at 15:53 UTC
Updated:
30 May 2015 at 21:15 UTC
Jump to comment: Most recent
Comments
Comment #1
socialnicheguru commentedif you choose None on the page, you get the following error:
Failed to query https://graph.facebook.com/0?access_token=blahblah.
Bad Request: Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api GraphMethodException 100 (http 400)
Failed to query https://graph.facebook.com/0?access_token=blahblah.
Array
(
)
Bad Request: Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api GraphMethodException 100 (http 400)
Failed to look up application 0. Bad Request: Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api GraphMethodException 100 (http 400)
Failed to look up application id 0.
Comment #2
socialnicheguru commentedI think the variable fb__default_app needs to cleared once the app is deleted from the site
command line:
drush variable_delete fb__default_app
Comment #3
wouser commentedThank you SocialNicheGuru. This is the exact error I was getting; I can confirm that deleting the App from your site as well as deleting/correcting the tokens works great. I am now error free on the tokens side but have new errors when posting a node.
Notice: Undefined variable: node in fb_post_entity_page() (line 93 of ""/sites/all/modules/fb/fb_post.module).
Notice: Trying to get property of non-object in fb_post_entity_page() (line 93 of ""/sites/all/modules/fb/fb_post.module).
Notice: Undefined variable: app in fb_post_entity_page() (line 98 of ""/sites/all/modules/fb/fb_post.module).
When I tested posting an article it still works but posted to my Facebook person page and business page at the same time with these errors. Not sure if this is something I somehow messed up but I have no idea where to start in fixing it.
Comment #4
socialnicheguru commentedwhen deleting an app it should also delete the access token and variables:
fb__access_token
fb__default_app: array (
'client_id' => 'xxx',
'name' => 'some name',
'namespace' => 'some_name',
)
for now use:
drush vdel fb__access_token
drush vdel fb__default_app