Facebook post in Android and IOs

Discussion and feedback on Construct 2

Post » Tue Mar 28, 2017 2:45 pm

How can a simple functionality be so hard to implement?

Is there a way to put facebook post message to work inside Construct (android and IOs)??
There are many old posts about it, but it´s all like a mess when you try to understand how to implement it.

I´ve bought the Cramberry´s plugin, but there are no explanations, docs, and the author simply disappeared...feeling like I wasted my money.

I´m trying this plugin with XDK.
Any help? Any other plugin? Any other way to get it working: PhoneGap, Cocoon?

I need to put the game in the stores but I´m stuck in this problem :(

XDK:
1- Open the xdk project created by Consturct and receives a erro message about the plugin.
2- in the XDK I remove de plugin to open the project.
3- Plugin management, I add the crawberry plugin correctly.
4- Build: Start Build - ERROR

Build Log
Building a Cordova 6.2.0 application.
Using platform cordova-android 5.1.1.
The application name is "asdasd"
The package name is "asdasdasdasdas"
Preference android-signed set to true. Application will be signed.
Using Crosswalk Embedded 19
Error: Unable to build; intelxdk.config.additions.xml file includes plugin tags, which are no longer supported. Use the Intel XDK plugin manager to resolve this issue. See https://software.intel.com/en-us/xdk/do ... lugin-tags
Error: Could not retrieve plugin dependencies for File'.
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Thu Mar 30, 2017 3:10 am

Any sugestion/help in how to prompt wall post Facebook in Android and IOs with Construct 2?
Plugin?
Tutorial?
XDK, Cocoon or PhoneGap??

thanks
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Wed Jul 26, 2017 3:41 am

As you've no doubt discovered, the built in Scirra Facebook plugin does not work on mobile platforms (only PC games). You have to use a third-party-plugin for phone games. Cranberry has one that I haven't tried yet, as I've heard it's too hard to make it work, and the creator gives no support. The following one used to work well, and still does for creating a FB post, but it seems that FB recently made a change so you can no longer include any pre-populated text, such as "I got 150,000 points on level 7 of Crazy Driver. See if you can beat my score!" etc. Filling in the blanks for that kind of info in the events fields of this plugin no longer has any effect, when the post is created. Again this seems to be a change made by FB, so good luck getting them to change it back... It does however succeed in creating posts in Facebook with a link to & pic of your app. I've had the best luck so far with the "App Invites" & "Share Dialog", and of course follow the directions on registering your app with FB first so you get an APP_ID (and APP_NAME).

https://www.scirra.com/store/construct2 ... nnect-2650

Good luck,
strevor73
B
11
S
5
G
3
Posts: 8
Reputation: 2,382


Return to Construct 2 General

Who is online

Users browsing this forum: boybacteria, Google [Bot], MadSpy, TheRealDannyyy and 18 guests