[IOS/Android] Simple Share to email/Twitter/Facebook etc[V1.9.6]

SolDiez

  • Posts: 33
That's because of facebook not the extension. If you want to share a message you have to use the facebook extension/api

Northfield82

  • Posts: 649
Is that a downloadable Stencyl extension?  Is it easy to integrate?  I've not read or seen anything on it, only this extension.  Could you point me in the right direction please?

Thanks

Northfield82

  • Posts: 649
I've found the [unsupported] facbook extension, is this the one you are referring to?  Do you know if it works with 3.3 as most of what I have read says it does not work.  Also I have followed the docs for it and much of the instructions do not match up 100% so I don't really want to start tinkering if the extension doesn't work anyway....

thanks

Baylissimo

  • Posts: 25
If it isn't working on your Mac, make sure your computer isn't unzipping the file automatically. Happened to me :)

Northfield82

  • Posts: 649
I'm on PC.  Still having problems with this.

At the moment instead of running the 'If message succeeded' / 'If message failed' code it just restarts my game.  It very occasionally works, but that seems to be like 1 in 100 at the mo.

Northfield82

  • Posts: 649
I have taken out the If did / did not succeed blocks and left only the 'Share Message' and it still crashes and restarts once the message has been posted to Facebook.

It's like instead of returning to the previous screen, it just reboots...

Northfield82

  • Posts: 649
I thinking maybe the latest build of stencyl has made this incompatible?  Been at this for 4 hours now and there's only 3 blocks to play with...no wonder I'm feeling dizzy!!!

robinschaafsma

  • *
  • Posts: 714
I thinking maybe the latest build of stencyl has made this incompatible?  Been at this for 4 hours now and there's only 3 blocks to play with...no wonder I'm feeling dizzy!!!

I have tested with build 8395 on IOS and Android, and its working perfectly on my side. Maybe you can send logs of the error.

Northfield82

  • Posts: 649
I'll do this thanks, I'll be back home in half an hour

Northfield82

  • Posts: 649
Here are my logs,

funnily enough I just got home and tested it and it worked fine.... typical.... but I this is the 1 in 100 as I then closed the app down reloaded and the next time it failed. 

I've attached the Stencyl logs and also the DDMS logs - hopefully I exported the correct bit.

Northfield82

  • Posts: 649
So I think I've sussed it out... 

I remembered past problems I have had that were similar, with the app crashing randomly and they turned out to be when there was too many resources being loaded into memory.  And were fixed by creating another Atlas.

I thought maybe the scene that the sharing extension is switching back to from Facebook isn't being loaded in time to execute the rest of the Sharing Extension code after the message has been shared.  So I created new scenes that are used only when the extension is being used and put them in their own Atlas with only a background image for each.  This was so each scene used by the sharing extension would load almost instantly, and hopefully would lead to the scene being loaded up in time for the extension switching between the Facebook App and the Scene it came from

I've tested it half a dozen times and it appears to be working perfectly now.



aterzakis

  • Posts: 55
great extension, but i cannot take screenshot.
I must use the Image api? Can somebody help me?

HTML tutorial" style="width:114px;height:114px;border:0
HTML tutorial" style="width:104px;height:104px;border:0 HTML tutorial" style="width:104px;height:104px;border:0
Stop The Terrorist         Travel Bird                  Number

Baylissimo

  • Posts: 25
Thank you. This extension is amassing  :D

Silly spellcheck. Amazing!!!

GameDev408

  • Posts: 257
For me, taking a screenshot on Android and sharing it to FaceBook only shows the corner of the screen and not the entire screen. Does anyone know why this happens?

aterzakis

  • Posts: 55
I seem to not be able to find the download link, anyone know where it is? :)
login to the forum and see the first post

HTML tutorial" style="width:114px;height:114px;border:0
HTML tutorial" style="width:104px;height:104px;border:0 HTML tutorial" style="width:104px;height:104px;border:0
Stop The Terrorist         Travel Bird                  Number