Can I use the facebook feed dialog to send raw image data?

I create png using the canvas html5 element, so I have raw data in the form of data: image url ... Is it possible to use this data to publish an image on a facebook wall?

I assume the answer is no, as I get the following error:

API Error description: the specified URL does not belong to the Application

It loads the image, apparently since I'm in a slow connection to the coffee shop and can watch the percentage of loading slowly end.

I use the feed dialog because I would prefer not to have a separate application that would require ...

+4
source share
1 answer

When you create an application on the facebook developers portal, you will be asked to provide the URL of your application, which means that when you take data, such as images, json or something else, this domain name is allowed if you enter www. me.com as the domain of your application, and then create a URL to represent the feed, you should use the same URL, not www.someoneelse.org, because sdk uses the application profile as a link. security checks and more.

+1
source

Source: https://habr.com/ru/post/1395963/


All Articles