h1k3's Forum Posts

  • No ondraayyy and CDogs1964, the last I knew it did not work on mobile exports. The reason being is this

    Most apps utilize a website, so when you setup your account, Facebook can make sure it only talks to requests for information from the websites you tell it are safe. With a mobile strictly app, there is no website outside of possibly http://localhost. Facebook does allow you to put localhost as a domain while testing your app, but when your ap goes live it will refuse requests from anyone but the developer from localhost. So you need to use one of the mobile settings in your developer.facebook.com app whcih requires some key. I've never made a mobile app so I'm not sure if the key is made by the app store or by you during the export process. I just know it requires some weird id in place of the website.

    Last I knew, the standard Facebook plugin does not work on the whole key system, only on the website system. You would need to look up a third party solution. A user by the name of cranberrygame has a phonegap version facebook login and someone else has a parse.com version which I believe is mobile friendly, but check first. Look through the third party plugins section on the forums for more information on these.

  • Is it a mobile app from like the apple store or google play...... If so, the standard Facebook login's will not work. A person by the name of cranberrygames has a version of Facebook login for mobile exports. If your app really is just a website then the above mentioned error means that the website you are accessing isn't listed in the app domain or the website url settings on the developer.facebook.com settings for your app. You would just need to add the website to your settings.

  • What you are looking for is the ads edge on Facebook and you can achieve it via any Facebook plugin and the standard ajax plugin. The following link will give you a list of url's you can send an ajax 'GET' request to. It will return the data you are looking for in the ajax.lastdata expression when the ajax completes successfully. You will need to parse the data to suite your needs, but that should do the trick for you.

    https://developers.facebook.com/docs/ma ... ights/v2.4

  • Did you create the app on developer.facebook.com with your facebook account or someone elses if it wasnt you then have the creater add you as an admin under the settings. You should be able to promote your app without the sdk.

  • Facebook lets you save 1 numerical number. Your looking more for a database which can be done server side with mysql and some server side programming or locally with the local storage plugin. The local storage 3 plugin however isnt really safe however because the user can delete it easily.

  • Just noticed this thread. You need to make sure your website url is set to the above url. Also in your developer settings, make sure the spot titled domain is set to the following . Most people forget to set the domain name spot which will result in that error.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Why yes alemar I'm using a combination of plugins to accomplish my goal. I use the canvas plugin to capture an entire layer and paste it to a sprite. Then I use paster plugin to save the data from the sprite and use it however I wish.

  • How can I tell if a layout has finished loading all of the plugins? I thought it may have been this.runtime.isloading but that always appears to be set to false. What value can I check for when verifying a layout has finished loading?

  • I get the same error as of this evening, but only one of my recent layouts. My other layouts will load fine in preview mode, and when I start my app normally I can access the layout just fine. It's only when I try to run the particular layout in preview mode.

  • nevermind I figured it out. Awesome plugin.

  • I cant seem to get the paste layer action to work. I turned webgl off which fixed an error that was popping up about invalid image. Now when I run the action it just seems to silently fail.

  • GideonG thanks but that didn't really help. I want to be able to save the entire canvas so I can later email it and print it out. Expanding the canvas might lose something during printing due to the pixels suddenly becoming so small. Thank you though it will probably help someone.

  • The manual says that canvas snapshot only captures the current display into an image string. Is there any way to capture the whole canvas as an image string? I wish to draw a canvas image and regardless of the viewport size, save the canvas as a whole to either a printable image file or pdf file. Or am I not reading it right regarding the canvas snapshot?

    Snapshot canvas

    Take a screenshot of the current display. This triggers On canvas snapshot when the snapshot is ready, and the resulting image can be accessed with the CanvasSnapshot system expression. This can then be loaded in to a sprite or tiled background, sent to a server, or opened with the Browser object in a new tab.

  • Any way of turning this Phonegap plugin into a Construct2 plugin?

    https://github.com/devgeeks/Canvas2ImagePlugin/

  • jugger87 No, that is just an example that shows up in the actual project. You will change that from c2, not the edit time file. The problem you are describing is usually one of two. First maybe the domain section of your developer app is not set. Both the domain and website sections of your developer.facebook.com app need to be filled in. Second, there is a little glitch that I haven't corrected yet with the project export. When you export your project, export it without the minify option.