unable to display facebook posts – OAuthException – Code:1
-
Unable to display Facebook posts.
Error: An unknown error has occurred.
Type: OAuthException
Code: 1Hi, i use this plugin with no problems on my site. Suddenly, I get the above error message. I am not using my own token, have always used the default.
I am using the latest version of the plugin 2.3.10
Any advice? Do I need to create my own access token now?
https://www.maltthebrewery.co.uk is the website, the facebook feed is on the home page footer
-
Hi, I have actually and exactly the same problem. I have tested with other pages and I see only 2 or 3 pages work between a total of 6 pages.
Like @sunpar, all was ok but suddenly, only this error :
Unable to display Facebook posts.
Error: An unknown error has occurred.
Type: OAuthException
Code: 1Please, help us.
Thanks & regards.Hey guys,
Seems like it’s most likely a temporary issue with part of Facebook’s API. I’ll take a closer look into it, but when I’ve seen this issue before it usually resolves itself in a few hours once they fix the API issue. Try clicking ‘Save Changes’ on the plugin’s Settings page to clear the plugin cache and check Facebook again for data, and I’ll do some digging to see if I can find out if it’s just a temporary Facebook API issue.
John
It looks like it was a temporary Facebook API issue which should be fixed now. @sunpar – it looks like the feed is displaying successfully on your site again now (screenshot). @riyadho – Could you click ‘Save Changes’ on the plugin’s Settings page and let me know whether it’s working again successfully for you too?
Thanks!
John
Hi John, thanks I did the ‘save changes’ action too as you suggested.
Yes just checked and all working, it’s a great plugin and thanks for the quick response too.
Thanks again!
Thanks for the answer. I had tested different solutions : Test differents pages, test with a token, but nothing.
Now, I have tested without any modification and it’s works. It’s probably like you say, a temporary issue with the Facebook API.
Thanks a lot.Glad to hear everything is good again ??
Hope you both enjoy the rest of your week!
John
Unable to display Facebook posts.
Error: An unknown error has occurred.
Type: OAuthException
Code: 1Hi, i use this plugin with no problems on my site. Suddenly, I get the above error message. I am not using my own token, have always used the default.
I am using the latest version of the plugin 2.3.10
cockersydvast.com
/Robert
The error is an undefined error from Facebook which will sometimes reflect a source within the actual Facebook account itself and then disappear a short time later. However, I would be happy to inspect your plugin settings to see if there are any issues within the settings.
Could I have you submit a support request here and then include your plugin’s System Info which can be located by going to: WordPress DashBoard – Facebook Feed – Settings – Support (tabbed page) – select all text in the info box, copy and paste your ‘System Info’ into your reply.
This will provide us with better information to diagnose a potential problem with the site or plugin rather than guessing at the undefined error being sent by Facebook. Also, have you tested the Facebook Page account ID here in our interactive demo to see what the feed results are and if the same message appears?
Thank you.
If a try a different ID it works ?? fine..
/Robert
If a different ID is working then the issue won’t be found in the plugin itself but rather either the settings being used or the Facebook account settings. If you could send me the requested system info requested previously or at least the shortcode you are using on the page and the Facebook Page/Group account link I can set up a test site to check this for you.
I will await your response.
Facebook id: 607245462646849
## SITE/SERVER INFO: ##
Site URL: https://www.cockersydvast.com
Home URL: https://www.cockersydvast.com
WordPress Version: 4.4.2
PHP Version: 5.6.16
Web Server Info: Apache
PHP allow_url_fopen: Yes
PHP cURL: Yes
JSON: Yes
SSL Stream: Yes## ACTIVE PLUGINS: ##
All In One SEO Pack: 2.2.7.6.2
Contact Form 7: 4.4
Custom Facebook Feed: 2.3.10
Easy Table: 1.6
Favicon by RealFaviconGenerator: 1.3.2
Full Registration Form: 1.0
List Yo’ Files: 1.12
Media File Manager Advanced: 1.1.5
Newsletter: 4.0.9
NextGEN Gallery by Photocrati: 2.1.23
Page View: 1.6
Personal Contact Info Widget: 1.2
POWr Countdown Timer: 1.4
Really Simple CAPTCHA: 1.8.0.1
Recent Facebook Posts: 2.0.8
Simple Image Widget: 4.3.0
TinyMCE Advanced: 4.2.8
Ultimate Tables: 1.6.3
Under Construction: 1.16
UpdraftPlus – Backup/Restore: 1.11.27
Very Simple Favicon Manager: 2.5
Visual Form Builder: 2.8.6
WordPress PopUp: 4.7.1.1
WP Google Maps: 6.3.05
WP Statistics: 10.0.5## PLUGIN SETTINGS: ##
Use own Access Token:
Access Token:
Page ID: 607245462646849
Page Type: group
Number of Posts: 5
Post Limit:
Show Posts by: me
Cache Time: 1
Cache Unit: minutes
Locale: sv_SE
Timezone: Europe/Amsterdam## CUSTOMIZE: ##
cff_ajax =>
cff_preserve_settings =>
cff_title_length =>
cff_body_length =>
cff_timezone => Europe/Amsterdam
cff_show_links_type => 1
cff_show_event_type => 1
cff_show_video_type => 1
cff_show_photos_type => 1
cff_show_status_type => 1
cff_preset_layout => thumb
cff_show_text => 1
cff_show_desc => 1
cff_show_shared_links => 1
cff_show_date => 1
cff_show_media => 1
cff_show_event_title => 1
cff_show_event_details => 1
cff_show_meta => 1
cff_show_link => 1
cff_show_like_box => 1
cff_post_bg_color =>
cff_post_rounded => 0
cff_title_format => p
cff_title_size => inherit
cff_title_weight => inherit
cff_title_color =>
cff_posttext_link_color =>
cff_body_size => 12
cff_body_weight => inherit
cff_body_color =>
cff_link_title_format => p
cff_link_title_size => inherit
cff_link_title_color =>
cff_link_url_color =>
cff_link_bg_color =>
cff_link_border_color =>
cff_disable_link_box =>
cff_event_title_format => p
cff_event_title_size => inherit
cff_event_title_weight => inherit
cff_event_title_color =>
cff_event_date_size => inherit
cff_event_date_weight => inherit
cff_event_date_color =>
cff_event_date_position => below
cff_event_date_formatting => 1
cff_event_date_custom =>
cff_event_details_size => inherit
cff_event_details_weight => inherit
cff_event_details_color =>
cff_event_link_color =>
cff_date_position => author
cff_date_size => inherit
cff_date_weight => inherit
cff_date_color =>
cff_date_formatting => 1
cff_date_custom =>
cff_date_before =>
cff_date_after =>
cff_link_size => inherit
cff_link_weight => inherit
cff_link_color =>
cff_facebook_link_text => View on Facebook
cff_view_link_text => View Link
cff_link_to_timeline =>
cff_icon_style => light
cff_meta_text_color =>
cff_meta_bg_color =>
cff_nocomments_text => No comments yet
cff_hide_comments =>
cff_feed_width => 250
cff_feed_height => 700
cff_feed_padding =>
cff_like_box_position => bottom
cff_like_box_outside =>
cff_likebox_width =>
cff_likebox_height =>
cff_like_box_faces =>
cff_like_box_border =>
cff_like_box_cover => 1
cff_like_box_small_header =>
cff_like_box_hide_cta =>
cff_bg_color => #ffffff
cff_likebox_bg_color =>
cff_like_box_text_color => blue
cff_video_height =>
cff_show_author => 1
cff_class =>
cff_open_links => 1
cff_cron => unset
cff_custom_css =>
cff_custom_js =>
cff_title_link =>
cff_post_tags => 1
cff_link_hashtags => 1
cff_event_title_link => 1
cff_video_action => post
cff_app_id =>
cff_show_credit =>
cff_font_source =>
cff_sep_color =>
cff_sep_size => 1
cff_show_header =>
cff_header_outside =>
cff_header_text => Facebook Posts
cff_header_bg_color =>
cff_header_padding =>
cff_header_text_size =>
cff_header_text_weight =>
cff_header_text_color =>
cff_header_icon =>
cff_header_icon_color =>
cff_header_icon_size => 28
cff_author_size => inherit
cff_author_color =>
cff_see_more_text => See More
cff_see_less_text => See Less
cff_facebook_share_text => Share
cff_show_facebook_link => 1
cff_show_facebook_share => 1
cff_translate_photos_text => photos
cff_translate_second => second
cff_translate_seconds => seconds
cff_translate_minute => minute
cff_translate_minutes => minutes
cff_translate_hour => hour
cff_translate_hours => hours
cff_translate_day => day
cff_translate_days => days
cff_translate_week => week
cff_translate_weeks => weeks
cff_translate_month => month
cff_translate_months => months
cff_translate_year => year
cff_translate_years => years
cff_translate_ago => ago## FACEBOOK API RESPONSE: ##
{“data”:[{“id”:”607245462646849_1024916047546453″,”from”:{“name”:”Robert Klein”,”id”:”10206112752803372″},”to”:{“data”:[{“name”:”CockerSydV\u00e4st”,”privacy”:”OPEN”,”id”:”607245462646849″}]},”message”:”Viltsp\u00e5rskurs\n\nV\u00e5ra cocker spaniels har naturligt jakt och sp\u00e5rinstinkter i sig. Varf\u00f6r inte prova p\u00e5 denna mycket uppskattade aktivitet som viltsp\u00e5r.\n\nViltstp\u00e5rskurs planeras starta under april m\u00e5nad.\n\nKursledare blir Karl-Axel Larsson, en mycket erfaren och duktig viltsp\u00e5rsdomare.\nKursen avslutas med m\u00f6jlighet till ett anlagsprov.\n\nPlats: Attarp\/Ignaberga trakten utanf\u00f6r H\u00e4ssleholm.\n\nVi kan s\u00e4kert ordna n\u00e5gon form av sam\u00e5kning om man s\u00e5 \u00f6nskar.\n\nAnm\u00e4l ditt intresse till Anne Lundberg \/ Sekreterare.\n\nsekreterare\u0040cockersydvast.com”,”actions”:[{“name”:”Like”,”link”:”https:\/\/www.facebook.com\/607245462646849\/posts\/1024916047546453″},{“name”:”Join CockerSydV\u00e4st”,”link”:”https:\/\/www.facebook.com\/groups\/cockersydvast\/”}],”privacy”:{“value”:””,”description”:””,”friends”:””,”allow”:””,”deny”:””},”type”:”status”,”created_time”:”2016-02-27T10:55:14+0000″,”updated_time”:”2016-02-27T18:30:58+0000″,”shares”:{“count”:1},”is_hidden”:false,”is_expired”:false,”likes”:{“data”:[{“id”:”10156270423165487″,”name”:”Lisbeth Borglin”},{“id”:”724145311020534″,”name”:”Ingrid Olsson”},{“id”:”557112531118100″,”name”:”Lilian Jonsson”},{“id”:”10153584409716843″,”name”:”Nathalie Barnell”},{“id”:”10205804137532250″,”name”:”Ingrid Lohmander A-son”},{“id”:”935901163144880″,”name”:”Ingela M\u00e5nsson”},{“id”:”10207724108434738″,”name”:”Ann-Catrin Berg”},{“id”:”10153935215779524″,”name”:”Sarah Sj\u00f8lin Lilaa”},{“id”:”862272477151994″,”name”:”Ir\u00e8n-Marie Bohman”},{“id”:”10205352094353162″,”name”:”Mona-Lisa Liljenberg”}],”paging”:{“cursors”:{“after”:”MTAyMDUzNTIwOTQzNTMxNjI=”,”before”:”MTAxNTYyNzA0MjMxNjU0ODc=”}}},”comments”:{“data”:[{“id”:”1024916604213064″,”from”:{“name”:”Carina Dreffling”,”id”:”10207026141065773″},”message”:”Intresserad. Kostar ?”,”can_remove”:false,”created_time”:”2016-02-27T10:57:33+0000″,”like_count”:0,”user_likes”:false},{“id”:”1024916940879697″,”from”:{“name”:”Ulrika Knutsson”,”id”:”1134049356614613″},”message”:”Ingela M\u00e5nsson ?”,”message_tags”:[{“id”:”935901163144880″,”name”:”Ingela M\u00e5nsson”,”type”:”user”,”offset”:0,”length”:14}],”can_remove”:false,”created_time”:”2016-02-27T10:59:41+0000″,”like_count”:0,”user_likes”:false},{“id”:”1024917474212977″,”from”:{“name”:”Robert Klein”,”id”:”10206112752803372″},”message”:”Priset f\u00e5r ni n\u00e4sta vecka :)”,”can_remove”:false,”created_time”:”2016-02-27T11:01:10+0000″,”like_count”:3,”user_likes”:false},{“id”:”1024921030879288″,”from”:{“name”:”Sarah Sj\u00f8lin Lilaa”,”id”:”10153935215779524″},”message”:”Findes der en mailadresse til sekreteraren?”,”can_remove”:false,”created_time”:”2016-02-27T11:12:11+0000″,”like_count”:1,”user_likes”:false},{“id”:”1025048880866503″,”from”:{“name”:”Nathalie Barnell”,”id”:”10153584409716843″},”message”:”Anm\u00e4ld\ud83d\ude09\u270c\ud83d\udc4c”,”can_remove”:false,”created_time”:”2016-02-27T16:29:27+0000″,”like_count”:1,”user_likes”:false},{“id”:”1025097120861679″,”from”:{“name”:”Lisbeth Borglin”,”id”:”10156270423165487″},”message”:”n\u00e4r \u00e4r det d\u00e5″,”can_remove”:false,”created_time”:”2016-02-27T18:27:53+0000″,”like_count”:0,”user_likes”:false},{“id”:”1025097674194957″,”from”:{“name”:”Lisbeth Borglin”,”id”:”10156270423165487″},”message”:”h\u00f6rde man kunde anm\u00e4la min golden med n\u00e4r b\u00f6rjar det.. vilken dag— jag skulle g\u00e4rna vilja h\u00e4nga p\u00e5 \u00e4r det om helgerna”,”can_remove”:false,”created_time”:”2016-02-27T18:29:15+0000″,”like_count”:0,”user_likes”:false},{“id”:”1025098540861537″,”from”:{“name”:”Lisbeth Borglin”,”id”:”10156270423165487″},”message”:”jag skulle g\u00e4rna vilja f\u00f6lja med men flame finns det m\u00f6jligheter till det bor i svedala”,”can_remove”:false,”created_time”:”2016-02-27T18:30:57+0000″,”like_count”:0,”user_likes”:false}],”paging”:{“cursors”:{“after”:”WTI5dGJXVnVkRjlqZFhKemIzSTZNVEF5TlRBNU9EVTBNRGcyTVRVek56b3hORFUyTlRrM09EVTQ=”,”before”:”WTI5dGJXVnVkRjlqZFhKemIzSTZNVEF5TkRreE5qWXdOREl4TXpBMk5Eb3hORFUyTlRjd05qVTA=”}}}}],”paging”:{“previous”:”https:\/\/graph.facebook.com\/v2.0\/607245462646849\/feed?limit=1&since=1456597858&access_token=611606915581035|RdRHbHtrHseQw4C7SDUBFWIrJLA&__paging_token=enc_AdAkwqlCPenNQRqFmbm5sXf3sXxMuzUDZApmZAaWgx3eY55Uellde8CZBfrovf34SOwQufSrJ4FJijhJStux5y1gNSoJcR8UbnR0FGWEfViOciS3AZDZD&__previous=1″,”next”:”https:\/\/graph.facebook.com\/v2.0\/607245462646849\/feed?limit=1&access_token=611606915581035|RdRHbHtrHseQw4C7SDUBFWIrJLA&until=1456597858&__paging_token=enc_AdAkwqlCPenNQRqFmbm5sXf3sXxMuzUDZApmZAaWgx3eY55Uellde8CZBfrovf34SOwQufSrJ4FJijhJStux5y1gNSoJcR8UbnR0FGWEfViOciS3AZDZD”}}Hey Robert,
It appears the issue is stemming from a setting within the actual Facebook Group account which has some type of restriction that is on the account. This is determined by the fact that the Group ID 607245462646849 does not display within the interactive demo here.
Also you can test this by logging out of the Facebook program and then entering the URL https://www.facebook.com/groups/cockersydvast/ in your browsers address bar and hitting “enter” You should get an error message stating you have to log into Facebook to see the Group/Page account. This is clear indication that a restriction is in place. For Page account the most common restrictions that present the same problem are when either “age” or “country” restrictions have been placed on the account.
Since Facebook does not know a person’s age or country prior to logging into the Facebook program then the data that is restricted by such settings becomes unavailable from outside the Facebook program. This follows through with a plugin attempting to extract information on the account as well. Let me know what you have discovered on this particular account.
Hey Robert,
This issue is actually being caused by a bug in the Facebook API which returns an error for your Facebook Group (see here). I’m going to submit a bug report to Facebook for this issue, but in the meantime you should be able to get around the issue by obtaining a “User” Access Token from your Facebook account by following these directions. Follow the directions down to step 9, click the ‘Get my User Access Token’ button, and then copy and paste it into the plugin’s Settings page.
That should resolve the issue for you for now.
John
Works ??
Glad to hear that Robert. We submitted a bug report and Facebook confirmed that it is a bug. Hopefully it will get resolved soon.
John
- The topic ‘unable to display facebook posts – OAuthException – Code:1’ is closed to new replies.