• Resolved ericalynn

    (@butrflied)


    Hey Franky – tried to update my events this morning and got this error (I removed my path):

    Fatal error: Uncaught exception ‘Facebook\FacebookAuthorizationException’ with message ‘(#100) Unknown fields: place.’ in /wp-content/plugins/fb-group-sync/Facebook/facebook-php-sdk-v4/src/Facebook/FacebookRequestException.php:104 Stack trace: #0 /wp-content/plugins/fb-group-sync/Facebook/facebook-php-sdk-v4/src/Facebook/FacebookRequest.php(280): Facebook\FacebookRequestException::create(‘{“error”:{“mess…’, Object(stdClass), 400) #1 /wp-content/plugins/eme-sync-facebook-events/eme-sync-facebook-events.php(164): Facebook\FacebookRequest->execute() #2 /wp-content/plugins/eme-sync-facebook-events/eme-sync-facebook-events.php(423): eme_sfe_sync_events(‘{APPID}’, ‘{APPSECRET}’, Array, Object(Facebook\FacebookSession)) #3 [internal function]: eme_sfe_options_page(”) #4 /wp-includes/plugin.php(496): call_ in /wp-content/plugins/fb-group-sync/Facebook/facebook-php-sdk-v4/src/Facebook/FacebookRequestException.php on line 104

    I logged out of my Facebook connection and logged back in using your settings page .. but still got the error .. any ideas? I am using version 1.5.40 of EME FB Event Sync

    Thanks!!

    https://www.ads-software.com/plugins/eme-sync-facebook-events/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter ericalynn

    (@butrflied)

    Franky – I fixed my issue.

    FB API switched out place for location and venue, plus some of the events had a different time format .. I can send my changes to you if you want.

    Plugin Author Franky

    (@liedekef)

    I’ll be more than happy to include your fixes!
    But I think I need some more info: is your facebook app already using API 2.4 (mine uses 2.3 and there “place” works just fine …)?

    Thread Starter ericalynn

    (@butrflied)

    I’m not totally sure what’s going on .. it says I’m using version 2.3, but the location & event fields that I’m getting were deprecated in 2.3 ..

    I do have user_managed_groups in the scope of my token because I turned in on for my own FB plugin that I wrote to import the feed from my ‘secret’ group .. so maybe I’m getting a different result because I manage the group?

    I’m going to do some more research to see what’s really going on .. but I did find this ExpressiveDate class really helped with your myDateTime createFromFormat with all the different possible formats Facebook might return .. you might find it useful in the future –

    https://github.com/jasonlewis/expressive-date/blob/master/src/ExpressiveDate.php

    $date = new ExpressiveDate();
         $myDateTime = $date->setTimestampFromString($event['start_time']);

    Thread Starter ericalynn

    (@butrflied)

    ok – the location/venue seems to be returning from my {group-id}/events queries (listing all of a group’s events) .. but {event-id} objects (single events) use place .. I have no idea why my results are different .. but that’s what I’m getting using v2.3 API explorer & your plugin.

    I sent my version of your plugin to the email I got when I signed up for your support forum on e-dynamics.be

    Maybe it’ll help somebody else ??

    Plugin Author Franky

    (@liedekef)

    ok, the datetime parsing changed back to a simpler form in 1.0.16
    Concerning group-id: an example I can test (public)?

    Thread Starter ericalynn

    (@butrflied)

    Its a private group .. I actually created my own secret testing group to test with .. threw some posts and events in there .. I’m the only member .. you could probably do that for yourself easily since you have to be the manager of the group to recreate the ‘managed_groups’ permission

    Plugin Author Franky

    (@liedekef)

    Well, personally I try to stay away from fb as much as I can, so no extra groups for me.
    However, according to their API doc, the group/events node should return regular facebook events and thus should not have “venue”. Maybe update your facebook app to api 2.4?

    Thread Starter ericalynn

    (@butrflied)

    Yeah I have a feeling its just something unique with my setup .. thanks for trying to look into it ?? I hacked it together for now .. I just have to be careful with your updates

    Thanks again .. keep up the good work!

    Plugin Author Franky

    (@liedekef)

    I tried to find a facebook api call that would return the supported list of fields one can ask, but apparently that doesn’t exist. Adding “?metadata=1” to a node gets me something, but not what I want …
    Maybe the new SDK can help …

    dnhmusic

    (@dnhmusic)

    Hi there,
    Not sure if I had to start a new topic since I run into the same type of error for a few days now. Here’s a part of the log file :

    Skipping already synchronized event: 212<br />Inserting location:             <br />Skipping already synchronized event: 213<br />Inserting location: <br />Skipping already synchronized event:             239<br />Inserting location: <br />Skipping already synchronized event: 296PHP Fatal error:  Uncaught exception 'F            acebook\FacebookAuthorizationException' with message 'Unsupported get request. Please read the Graph API documentat            ion at https://developers.facebook.com/docs/graph-api' in public_html/dnh            m/wp/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequestEx            ception.php:104
    Stack trace:
    #0 public_html/dnhm/wp/wp-content/plugins/eme-sync-facebook-events/Facebo            ok/facebook-php-sdk-v4-4.0.23/src/Facebook/FacebookRequest.php(280): Facebook\FacebookRequestException::create('{"e            rror":{"mess...', Object(stdClass), 400)
    #1 public_html/dnhm/wp/wp-content/plugins/eme-sync-facebook-events/eme-sy            nc-facebook-events.php(185): Facebook\FacebookRequest->execute()
    #2 public_html/dnhm/wp/wp-content/plugins/eme-sync-facebook-events/eme-sy            nc-facebook-events.php(129): eme_sfe_sync_events('1659983850947 in public            _html/dnhm/wp/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v4-4.0.23/src/Facebook/Facebook            RequestException.php on line 104

    Please note that my FB app is already in API 2.4

    Thanks in advance for your help ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Uncaught Exception Error?’ is closed to new replies.