• Resolved palladiangroup

    (@palladiangroup)


    Hi

    This used to work for us, but I’m getting an issue now with displaying the Facebook feed.

    I have the Page ID and Access Token fields filled in correctly in the plugin settings, and I’m currently using a shortcode that was generated with version 2.4.1 of the plugin. This is the message I see under the Access Token field in settings:

    Your Access Token is now working! Generate your shortcode on the settings page.

    Also, I updated the plugin to version 2.4.8 to see if this would fix the issue, but it doesn’t seem to be the case, and I also tried generating a newer shortcode with version 2.4.8. But that gives me Error #15 (not allowed to use token in client-side code).

    What can I do to get this feed working again?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter palladiangroup

    (@palladiangroup)

    Ok, so I was able to get a page access token that I could use. It does seem though that I need to have a Facebook “app” and submit it for review, so this token will at least keep the feed active long enough for the review process.

    Some instructions that may be helpful:

    1. Create a Facebook “app”
    2. Become an admin of the page you want to pull media posts from
    3. Have ability to use cURL, probably via command line (more on that later)
    4. You need your Facebook app’s ID and secret
    5. You’ll need a Page Access Token: https://developers.facebook.com/tools/explorer
    • Set “Application” to the name of your FB app
    • Click “Get Token”, then select “Page Access Token” at the bottom
    • Select the page you want to get an access token for
    • Once the page is selected, grab the contents of the “Access Token” field
    • Use the following to get a longer-lived access token:<br>
      curl -i -X GET "https://graph.facebook.com/vX.X/oauth/access_token?grant_type=fb_exchange_token&client_id={app-id}&client_secret={app-secret}&fb_exchange_token={short-lived-token}
    • Note: “vX.X” refers to a version number, such as “v3.1”. Use whatever API version number your Facebook app uses.

    The access token you should have after following those steps should be good for a longer period of time (60 days). This should give you the time you need to record the screencast you need for submitting your Facebook app for review, and also give the Facebook team time to review without it breaking down.

    Plugin Author slickremix

    (@slickremix)

    Hey @palladiangroup,
    Sorry for the troubles! You shouldn’t need anything other than the access token. You just need to login to an account that has admin privileges to the page you are trying to show in the feed.

    Thanks,
    Justin

    Hi
    I have “Error: (#10) To use ‘Page Public Content Access’, …” too
    It is on https://servotechusa.com/facebook-news/
    Plugin worked perfectly before facebook made this new rule. Now it works only if I’m logged in WordPress. As soon as I sign out it gives

    Error: (#10) To use ‘Page Public Content Access’, your use of this endpoint must be reviewed and approved by Facebook. To submit this ‘Page Public Content Access’ feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.
    Type: OAuthException
    Code: 10

    Could you, please, help?

    Thanks,
    Natalia

    Plugin Author slickremix

    (@slickremix)

    I cannot advise on how to get your own app approved with that permission however if you go to the Facebook Options page of our plugin and click the button we have there to get an access token you should be good. We were just approved for the Page Public Content Access so as long as you are admin of any facebook page you can use that access token to show any public facebook feed now ??

    Spencer

    Thank you, Spencer
    Now the Facebook feed appears on the page on log out too.
    Don’t know why. Could be the approved permission or something.
    It I all good ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Facebook feed not working, error #10’ is closed to new replies.