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

robinschaafsma

  • *
  • Posts: 520
Simple Share via e-mail, Twitter, Facebook etc.
Works on iOS, Android

This is an extension for Stencyl 3.3, you can share a message with a website and with an image via all existing apps on a mobile device. This extension use the IMAGE API to share an image

The website or screenshot will share with Facebook and not the message. All other apps works fine..

It seems that a recent update to the Facebook application has replaced the in-built Facebook share activity with one that ignores status text .
Facebook's policies don't allow you to pre-populate status messages and require all content to be user generated.
https://developers.facebook.com/docs/apps/review/prefill

Features
- Simple share with 1 button click.
- Share Screenshot on IOS and Android
- Return true or false (android always return true)
- 64-bit support to iOS
- Tested with iPhone 5 IOS 9, Ipad IOS 9 and Samgsung Note 3 4.4.2




How to download this extension
Go to: http://byrobin.nl/store/product/simple-share-for-ios-android-stencylopenfl/
Add the extension to the cart en proceed with checkout. After you successfully placed the order, you will get an e-mail with the download link or go to “My Account” section where you can also find the download link.

Install the zip file: Go to : http://community.stencyl.com/index.php/topic,30432.0.html

Documentation and Blocks Example
Just put the block under a share button, fill in a message with a website url.
Website has to start with http:// Select yes or no if you wanna share a screenshot.
If you want to share an image use the with image block.

Share Message with website
Send a message with website url to other app like facebook/twitter/email


Inputs
  • Message(as Text)
  • Website(as Text) start with http://

Share Message with website and with image
Send a message with website url  and with an image to other app like facebook/twitter/email


Inputs
  • Message(as Text)
  • Website(as Text) start with http://
  • With an image

If you want to share an image, use the build-in Image API blocks like "current sceen as image" for screenshot or "image from Actor" for an image of an Actor.
You als can share an personal image of your choose, just use the "Image from file" block


If Share Message succeed or failed you can check if share succeed or failed.
On Android it will always return true even when share is failed.


----------------------------------------------

Version History
- 1.0 first release (2015-02-13)
- 1.1 update (2015-02-25) Share with screenshot on IOS
- 1.2 update (2015-03-02) Share with screenshot on Android
- 1.3 update (2015-03-07) Return true of false if share succeed of failed. (On Android always return true even if share failed).
- 1.4 update (2015-03-12) fix: share screenshot in landscape in IOS, IOS now also use the IMAGE API to take a screenshot.
- 1.5 update (2015-03-22) fix:  game crashed on iPad when share with screenshot, is fixed now.
- 1.6 update (2015-05-16) Android: Save screenshot to phone storage(thanks SolDiez)
- 1.7 update (2015-06-13) Update info.txt file.
- 1.8 update (2015-07-31) Add icon on blocks
- 1.9.0 update(2016-04-09) You can now share image by using the build-in IMAGE API blocks. Created an extra block.
-1.9.1 update (2016-09-29() Added extra permission for iOS 10, so app will not crash, extension requires byRobin Extension Manager

« Last Edit: September 29, 2016, 11:46:08 am by robinschaafsma »
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



Max Finch

  • *
  • Posts: 2180

HOLY CRAP I FREAKING LOVE YOU!!!


This is my favorite extension now!







Now if only you or someone can figure out how to send a screenshot along with the share message this would be gold :)

Max Finch

  • *
  • Posts: 2180

Okay after some playing around with this here are some suggestions that I would love to see :)


1) Take a screenshot of the game and post it along with the tweet/facebook post/pinterest post/etc...


2) The ability to select different sharing methods instead of adding them all in there. (I'd like to just use texting, Twitter, and FaceBook)


3) The ability to set different messages based on sharing method (If I use twitter I want it to say this.... BUT if I want to use FaceBook I say this... Instead.)


Other then that this is awesome! I've been waiting for this for quite a long time.
Here's what I have so far :)




Most of the message is random except the hashtag, @ mention, link, and the character used.

robinschaafsma

  • *
  • Posts: 520
Thank you Max for you suggestions..


1) Take a screenshot of the game and post it along with the tweet/facebook post/pinterest post/etc...
I thought about this, but instead of a screenshot, I think of the game icon or other image. i will look at this, but is not my first priority

