I created app in developers.facebook.com . In products I add web hosting. Chosen type of app is Unity (WebGL).
Then I create .7z package build in Unity and upload on developers.facebook.com. I use Facebook platform, WebGL and App Id.
After that I go to Settings -> Basic, click Add Platform -> Facebook Web Games. I turn on Simple Application Hosting and click on 'save changes'.
But nothing saves and Facebook Web Games component was deleted.
After some experiments I see that nothing saves when I try turn on Simple Application Hosting. But if Simple Application Hosting is switched off everything on 'settings' is saved.
Why can't I use web hosting ? Maybe it's connected with current Facebook changes ?
Same issue for me....my game already deployed game is not working because of this issue :(
Related
I am building a simple Facebook app to connect the backend of a project to Facebook Messenger.
I am trying to send my app for review but it requires me to send a platform for the reviewer to test my app on.
the only place to interact with the app is the test Facebook page i created but i cannot add Facebook urls to the platform. What am I doing wrong here or what am I supposed to do?
I am building a simple Facebook app to connect the backend of a project to Facebook Messenger.
If you don’t have any end-user facing frontend, this would be considered a “server-to-server” app.
The documentation has specific instructions on how to submit those: https://developers.facebook.com/docs/apps/server-to-server-apps
Platform
Platform refers to the platform that your app users use to interact with your app. Since your app does not have an interface and your users don't interact with it directly, set this to Website and provide the URL to your company's website.
(Make sure to properly describe the purpose of your app and how it works, so that the reviewer does not try to go to that URL and look for a login button there.)
I have an ionic app where i can send invitations (share app link), I used firebase dynamic links. When I share it, the person who receive the message can open the link in a device (tested for android) and he is redirected to the play store ( app not found because i am still testing it), but if the link is opened on a pc, then browser opens with page not found.
I am new to all the stuff.
As the first point, the link that should be shared is your website domain name example.com/anypagename that couldn't be direct accessed.
Whwn user click this link from any place it will redirect him to this website page, And in this page for website you will add a function to detect device, and if device is android, it send a response of google play link and same for ios and if desktop will redirect to main website page.
http://mobiledetect.net
Use this library to achieve what i said above...
I had a lot of success for scenario similar to you by using Branch.io service. It is mostly free with advanced features being priced.
Do have a look at their offering. If not i can help out too.
I am developing an Unity game for Facebook Canvas. I am using the Facebook Webhosting product. Everything is setup on in the app settings both in game and on the developer's app page, but when I try to load the game by using the Facebook Web Games Page URL I get the following error: "The requested URL was not found on this server" (please see the attached picture).
[What could it be the problem? I followed every step in setting up the project, the page, the Webhosting product (https://developers.facebook.com/docs/games/services/contenthosting).
enter image description here
I had the same problem. I compressed files to .7z with a different software and it worked for me.
I am using the Facebook Sdk 5.0.3 Beta for a test proyect I'm working on Unity.
When I run my game in the editor, I can login, post to my feed, all without a problem. But I'm having trouble to deploy it to my server. I upload the output of the webplayer into my website, and when I go to play the game, nothing is happening when I click on the Facebook functionality...
Am I missing some steps here? Some key? I see in the website that there is an App Token... Maybe thats it?
Thanks for all the help
It sounds like you are trying to host the game on your own website. Facebook integration over the web will only work if your game is hosted by Facebook. This is related to this question: Cannot get the Unity web player to load the Facebook dll
I am new in unity3d and i am trying to create an app with social connect for unity3d desktop app.I read some tutorial like unity-and-facebook. My problem is how to get an access token of user.I follow same steps as i read getting-started on facebook. When facebook-unity package import to my new package and change app id from facebook setting.I am getting a default access token and dummy user logedin.
Sorry for my English.
I'm afraid we don't directly support desktop applications at the moment. If you are testing in the editor we put dummy data in to help with testing, but you must run your app on apps.facebook.com/, or run it on ios or android.
I'm studying this solution recently,
I Got a solution form this page
http://www.ifc0nfig.com/accessing-facebook-unity-game-2/
The addition condition is that you may have to setup a webpage to parse the authorize code.
Then your desktop app can get the code form the webpage you setup.