How do I SOLVE Facebook share score?

Get help using Construct 2

Post » Thu Nov 19, 2015 5:38 pm

the issues come from my events who are not right, i dont know what are the corrects events to put in place.
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Thu Nov 19, 2015 6:17 pm

Well your second screenshot is completely different from your first..
Events are missing that were there before, there is no consistency..

I've never used the facebook plugin, but luckily I can read the manual..



first you should check if the facebook object is ready

on ready set the icon to login active and visible

on icon pressed, request login

on logged in - you can add actions

but it seems as if at that moment username is not yet available, so there's the

on username available condition

The whole plugin is asynchronous, so things can only be done after requests have ben answered, that's why there's so many "on" conditions, some of the features are only available when these are triggered ..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Nov 19, 2015 11:53 pm

FINALLY now my app is almost working BUT i got this message

its asking me for an url
i have this on facebook :

Canvas Page

https://apps.facebook.com/184232115252007

and

Secure Canvas URL

https://mattepainting.be/test/index.html ?

Image
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Fri Nov 20, 2015 7:20 pm

I'm having same problem with sharing to Facebook on Android and I would love to get a solution, but it seems like there is nobody on the forums who actually know how to do it... Not even developers of C2.
B
12
S
2
G
1
Posts: 37
Reputation: 1,434

Post » Fri Nov 20, 2015 7:57 pm

Th Facebook plugin by Ashley will not work for mobile versions. Mobile versions require q special plugin which was last updated by cranberrygames.
www.h1k3.tech

We are here for you!
B
78
S
22
G
15
Posts: 709
Reputation: 16,010

Post » Fri Nov 20, 2015 8:04 pm

And anyone using th construct 2 plugin for a website who has this issue. It's likely due to a setting in your developer.facebook.com account. Look under setting where you set the urls for your app. Towards the top is a spot called domains. Put your domain in there. So for example http://lockegames.com/myapp the domain would be lockegames.com. Changing that will fix that issue for most website app builders.
www.h1k3.tech

We are here for you!
B
78
S
22
G
15
Posts: 709
Reputation: 16,010

Post » Mon Nov 23, 2015 4:48 pm

Hi

Still not solved.

My app use the OFFICIAL plugin of Construct2 for share the player SCORE to facebook, nothing more.
THIS is my actual events code
Image


and this is the result from people playing my game, im the ONLY ONE wo can share the score to facebook (my own profile), why poeple CAN'T SHARE their score...
Image
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Mon Nov 23, 2015 5:15 pm

when i compile the game IN html5 and host to my website
http://mattepainting.be/test/index.html

MY APP DON'T SHARE THE SCORE....
Image

BUT if i play the game from
https://apps.facebook.com/184232115252007/
ON FACEBOOK im the only one who can share the score, why???

WTF is this wierd mistery no one can / want answer????
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Mon Nov 23, 2015 8:51 pm

i need HELP to solve this problem !!!!!
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Mon Nov 23, 2015 11:42 pm

I'm also interested in seeing the solution.
B
28
S
9
G
3
Posts: 280
Reputation: 4,162

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: ilyaTyl and 10 guests