Facebook Open Graph seems buggy via app share dialog - php

When I share a link on Facebook, if i'm sharing from web, everything is perfect, title, description and images are alright.
But when I try to share a link from an app (iOS) there is no thumbnail.
Example link:
http://www.bilemezsin.com/whatsapp-in-pip-ozelligi-tum-kullanicilara-acilir--28426?refli=8053
Open Graph Debugger Result:
Web Share Result on Facebook
App Share Result on Facebook
I tried with other apps, too, via their Facebook share buttons on my iOS 10, iPhone 7.
I can't see what I'm missing, is it a Facebook bug?
I have tried to change SEF links to actual links but nothing changed.
I have tried clearing cache from Open Graph debugger, again, nothing.
I have tried many other apps, but they all seem failing when sharing
is initialized from mobile app. Sharing the same URL from the solves
the missing image problem.
Can you try to share any content from any app to Facebook and tell me the result? It'll be appreciated.
Note: everything was working fine till today.
Thank you.

Yes, it's a Facebook bug. It seems it just started.
https://developers.facebook.com/bugs/1948522638736698/

Related

How to force Facebook to rescrape link preview on each share

I found a website today (www.mytwin.fun)
Whenever i comment this url anywhere on Facebook, it shows random image as preview. How do they do it?
I tried using Facebook graph api and Curl but it doesn't work without opening the site on a web browser.
Can anyone guide me to find a solution for this?

Facebook custom share button

Im looking for a simple Facebook share button that will open a new browser window and share the current page URL.
This was simple with Twitter using:
Im looking for something very similar for Facebook however it seems like with Facebook it is made purposely more difficult than it could be.
I have tried at least 10 different ways and always get the same error:
Can't load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and sub-domains of your app to the App Domains field in your app settings.
I am already including the Facebook web API below the first body tag.... I have also gone into Facebook developer settings and correctly setup eve tying by entering the root domain I intend to share
Thankyou for any help
You could use the old simple sharer
Share on Facebook

How to force user to open my website in safari when they access my wordpress site

My website has Facebook log in function, which does not work if user views my site on facebook app, messenger app, iOS chrome app, Gmail app of iPhone.
Therefore, I need to force user to open site on Safari in such case.
Is there any way to do that? My site is built by wordpress.
Thanks!
UPDATE 1: I am thinking about a javascript to detect if users is on iOS, then pop up a javascript to ask if user wants to view on safari. Is it possible?
If you are in an Apple app like Mail, Messages, Notes etc. It will open with Safari, but if you are in another app eg. Facebook, Twitter, anything developed by a developer, you can't choose how you want to handle URLs in their app, that is up to the developer, and as a developer and Apple guidelines, it is best to open URLs in app so that the user don't leave your app. They use Safari anyway as UIWebView is a component of Safari, and we use UIWebView to browse inside our apps. (This can be manipulated, but still doesn't change the answer as to where you can't control how to handle links inside apps.)
It's not possible to open a specific browser (Safari in your case) from a website.
If you're working on an app, you might want to have a look at SFSafariViewController.
Have a brief idea about different kind of webviews in iOS here

Open Graph Object Debugger returns 404 on my wordpress

I am the admin for a wordpress site and I am really stuck.
When people share a post via Facebook, it Facebook is not rendering a preview for the post. I therefore debugged the link to be shared via go debugger and it returns a 404 error.
This link is the link to be shared:
http://www.fridafridafrida.com/coverwow-i-d-magazine-fall-2014/
As you can see, it perfectly loads in the browser. But why is Facebook not able to access it?
Any ideas?
Thanks!
Prolem solved.
I found out that the page itself worked absolutely fine. The problem was resolving the IP via DNS. Facebooks uses ipv6 resolution and the address in my DNS was pointing to the wrong place.
Thanks,
rainer

Using https with localhost wamp

I am trying to run facebook App from my localhost .I made the canvas URL and secure Canvas URL to http://localhost/myapp and https://localhost/myapp .but the link http://localhost/myapp doesn't even work at my localhost.I enable mode_ssl and php_openssl extentions as well.I read different tutorials on internet but all invain. Anyone who already tested facebook apps on localhost.
Thanks
If you want to do it properly, try following this tutorial:
http://www.phpjoel.com/2011/04/07/installing-ssl-using-openssl-on-a-wamp-localhost/
The issue isn't anything to do with Facebook, so just concentrate on getting it without facebook first.
I haven't bothered making a self signed certificate to test facebook apps, what I have done though is make sure secure browsing is turned off on facebook. Then you should be able to hit the http://localhost/myapp and it won't redirect you.

Categories