We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Yeah, I checked in the system settings and FbLogin has no entry. I'm installing on my local machine (it is connected to the internet). Could the error means fbLogin wants to be installed on a webhost?

    With the newest version of MODx (2.2.6) the error seems shorter but still far more incomplete. The fbLogin resources and Chunks are not even created this time around.
    Here is the new install status:

    Console running...
    Attempting to install package with signature: fblogin-1.0-rc3
    Package found...now preparing to install.
    Grabbing package workspace...
    Workspace environment initiated, now installing package...
    Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => )
    Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => )
    Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => )
    Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => )
    Skipping vehicle object of class modSystemSetting (data object exists and cannot be upgraded); criteria: Array ( [key] => ) 
      • 37054
      • 93 Posts
      Hey folks,

      Finally got a chance to look at the issue with the install script and have just figured out what the problem was. I am going to build version rc4 now, test, publish and will confirm when the updated version is in the repo.

      Apologies for the delay - juggling lots of spinning plates here.
        • 37054
        • 93 Posts
        Just to confirm. I have updated the issue with the resolvers, rebuilt and have updated the repository with the new version - now at rc4.
        • Yes thanks. Installed successfully but when I clicked on the Facebook connect button I got this error:

          Error
          An error occurred. Please try again later.
          
          API Error Code: 191
          API Error Description: The specified URL is not owned by the application
          Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
            • 37054
            • 93 Posts
            Well that's telling you exactly where the problem is, in your application setup on Facebook. In those settings you need to:

            1 ) fill in the address into "Website with Facebook Login" => Site URL

            2 ) fill in "App Domains" with your domain. ( you may not able to save, if you skip step 1 )

            If what you have in your facebook settings for the domain does not exactly match your site you will see this error.

            Its nothing to do with fbLogin per sae.

            Joe

            Quote from: ojchris at Jan 30, 2013, 09:34 AM
            Yes thanks. Installed successfully but when I clicked on the Facebook connect button I got this error:

            Error
            An error occurred. Please try again later.
            
            API Error Code: 191
            API Error Description: The specified URL is not owned by the application
            Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
            • So I guess this is as a result of running from http://localhost/siteurl rather than http://www.siteurl.com.

              One more thing though, on the login page what I have is only a an image with Facebook name on it rather than the "Connect With Facebook" imprint seen in the introduction on http://www.hyper-typer.com/news/facebook-login-modx. I really would have preferred have "Connect With Facebook".
                • 37054
                • 93 Posts
                You can customise the image used in the fbLogin chunk.

                Quote from: ojchris at Jan 30, 2013, 02:19 PM
                So I guess this is as a result of running from http://localhost/siteurl rather than http://www.siteurl.com.

                One more thing though, on the login page what I have is only a an image with Facebook name on it rather than the "Connect With Facebook" imprint seen in the introduction on http://www.hyper-typer.com/news/facebook-login-modx. I really would have preferred have "Connect With Facebook".
                • I see. It moved the site to the web host. Working now. Thank you all for creating this thread and following up. Big thanks to FreelanceWebDev. Not so tough except for the initial install challenge.

                  How do I call up the Facebook widgets (comments, share, like, etc) with this. (apart from logging the user?
                    • 37054
                    • 93 Posts
                    All you should have to is add the widgets as per the Facebook documentation. Once the user is logged in the widgets themselves should take care of the rest. Definitely a topic beyond the scope of what I can support here.

                    Quote from: ojchris at Jan 30, 2013, 05:02 PM
                    I see. It moved the site to the web host. Working now. Thank you all for creating this thread and following up. Big thanks to FreelanceWebDev. Not so tough except for the initial install challenge.

                    How do I call up the Facebook widgets (comments, share, like, etc) with this. (apart from logging the user?
                      • 38878
                      • 255 Posts
                      RC4 not showing up through "Check for updates" in package manager. Github only? Or do we need to wait for it to be published to RTFM?

                      Quote from: freelancewebdev at Jan 29, 2013, 09:09 PM
                      Just to confirm. I have updated the issue with the resolvers, rebuilt and have updated the repository with the new version - now at rc4.