Facebook Sharing Debugger does not scrape my picture - facebook

When i use a picture (regular PNG image) from my server on the Sharing debugger tool, i can see the picture and it works well.
this is the link:
https://developers.facebook.com/tools/debug/sharing/?q=http%3A%2F%2Fwww.11sheep.com%2Ftemp%2Fpic.png
But when i put the same picture (i use the same PNG file) on my AWS (rather new server) server, i get error and can not see the picture (response code 404).
This is the link: https://developers.facebook.com/tools/debug/sharing/?q=http%3A%2F%2Fsheep-service.info%2FTheOfficeQuest%2FPics%2Fpic.png
Any ideas why this is happening? should i make some kind of server configuration or enter my url to the facebook app somehow?

Related

FB Debuger: Image Unavailable Error while downloading https://myimage.jpg with HTTP response code: 404

I am trying to post link from my blog site to my facebook page. When I copy link and paste into facebook there is no image from that link only post content is here. When open debuger and paste that url then I get error like from title:
Image Unavailable Error while downloading https://myimage.jpg with HTTP response code: 404
Also want to mention that I already try using correct Thumbnail proportion for facebook image.
I uploaded the image to a different folder on my server and that fixed the problem. Facebook somehow could not fetch the image from the previous folder. I dont know why. So try this, maybe it will work for you.

Why is my image not recognized by the facebook OpenGraph API (og:image)?

I am developing a website ( https://last-mail.org ) and am trying to hook it up to Facebook's Open Graph API to have nice information and an image show when people share it on Facebook.
However, Facebook keeps complaining that something is wrong with my image:
https://developers.facebook.com/tools/debug/og/object?q=last-mail.org
telling me that Provided og:image could not be downloaded or is not big enough. Please use an image that's at least 200x200px and is accessible from Facebook. Image 'https://last-mail.org/images/forgetmenotlogo5.png' will be used instead.
I know:
The image is 1200px x 900px
I've tried both .jpg and .png formats
I've tried hosting it on the https:// (private_html) part of the site, as well as on the http:// (public_html) part of the site
It does show up in the previews on the OpenGraph debugger tool page.
Browsers have no problem with displaying the image.
Why is this image rejected? How can I fix this?

Unity facebook SDK, can not post picture with FB.Feed

In my Unity IOS game, I am unsuccessfully trying to use FB.Feed to share a screenshot on the user's wall.
Facebook documentation uses FB.Api to publish the screenshot, but this method does not display a share dialog, it simply uploads the pic to Facebook.
Answers I have found so far:
Upload the picture using FB.Api, and then parse the FBResult for the picture URL, and feed that to FB.Feed Link to answer.
This method triggers an error, since it is not possible to use a Facebook URL as source for a picture.
Save the picture locally and prepend "File://" to the picture path. Link to question. This does not seem to work either, and the Facebook documentation does not seem to have any information on URL formatting.
My question:
Is this the correct (and only) way to display a share dialog when publishing a picture? Or am I looking in the wrong direction?
FB.Feed only allows you to post link to images. It doesn't upload the images to Facebook. Therefore, these images need to hosted somewhere on the net and not locally.
The best way to make it work is either upload the images to FB (with privacy property set to EVERYONE) using FB.API, and then share the link to that picture via FB.Feed. If you don't want to create duplicate stories, i.e. one from posting the picture and another from FB.Feed, make sure that you set no_story to true.

Clearing cache of feed dialog in facebook app

I have a facebook app that uses the feed dialog:
FB.ui({
method: 'feed',
message: '',
link: 'http://mywebaddress/pathToContent',
picture: 'http://mywebaddress/pathToPhoto/photo.jpg',
display: 'popup'
});
When I used the app to share content, I forgot to upload the image so the share dialog appeared with the image broken. Now I uploaded the image but it no way I can get it to show up.
1) Tried to use the debugger and it shows in the og:image correct but of course the feed dialog is different from the og tags so it is of no use in this case.
2) It works well from other accounts. Only mine is broken because I tried to share without uploading the image.
3) Tried in different browsers and tried to clear cookies,cache,etc...
4) It works if I rename the file
Do you know a way to force clear the facebook cache or it should go by time or what?
Thanks
I've been dealing with a similar issue with Facebook cache. You can try using
curl -v https://developers.facebook.com/tools/lint/?url=YOUR_URL_HERE&format=json
In console window. That didn't work in my case but I was trying it on a web page not an app so you might have better luck. Hope it helps.

How to post an image link to Facebook feed using graph API

I'm trying to post a picture to a feed using the graph API but this does not work if my image url does not have an image filename extension such as .png
(I have a URL to a png without the .png file extension as the image is created dynamically on the server)
This does seem to work when I manually post the link on my Facebook wall. Facebook wraps the URL like this:
http://external.ak.fbcdn.net/safe_image.php?d=AQAsdfyQsdfXvV5h59OP&w=90&h=90&url="my image url"
Does anyone know how I can post the URL of an image to the picture field of a feed post?
Facebook downloads and caches any image posted on the wall. It is then distributed on their CDN (content delivery network).
The reason is simple: load times. If someone posts an image from a slow server on FB, this could make experience of Facebook slow. So they copy all that.
So
maybe Facebook still has an old copy. Try with a fresh URL.
can facebook access the URL, or only your user?