Sami424's Forum Posts

  • I get this error now in console [Instant Games] Initialized OK main.js:11 [Construct 3] Failed to lock orientation: DOMException (anonymous) main.js:11 main.js:7 The deviceorientation events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/master/features.md#sensor-features Attach main.js:7 main.js:7 The devicemotion events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/master/features.md#sensor-features Attach main.js:7 sdk.js?hash=dd1410e51276f53d444afd2118f2685f&ua=modern_es6:147 Blocked opening 'https://www.facebook.com/v3.0/dialog/oauth?app_id=311436689565115&channel_url=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2Fd_vbiawPdxB.js%3Fversion%3D44%23cb%3Df1779faf7aa504%26domain%3Dapps-311436689565115.apps.fbsbx.com%26origin%3Dhttps%253A%252F%252Fapps-311436689565115.apps.fbsbx.com%252Ff129c51dbe2b674%26relation%3Dopener&client_id=311436689565115&display=popup&domain=apps-311436689565115.apps.fbsbx.com&e2e=%7B%7D&fallback_redirect_uri=https%3A%2F%2Fapps-311436689565115.apps.fbsbx.com%2Finstant-bundle%2F2720392731334552%2F2121263361326080%2Findex.html&locale=en_US&origin=1&redirect_uri=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2Fd_vbiawPdxB.js%3Fversion%3D44%23cb%3Df31fe079bf579dc%26domain%3Dapps-311436689565115.apps.fbsbx.com%26origin%3Dhttps%253A%252F%252Fapps-311436689565115.apps.fbsbx.com%252Ff129c51dbe2b674%26relation%3Dopener%26frame%3Df1d52c3167ba3b4&response_type=token%2Csigned_request&scope=public_profile%2Cuser_posts&sdk=joey&version=v3.0' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set. popup sdk.js?hash=dd1410e51276f53d444afd2118f2685f&ua=modern_es6:147 c3runtime.js:409 [Construct 3] Suspending

  • You can have another event sheet for Inventory and then include it in main event sheet.

    Dictionaries

    , create dictionary then on start of layout ADD new Dictionary key,

    Dictionaries are Easy its :

    Keyname & keyvalue

    So for example on start of layout ADD key item1 to dictionary with value "magic sword".

    Try this dictionary Will save you time!

  • the user there just told the bellow was the solution to this issue... same as frankie.... so just drop/place the image u want to share in the layout from which the share action is called.

    > The sprite must be in the same layout.

    i keep saying frankie but is fredrik lol ...

    Yeah lol what u said worked! Fredrik solution was to have it on a hidden layer. But that still works , as long as you have the object in the same layout it seems.

  • don't use "if user logged in" as an event.

    just on button clicked-> IG Share

    and have the image on the layout.

    Or post your events, we cannot help you otherwise.

    Thanks fredriksthlm for your help, i resolved it and i dont really know how but in my other thread, the guy there told me to have the sprite on the same layout/layer from where the command executes, and now it works. I HAVE no idea why this is an issue but yeah thank you for your help , i removed the "if logged in" part

  • So construct.net/en/forum/construct-3/how-do-i-8/how-do-i-instant-games-142449

    this guy there shared a picture, and i have done exactly that, this seems like a problem at my end, and not C3 . Any tips on what can cause this type of issue?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have done so. After executing this command opens a facebook prompt for the user to share on the timeline of it. But "text" information does not appear. The input is always blank.

    -> InstantGames: Share with image shareImage, text "This game will break your mind! It is very fun.", data "breakingbraiin"

    Exactly like that is how i have done it! How come it doesnt work? console aint showing nothing... This must be something at my end... So frustrating been spending hours on this ... What could cause this issue that i am having? while everything else works in IG?

  • I have done so. After executing this command opens a facebook prompt for the user to share on the timeline of it. But "text" information does not appear. The input is always blank.

    Yeah i got another thread up , it got out of hand, but your answer is interesting, i get nothing at all when i click a button that executes the command, any thoughts on that? Altho everything else works with it, show ads show score ALL that. Its like this for all my games, they are out on facebook playable, everything works fine except the share.

  • Did it solve your issue or not? (By placing the image on the layout?)

    Please file a screenshot of your events. Otherwise hard to help you. It is working for everyone else but you I think.

    Sorry Fredrik i have not solved it, as i said, everything is working with IG, except for the share/invite/compete function. Now do you have any recommendations on how to proceed? The console shows nothing , that is very weird. I have tried multiple solutions like example "if button clicked while facebook logged in " then "share" "object1" that is on a hidden layer, altho nothing happens, no screen whatsoever comes up, however if i use the "show ad "function with IG, it does show the ad, if i use the "get player data/score" function, it does get the score. VERY weird.

    Note : Also , to bring up the FB plugin, it works flawless on C3 aswell except for when i use the share option xD , it seems i have no luck in this. EVERYTHING comes up except the share function.

  • I think the main problem with this post is that you didn't explain how it's not working for you. You asked how do I share posts to Facebook news feed, I have tried for days. So in what way is it not working for you? Some more detail around this would've helped other users work out what you could be doing wrong and I see now the thread has become requests for your C3 file anyway.

    Looks like Ashley's comments are implying that although possible to share to the news feed using IG according to SDK documentation, maybe it isn't possible in Construct 3 plugin and you can only share to the messenger part. OP you will have used this more than me, maybe you can explain what you tried and what is and is not being shared when you use the share part of the plugin.

    As in previous post, i have even tried a empty project with just IG , as i said, as of the title of this thread it has not recieved ANY whatsoever relative good responses , so don't even get me started on if i wrote this wrong or not. the title says " How do i prompt wall post instant games?" , do you see anyone even posting something other than facebook SDK's and IG and how they dont work together? Thought so.

    So , in conclusion, AGAIN, the problem my friends is that i have IG, all setup, everything is working, ads are working, BUT

    when i use the "on click button" if user logged in "share" , nothing happens, in the console, nothing happens, but if i for example extract my whole project and upload to facebook, the audience network works and the IG plugin calls the ads without any issues, the OOONLY thing not showing up, is the actual PROMPT screen that is "share,invite" etc...

    That is why i have asked for an example, how would you proceed if you want to share a score on the users board?

    I would accept messenger, just weird if c3 has the option if it aint working. but messenger would be great, but now window is popping up.

  • > How do i Prompt a wall post using instant games, your answer was:

    You've confused two different services. They both happen to be run by Facebook, but they are different.

    The Facebook plugin uses the Facebook API which can share wall posts to the user's Facebook account. However it's mostly defunct now in favour of the new Instant Games service.

    The Instant Games plugin uses the Instant Games API which can share to the current Messenger thread. It can't make wall posts, because it's designed to run in Messenger, an instant messaging app.

    Both are run by Facebook, but this doesn't change the fact you can't make wall posts from Instant Games.

    I'm afraid you have confused the capabilities of the two services. Getting upset won't help anything. Please refer to the Forum & Community guidelines; you will be held to these rules regardless of the issue at hand.

    Again Ashley ......... I am only talking about IG , the option where you go for example "on button click" > IG >share (or invite etc). Everything with IG is working except this, that is why i am so short tempered i am sorry. Do you have any tips or examples? Since every thing with IG is working , EXCEPT the share function, maybe some plugin is blocking it for me?

  • Guys, please keep it civil.

    Sami, I have looked at your reports and deemed no action is currently necessary, Fredriksthlm was only trying to help but there's obviously been some miscommunication here.

    Lol i dont want action i wanted to know if this was normal on c3 community. fredriksthlm helped me out tho by answering the question. Hiding in a layer is good, tho it doesn't pop anything, the console shows nothing, its like it does not even run the function.

    This is getting out of hand haha, my question is just how do i make the share option on IG work, all the other IG options work! And GeorgeZaharia what you say works, but i am still not getting a popup when it comes to the IG "share" , IG show add and everything else works, facebook login works. I am so confused, i am sorry if this thread got out of hand haha i am just so tired after trying all the solutions.

  • my question was:

    How do i Prompt a wall post using instant games, your answer was:

    it is not possible and you are not allowed to have any other permissions for IG than the defaults.

    and it is not possible or allowed in any way to use any standard facebook features in an IG. fredriksthlm

    Ashley your answer as a mod was

    You're confusing the Facebook API with Instant Games. They're different.

    I am very confused yes, since i am asking how to use instant games, 1 guy says it wont work, you say i confuse the facebook SDK with the IG, no , i am still asking about IG , doesn't have to have anything to do with user_posts i thought i had to do it since it was not working when i tryed to share using IG. Now i know IG does not require permissions, but this i figured out myself not by answers that create confusion.

    fredriksthlm you replied to me with

    you are not allowed to use any facebook features at all in IG. it is a different sdk.

    The Share function in IG works without any extra permissions. do not request other permissions than the defaults from facebook for an IG.

    Sounds you are a bit confused about the sdk.

    A tip: Take an hour to read the IG guidelines and the sdk before you continue with your game.

    And THAT was helpful, that was my question, first you said it will not work, but now i understand you. IG can share, and that is exactly my problem, i cannot get it to work, while show ads etc works.So i am asking people for an example or some help, not the difference between 2 sdk's

  • i have a similar thread here: construct.net/en/forum/construct-3/how-do-i-8/how-do-i-prompt-wall-post-inst-142381 but its not the same, since people there does not answer my question they are answering other stuff.

    I would like an example of how to share using instant games, if anyone got that please share it!

    Ashley I have a paid license for Construct 3 that i hope includes service, do not delete this post since as you can see , my last post is not going anywhere but instead is confusing everybody with answers that is not related to my question.

    This topic is mainly ABOUT IG and questions about IG , please if anyone has some experience , post !

  • you are not allowed to use any facebook features at all in IG. it is a different sdk.

    The Share function in IG works without any extra permissions. do not request other permissions than the defaults from facebook for an IG.

    Sounds you are a bit confused about the sdk.

    A tip: Take an hour to read the IG guidelines and the sdk before you continue with your game.

    wow.. are you trying to make me look bad or wtf? The post asks about INSTANT GAME SHARE , i call it facebook since instant games is facebook. Now i do not need a explanation about the different SDK's, my Question was AND STILL REMAINS TO BE related to how you use the share function in IG , i did another thread with the title specified but Ashley removed it. Yet again you are the one confused fredriksthlmsince the question has always been why instant games share is not working, that is ALL i am asking, and that is why i made a new thread since you guys get confused.

    So IGNORE FACEBOOK PLUGIN, IGNORE TITLE.

    I have read through both IG documentation and facebook's documentation, i have facebook games out. The only thing not working is the "share" function, wich has been this whole thread but you guys keep saying i am confused?

    FOCUS ON MY QUESTION: Instant games, i have done countless of examples but no share function is working for me, that is why i thought i had to fix the permissions? This is a construct 3 community right? To get help? all i am getting right now is "corrections" of what SDK's are and API bla bla YES i know but still, if you read trough the thread you will see that my question has NOTHING to do with your answers, i am asking why my instant games is not showing up the share functions, wich said will not work, so i am very confused. '

    Anyone else that uses instant games that can help me? That don't feel the urge to explain the different SDK's and that facebook and ig are different plugins , please just answer the question. If you don't want to help there is no need to reply.

  • Okay still tho Both instant games and Facebook plugin got The option to prompt or share, ddint answer my question Ashley you say i duplicate threads well i have to since The title here is confusing people. My question is and remains to be why is there a share option in the instant games plugin if you cant use it? And if you can, how Come it aint working?