Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Søren Mastrup 122 posts 564 karma points c-trib
    Oct 19, 2015 @ 09:49
    Søren Mastrup
    0

    Facebook OAuth error

    I am currently not able to OAuth against the facebook service. I get the facebook login dialog, but after login I am redirected to this: http://d.pr/i/10Flh

    I am running Umbraco 7.3.0 with SkyBrud 1.0.1

  • Anders Bjerner 487 posts 2995 karma points MVP 8x admin c-trib
    Oct 19, 2015 @ 21:46
    Anders Bjerner
    100

    Hi Søren,

    I think this is an issue in Skybrud.Social that already has been fixed.

    Unfortunately Skybrud.Social for Umbraco has been a bit neglected due to lack of time, so the latest version has a dependency for an older version of Skybrud.Social.

    The easiest fix for now is to download the latest Skybrud.Social DLL from GitHub: https://github.com/abjerner/Skybrud.Social/releases

    If you have installed Skybrud.Social for Umbraco via NuGet, you won't be able to update Skybrud.Social via NuGet due to the dependency, so simply grab the DLL from the link above. I'll try to fix the NuGet package soon ;)

  • Søren Mastrup 122 posts 564 karma points c-trib
    Oct 20, 2015 @ 11:04
    Søren Mastrup
    0

    Hi Anders,

    That did the trick! Thank you!

    If I try to login with another user I get the following message:

    (#100) You must provide an app access token or a user access token that is an owner or developer of the app

    It probably has something to do with my App-settings.
    Do you know how to fix it?

  • Anders Bjerner 487 posts 2995 karma points MVP 8x admin c-trib
    Oct 20, 2015 @ 11:19
    Anders Bjerner
    0

    Hi again,

    I think your Facebook app may be in development mode, so users not registered as a developer of the app won't be able to login.

    If you go to the Facebook developer site and find your, you should be able to find a setting for this under the Status & Review section.

    I can't remember what the default setting is, so let me know if the above helps ;)

  • Søren Mastrup 122 posts 564 karma points c-trib
    Oct 20, 2015 @ 12:02
    Søren Mastrup
    0

    My app is live - http://prntscr.com/8tahij

    Do I really have to submit it to facebook for review?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 20, 2015 @ 12:18
    Ismail Mayat
    0

    Soren,

    I had a few issues with facebook, so I created an app token on https://developers.facebook.com/tools/accesstoken/ and used that to create the facebook service.

    Regards

    Ismail

  • Søren Mastrup 122 posts 564 karma points c-trib
    Oct 20, 2015 @ 12:28
    Søren Mastrup
    0

    Hi Ismail

    Do you have an example of this? I guess you provide the access token in your view and not in the data type created in Umbraco?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 20, 2015 @ 12:49
    Ismail Mayat
    0

    Soren,

    I have a global settings node on their i have my skybrud stuff no facebook property editor, for that i just have textbox and i paste the token there. I then have a social service and in that i do :

     _facebookService = FacebookService.CreateFromAccessToken(appToken);
    

    The app token comes from the global config.

    Regards

    Ismail

  • Søren Mastrup 122 posts 564 karma points c-trib
    Oct 20, 2015 @ 13:09
    Søren Mastrup
    0

    Aah I see!

    I really just need to get posts from different facebook pages, so your solution would work! - Thanks!

    Do you know how to get attached images / videos etc.?

Please Sign in or register to post replies

Write your reply to:

Draft