Timothy Bray
Posts: 0
Joined: Tue Jan 07, 2014 11:08 pm

redirect uri problem

I installed the plugin Facebook Publishing and entered the following info in to the Service "FacebookPublishing_Settings":
client_id
client_secret
redirect_uri
The redirect_uri is: http://appery.io/app/view/3bec7239-f4...
and I've tried: http://appery.io/app/view/3bec7239-f4...
and also: http://appery.io/app/view/3bec7239-f4...

When I go to the Service "FacebookPublishing_GetToken" and go to the Test tab and click Test I get the same response for each URI as follows:
{
"status":"400 Bad Request",
"url":"https://graph.facebook.com/oauth/acce...",
"response":{
"error":{
"message":"redirect_uri isn't an absolute URI. Check RFC 3986.",
"type":"OAuthException",
"code":191
}
}
}

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

redirect uri problem

Hello! Try prehttp://appery.io/app/view/3bec7239-f4d7-4eaf-a3f8-95fa3a6050b2/FacebookPublishing_AfterLogin.html/pre and check if you really send this address to Facebook. Please also check are there any errors in code or settings.

Papa Wheelz
Posts: 0
Joined: Thu Jan 16, 2014 9:53 pm

redirect uri problem

Hey Maryna!

I have a very simple question, do you actually read the questions people ask?

I'm am Timothy Bray's developer, which, if you are not paying attention is the person above that originally asked this question:

PLEASE READ THE ENTIRE MESSAGE

I installed the plugin Facebook Publishing and entered the following info in to the Service "FacebookPublishing_Settings":

  • client_id

  • client_secret

  • redirect_uri
    The redirect_uri is:
    http:// appery.io/app/view/ 3bec7239-f4d7-4eaf-a3f8-95fa3a6050b2/
    and I've tried:
    http:// appery.io/app/view/ 3bec7239-f4d7-4eaf-a3f8-95fa3a6050b2/ FacebookPublishing_AfterLogin
    and also:
    http:// appery.io/app/view/ 3bec7239-f4d7-4eaf-a3f8-95fa3a6050b2/ FacebookPublishing_Login

    When I go to the Service "FacebookPublishing_GetToken" and go to the Test I get the same response for each URI as follows:
    {
    "status":"400 Bad Request",
    "url":"https://graph.facebook.com/oauth/acce...",
    "response":{
    "error":{
    "message":"redirect_uri isn't an absolute URI. Check RFC 3986.",
    "type":"OAuthException",
    "code":191
    }
    }
    }

    You replied telling me to try what I have already tried!

    You also said: and check if you really send this address to Facebook, which I'm not sure what you mean, you do not explain yourself very well!

    I followed the instructions from YOUR website: Using Facebook Publishing API for storytelling on Facebook from your mobile app
    http://docs.appery.io/plugins/using-f...

    Then you said: Please also check are there any errors in code or settings, but if you actually looked at the original message it clearly states we are using your plugin so there is NO code, just your services.. as for the settings - we followed your instructions.

    Please let me know if you have questions, thanks!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

redirect uri problem

Hello! Sorry if I was not clear.
1) We suggest you to add .html in the end of URL. You don't have it in any of your example.
2) Please take a look at the screenshot and check FacebookPublishing_Settings service. Did you specify redirect_uri correctly
Image

Papa Wheelz
Posts: 0
Joined: Thu Jan 16, 2014 9:53 pm

redirect uri problem

Hello again, I forgot to type .html in my examples, but I have tried it with .html still no success.

Here is the URI's I've tried and screenshots.

Image

Image

Still getting this error:

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

redirect uri problem

Hi,

Please check this service on browser preview. There you would need to enter client code. Also your URL leads to an app page instead of a test page.

Papa Wheelz
Posts: 0
Joined: Thu Jan 16, 2014 9:53 pm

redirect uri problem

Hey Katya!

When you say check this service on browser preview, does that mean clicking the Test button to view the app?

..and on browser preview you say here you would need to enter client code, what is the client code? Where do I get the client code?

..when you say also your URL leads to an app page instead of a test page, what is a test page? One of your colleagues Maryna Brodina told me to use http:// appery.io /app/view/ 3bec7239-f4d7-4eaf-a3f8-95fa3a6050b2/ FacebookPublishing_AfterLogin.html

So what exactly is a test page URL?

I have many years experience in customer service industry, specifically technical support. I find the support at Appery to be very vague, and unprofessional.

All of your responses are 2 - 3 sentences, providing no detail or explanation.

I realize that there may be a language barrier - but we are paying for a service, and these issues are slowing down our development process.

Please provide details, and use lingo that is on your interface, that way we will all know what we are talking about.

Thank you for your time, I look forward to resolving the issue I'm having.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

redirect uri problem

1) Yes, to open browser preview click Test button.
2) Client code is returned to you from Facebook. You can see this in Facebook plug-in login page.
3) Your URL is correct.

Do not test this on service Test tab, try the app test please.

Return to “Issues”