Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

Share a screenshot with the Facebook SDK on WebGL

$
0
0
(This has been asked before but has never been answered properly) I am trying to create a webgl app that can share a screenshot to facebook. Using the facebook SDK there is an example script [here][1] that shows you how to share an image to facebook. The problem with this example is that it ***fails*** the facebook app review process because this method "auto-populates the user message field" and also "does not use the Facebook Feed Dialog or the Facebook Share Dialog to publish content". If I instead try to use the [feed share][2] functionality I can't get it to work as I cannot share a file created locally. (I tried this [solution][3] but it failed as I couldn't share a photo on their own feed. Also I'm still posting that image to the users feed first without any confirmation, so it would fail review anyway) The only way seems to be by hosted the screenshot on a website, but I'm not a web developer and don't really know how to create a screenshot and then host it somewhere else, so this is a less than ideal solution. It seems like a trivial problem, but yet I cannot seem to find a solution online. It also strikes me as weird that their example code fails their own review process. Can anyone help me? [1]: https://developers.facebook.com/docs/unity/reference/current/FB.API [2]: https://developers.facebook.com/docs/unity/reference/current/FB.FeedShare [3]: http://stackoverflow.com/questions/20228436/facebook-unity-api-post-screenshot-with-link-and-description

Viewing all articles
Browse latest Browse all 2390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>