aeonsablaze
Forum Replies Created
-
Forum: Plugins
In reply to: [EME Sync Events] Group Events Sync?Ok, so I tracked down the issue with the event import.
I changed
scope="user_events"
toscope="user_events, user_groups"
on line 460 of eme-sync-facebook-events.php and reauthenticated. This allowed me to import the events individually. It seems both permissions are required to import an event from a closed group.Forum: Plugins
In reply to: [EME Sync Events] Group Events Sync?152614274901955 gives the correct results via the Graph explorer, 137342069769746 did not. However I went ahead and tried both of them in the plugin with no luck.
Forum: Plugins
In reply to: [EME Sync Events] Group Events Sync?I did, yes. I guess it just won’t work with a closed group. Oh well.
Forum: Plugins
In reply to: [EME Sync Events] Group Events Sync?152614274901955/events/ returns the results that I am looking for in Graph API Explorer but only after generating a token with “user_groups” and “user_events” (both. either alone wont do it). However putting 152614274901955/events/ or 152614274901955 into the plugin seems to have no effect.
Forum: Plugins
In reply to: [EME Sync Events] Group Events Sync?No luck I’m afraid. Log output below:
[Thu Apr 16 09:07:53.495455 2015] [:error] [pid 3934] [client IPADDRESSREMOVED:50464] PHP Fatal error: Uncaught exception 'Facebook\\FacebookAuthorizationException' with message 'Unknown path components: /events' in /var/www/html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequestException.php:134\nStack trace:\n#0 /var/www/html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequest.php(280): Facebook\\FacebookRequestException::create('{"error":{"mess...', Object(stdClass), 400)\n#1 /var/www/html/wp-content/plugins/eme-sync-facebook-events/eme-sync-facebook-events.php(166): Facebook\\FacebookRequest->execute()\n#2 /var/www/html/wp-content/plugins/eme-sync-facebook-events/eme-sync-facebook-events.php(408): eme_sfe_get_events('654412744679198', '64908b8e006f593...', Array, Object(Facebook\\FacebookSession))\n#3 [internal function]: eme_sfe_options_page('')\n#4 /var/www/html/wp-includes/plugin.php(496): call_user_func_array('eme_sfe_options...', Array)\n#5 /var/www/html/wp-admin/admin.php(212): do_action('settings_ in /var/www/html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequestException.php on line 134, referer: https://DOMAINREMOVED.com/wp-admin/options-general.php?page=eme-sync-facebook-events/eme-sync-facebook-events.php
Forum: Plugins
In reply to: [EME Sync Events] Group Events Sync?Yes, I have done that. The group is https://www.facebook.com/groups/WastelandLARP/
Does the plugin work for syncing groups? If so, does it matter what privacy level the group is set at?
Forum: Plugins
In reply to: [EME Sync Events] Group Events Sync?Ok, I thought the events were public but it turns out that group events inherit their privacy level from the group. So much for that.
However, that doesn’t explain why I can’t seem to add these events individually, even when logged in.
Output in the apache error log is:
[Thu Apr 16 04:31:07.616558 2015] [:error] [pid 3842] [client IPADDRESSREMOVED:47946] PHP Fatal error: Uncaught exception 'Facebook\\FacebookAuthorizationException' with message 'Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api' in /var/www/html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequestException.php:104\nStack trace:\n#0 /var/www/html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequest.php(280): Facebook\\FacebookRequestException::create('{"error":{"mess...', Object(stdClass), 400)\n#1 /var/www/html/wp-content/plugins/eme-sync-facebook-events/eme-sync-facebook-events.php(132): Facebook\\FacebookRequest->execute()\n#2 /var/www/html/wp-content/plugins/eme-sync-facebook-events/eme-sync-facebook-events.php(418): eme_sfe_get_event('654412744679198', '64908b8e006f593...', '674566942670272', Object(Facebook\\FacebookSession))\n#3 [internal function]: eme_sfe_options_page('')\n#4 /var/www/html/wp-includes/plugin.php(496): call_user_func_arra in /var/www/html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequestException.php on line 104, referer: https://DOMAINNAMEREMOVED.com/wp-admin/options-general.php?page=eme-sync-facebook-events/eme-sync-facebook-events.php
Same output whether I use the event ID or the full url.