angellondon's Recent Forum Activity

  • Thanks, I look forward to it!

  • I'm finding it hard to troubleshoot this issue. Any thoughts?

    I'm testing out the AJAX functionality to implement into a Social sharing feature. I want to retrieve an image from the server (this cannot be just a project file, as the image to retrieve will change so will need to be able to change the URL via a variable.) and for testing purposes, load it into a sprite here. I'll later expand on this to pass the AJAX response to a share plugin in order to post an image to a user's feed/wall/etc.

    In the capx below, the first text version works fine, but the second image version isn't working.

    It appears that the AJAX request has run successfully (as notified by the "SUCCESS!" text), however the image is not being loaded into the sprite using "AJAX.LastData".

    Below is the event sheet.

    Here is a live demo: http://dev.angelserver.in/construct2_test/AJAX_TEST/

    Capx is here: http://dev.angelserver.in/construct2_te ... _test.capx

  • Ah! Just thought of one additional platform - upload image to Pinterest?

  • Rather than more platforms, for me some additional features would be great?

    The ability to upload an image to Facebook, Twitter and Whatsapp, for example.

    Or the ability to dynamically set which image to upload to any platform (is this already technically possible? I have only just bought the plugin so haven't tested it yet. Something like ' "http://image.url/" + IMGVAR' ?)

    This is all running very smoothly so far though, so thank you.

  • Great!

  • I second Google Plus that would be great!

    It would also be great to be able to post an image to the user's feed/wall/story/whatever.

    How is it going so far?

  • Ah, brilliant! Thank you so much

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, thanks , my mistake. I had grabbed 'Facebook Complete' off the Facebook group this morning and didn't realise it was outdated. I've now grabbed Facebook 2.0 Free version to test.

    I set up a new capx just to test out the functionality, however I'm receiving the following error on trying to export the project:

    [quote:249bawxq]Javascript error!

    ReferenceError: assignment to undeclared variable inst_visible

    http://localhost:50000/Facebook3_plugin.js, line 73 (col 20)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console

    So, I'm reporting it to you!

    Hope it isn't just something silly in the way I've set it up. Event sheet below just in case:

  • Sorry for a potentially silly question. I'm having a bit of trouble posting to the user's Facebook wall... I don't think I have set it up properly, as on clicking the share button I get the following error regarding the userID:

    [quote:l9gu4f92]This dialog has been passed a bad parameter.

    API Error Code: 100

    API Error Description: Invalid parameter

    Error Message: null does not resolve to a valid user ID

    Here is the set up at the moment:

    (Placeholder URL and image, just for a test post.)

    As the To/From field said "If unspecified, it defaults to the current user", I thought that leaving it null would be okay but it seems not. Should the To/From field include some sort of userID request? I tried to include something like Facebook.UserID, however C2 rejected it on the grounds that this field needed a string, not an integer.

    Please can you advise me on this?

    Awful test version here (non-styled; functionality pass only. Eventually hopefully we will be able to upload the mugshot image the user has created): http://www.angelserver.in/html5/mugshot_generator

  • Have you tried any other methods? I don't especially have anything to suggest, but I am also interested to hear if anyone has some alternative suggestions. Posting mostly just to follow the thread

    In this thread there are lots of posts about people's experience with Phonegap on older OSs, though. Might help

  • Can you show us where you got to so far? Do you have a capx you can show us?

    It sounds like it might be a hierarchy of input problem, but I am not sure without seeing it.

  • Update to add some extra information:

    What currently happens upon clicking save is a new tab is opened, and a "Not Found. The requested document was not found on this server." error occurs.

    This would lead me to believe that something is going wrong at the saving stage, but I can't quite figure out what.

    Where is the .png being saved? This is something that wasn't clear to me when I followed the original example.

angellondon's avatar

angellondon

Member since 3 Jun, 2014

None one is following angellondon yet!

Connect with angellondon

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies