Sami424's Recent Forum Activity

  • You're saying that pop up was blocked. Are you testing within the Instant Gamers platform on Facebook?

    I am using the link that you get, when instant games hosts your game. So i have exported etc and everything. Altho another guy told me this can be a orientation error.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sami424 is your app in testing mode? there is a popup sandbox error and a device orientation not sure what that is about.

    probably the orientation is not set to landscape or portrait, on the orientation error, where if im not mistaken on Ig u have to lock the orientation as the iframe loads directly to landscape or portrait based on the settings in the developers.dahsboard.

    make sure ur app is live also, and not in sandbox, and allow popups? ehm, is a bit odd never had those issues you have there.

    only console errors i get are ads related xD, failing to load.

    Its on instant games, its hosted on instant games, so no not testing, ads work etc. i get a orientation error where it says it failed to Set orientation tho, i will look into this.

  • 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

  • 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?

  • 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.

Sami424's avatar

Sami424

Member since 9 Jul, 2018

Twitter
Sami424 has 5 followers

Trophy Case

  • 6-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies