For sharing content we use the facebook share dialog. This used to work fine until several weeks ago. We did not change anything on our side. I get two errors from the facebook debug tool. One about an og property not set (but it is) and a curl SSL error.
An example of a link we share is:
https://www.globalpetalert.com/web/en/pets/missing/8906/
All necessary open graph parameters have been set.
The errors from the debug tool:
Object at URL 'https://www.globalpetalert.com/web/en/pets/missing/8906/' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.
Curl Error : SSL_CONNECT_ERROR error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
The og:title is provided.
The SSL_CONNECT_ERROR I do not understand.
Any help is appreciated.
Related
I'm getting the error:
{"error":{"message":"Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request","type":"OAuthException","code":100,"fbtrace_id":"C0VqQrGq4iM"}
I manually built the login flow with the resulting dialog url:
https://www.facebook.com/dialog/oauth?client_id=970056533030026&auth_type=rerequest&scope=email&display=popup&redirect_uri=https://www.opentable.ie/my/oauth/facebook
On our FB app settings we have:
App Domains has opentable.ie
On Advanced Settings - Valid OAuth redirect URIs we have https://www.opentable.ie/my/oauth/facebook
When I went back to see my logs I saw that redirectUri lost https and is using plain http, that's the only pointer I have.
Any ideas on why we get this error? Thanks guys
Help! This doesn't make sense. At https://developers.facebook.com/tools/debug/og/object/, I fetch for http://mycommunity.org, and Facebook gives me these errors:
Object at URL 'http://mycommunity.org/' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.
Curl Error : RECV_ERROR Recv failure: Connection reset by peer
I've verified my server returns a 200. I've verified the og tags are correct. I'm not sure why Facebook would get "Connection reset by peer".
When I click "See exactly what our scraper sees for your URL", I get nothing:
https://developers.facebook.com/tools/debug/og/echo?q=http%3A%2F%2Fmycommunity.org%2F
What gives? Thank you!
Please consider the following two websites that I am pinging as shown in the image below:
I have a google plus login icon where a user can click on it and can sign in using his/her google account.
My website where all the login code is residing is say for example xyztesting.com as shown in the image. And all the code related to xyztesting.com resides on the box 10.11.10.12 which has a domain name abctesting.com.
So, when i ping abctesting.com, I get Packets Sent and Received = 4 as shown in the image.
However, when I ping xyztesting.com , I get Request timed out as shown in the image below.
Does anyone knows whether this could be the reason behind why I am getting Redirect URI Mismatch error 400 error whenever a user tries to log in using google plus ?
I have ensured that the REDIRECt URI in the request matches the Registered Redirect URIs which is the most common message displayed when some one encounters this error and this is the most common fix suggested online everywhere.
I have referred to lot of previous related posts, including this one where they talks about making sure that the request URI's should match the registered URI on google developer console.
I have got a feeling that since there is not a dedicated box/server for my website xyztesting.com, google is thowing such error. Please let me know if anyone has experienced such type of error with the situation I have described above?
Sometimes, the redirect uri should be set to "postmessage" not the actual uri.
The documentation is not so clear on that setting.
-Dragonfire
... but it is!
I am calling the facebook API with the following link in order to receive my access token:
https://www.facebook.com/dialog/oauth?client_id=myclientid&redirect_uri=http%3A%2F%2Fmydomain.org%3A8080%2FServer%2FFacebookAuthenticationVerificationServlet&scope=manage_notifications,offline_access,read_mailbox,read_stream,publish_stream
What am I doing wrong?
Facebook answers with the following error:
message: redirect_uri isn't an absolute URI. Check RFC 3986.
type: OAuthException
code: 191
It shouldn't have anything to do with it, but I am using java's URLEncode.encode() to encode the URL into UTF-8. I compared the result with that one from JavaScript's encodeURIComponent() and didn't find any difference.
EDIT: Do I have to set the domain into my configuration? I can't locate it on "App Domains" (because facebook doesn't allow me to add domains there with port configuration) but I set the domain as "URL of my website".
EDIT2: The unencoded redirect uri: http://mydomain.org:8080/Server/FacebookAuthenticationVerificationServlet
EDIT3: This has nothing to do with the :8080. I tested it with a php-script (URL was like bla.domain.org/myphp.php) and sent the code by the php script to the tomcat server, but the error persisted.
Okay, it turned out I misunderstood the OAuth protocol. I was fetching the authorizationCode that THEN leeds me to the accessToken.
But I wasn't able to fix that error in specific. I just redeveloped the procedure and implemented auth-code and access-token separation and it works fine now.
Maybe unauthorizating the app and reauthorizating it # facebook did fix it?
Error code 191 for Facebook is
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
Make sure mydomain.org is in the App Domains field, and that the Website with Facebook login field is correct.
You shouldn't encode redirect_uri. http%3A%2F%2Fmydomain.org is not understood as http://mydomain.org
Since yesterday I cannot post on Facebook I have only an URL without thumbnail, nor metas.
I think that is a problem with like button but any idea how to fix.
Strange because my old articles working normally! only I have problems when I write a new post.
Here is the Facebook debugger info:
Response Code: 503
Fetched URL: http://www.whitewolfpack.com/2012/02/bonnie-marris-wildlife-artist-of_4001.html
Canonical URL: http://www.whitewolfpack.com/2012/02/bonnie-marris-wildlife-artist-of_4001.html
Critical Errors That Must Be Fixed
Error Scraping Page: Bad Response Code
Errors That Must Be Fixed
Missing Required Property: The og:url property is required, but not present.
Missing Required Property: The og:type property is required, but not present.
Missing Required Property: The og:title property is required, but not present.
Open Graph Warnings That Should Be Fixed
Inferred Property: The og:url property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property: The og:title property should be explicitly provided, even if a value can be inferred from other tags.
URLs
Graph API: http://graph.facebook.com/10150624491404835
Scraped URL: See exactly what our scraper sees for your URL
http://www.whitewolfpack.com/2012/02/bonnie-marris-wildlife-artist-of_4001.html
www.whitewolfpack.com
Critical Errors That Must Be Fixed
Error Scraping Page: Bad Response Code
HTTP Response Code: 503
For more information about response codes, see: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
503 Service Unavailable
The server is currently unavailable (because it is overloaded or down for maintenance).[2] Generally, this is a temporary state.
Your might be in a load balanced environment where a bad server is still in rotation.