2) The ability to select different sharing methods instead of adding them all in there. (I'd like to just use texting, Twitter, and FaceBook)
The reason I did this is because everyone use different share app. Instead of adding a sellected group of apps, i add them all.

3) The ability to set different messages based on sharing method (If I use twitter I want it to say this.... BUT if I want to use FaceBook I say this... Instead.)
Not thought about this, can you gif me an excample of a message you want to share to facebook and not to twitter and vice versa.

Enjoy the extension...
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



Max Finch

  • *
  • Posts: 2180

1) Take a screenshot of the game and post it along with the tweet/facebook post/pinterest post/etc...
I thought about this, but instead of a screenshot, I think of the game icon or other image. i will look at this, but is not my first priority

Or both? A screenshot of the game would work well for players with highscore games or similar. If I post a score to Facebook or Twitter but show no evidence of my score then did I really get a highscore?

However, some games that don't use high scores could benefit from an icon or other image.

2) The ability to select different sharing methods instead of adding them all in there. (I'd like to just use texting, Twitter, and FaceBook)
The reason I did this is because everyone use different share app. Instead of adding a sellected group of apps, i add them all.

I don't know if you understood me there. What I'm saying is I don't want to use AirDop, print, and so on. I just want to share a message on Twitter, Facebook, and by Text message. However, YOU might want to use Pinterest, Print, and Airdrop.

So what I'm saying is give users an option to choose what service to share too instead of sharing too all.

3) The ability to set different messages based on sharing method (If I use twitter I want it to say this.... BUT if I want to use FaceBook I say this... Instead.)
Not thought about this, can you gif me an excample of a message you want to share to facebook and not to twitter and vice versa.

Yeah :) here's an example of what I'm thinking.

Twitter: Booyah! I just scored 29 points in #MrTart! Think you can beat me? @MrTartGame ~ With Blueberry Tart

(In the twitter message I tag @MrTartGame. This is a Twitter account for the game. It won't work on FaceBook or Text Message.)

Facebook: Booyah! I just scored 29 points in Mr Tart! Think you can beat me? ~ With Blueberry Tart

(I removed the # and the @mention. Which makes it a more clean Facebook post)

Text Message: Booyah! I just scored 29 points in Mr Tart! Think you can beat me?

(For the text message I removed the ~With Blueberry Tart because I feel it's a more clean and personal text.)


=========================

I hope I'm making sense now, I really enjoy this extension and am glad you brought it here. I've been waiting for something like this for a while. These suggestions are just something that I and I'm sure a lot of other people who use this would like to see. If you need clarification on anything I mentioned let me know :)

robinschaafsma

  • *
  • Posts: 520
Thank you Max..

I Will look in to it...... I working at another project as well. So for now enjoy this extension.

Keep following this extension for updates..
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



Max Finch

  • *
  • Posts: 2180
Sweet thanks for this extension man :)


If you had a PayPal donation button I'd give you some money ;)

Stevetheipad

  • Posts: 1304
thanks for making this!

Speaking of donations, we should have a way of crowdfunding extensions to motivate people. ;P

robinschaafsma

  • *
  • Posts: 520
Thanks!!....

I have added a donation button :D....
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



Neotron

  • *
  • Posts: 466
Thank you for making this. :) It is a very important extension for Stencyl. I hope many developer will use it in the future.

bonzero

  • *
  • Posts: 459
awesome! I still have to try it but judging by the screenshots...great! simple and efficient

ErLuiSS

  • Posts: 127
can input only text? in a new version :D

Sir Skib

  • Posts: 1
Hey guys, I'm facing a problem. Stencyl can't seem to compile this for some reason. Says build is done but the save part doesn't appear.  But when I remove the extension, It's back to normal. Can you tell me what's wrong guys?

Max Finch

  • *
  • Posts: 2180
It only works with the beta 3.3 version of Stencyl due to some internal code stuff.

Wait for 3.3 and it'll work :)

Max Finch

  • *
  • Posts: 2180
Is there any chance we will be able to choose the specific sharing services instead of having them all in there?

Sharing via Pintrest or other similar applications doesn't work, so I'd like to be able to share just via text, tweet, and Facebook post.