Unlocking Game Content by liking a specific facebook page

For educators around the world who use Construct 2 in classrooms

Post » Sat Jun 18, 2016 12:02 pm

Hi, I managed to do what's in the title. This is a very nice idea to grow your community and getting likes on your game facebook page (if you have one). Would you be interested in a tutorial how to make this work? I rather ask before I put effort into a long tutorial and then none cares.

cheers
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Sun Jun 19, 2016 1:02 am

That sound's cool. I'm interested.
Follow my progress on Twitter
or in this thread Archer Devlog
B
41
S
18
G
19
Posts: 1,055
Reputation: 14,019

Post » Sun Jun 19, 2016 11:52 am

I'm sure that a lot of people would find this helpful.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
84
S
34
G
40
Posts: 3,032
Reputation: 30,499

Post » Mon Jun 20, 2016 8:48 pm

I think it can be an important feature to improve viralization, so yes, in my case I would be very interested.

If you don´t want to create a long tutorial, please consider sharing a capx.

Thank you!
B
10
S
2
Posts: 39
Reputation: 830

Post » Mon Jun 20, 2016 9:58 pm

By the way I think you probably will have more answers in the Construct 2 General section, or in the Game Development one,
B
10
S
2
Posts: 39
Reputation: 830

Post » Tue Jun 21, 2016 1:03 pm

It's actually not very hard to do and only requires 2 event-lines. You trigger an event which checks if you liked the page (login with fb first) and then returns a code which can be anything you wish. Then you use this code to unlock the content.

It has a disadvantage tho:
Just triggering the event, which checks if you liked the page or not won't unlock it. You need to use the returned code to make it work. (As long as they don't update the facebook object, this will never be possible)

I will write the tutorial this week when I have some more free time. Thanks for your interest.
B
12
S
3
Posts: 211
Reputation: 1,477

Post » Thu Sep 01, 2016 9:45 am

This will benefit many developers :O
When life gives you lemons throw them at someone
Banned User
B
10
S
3
G
3
Posts: 54
Reputation: 2,324

Post » Fri Sep 02, 2016 1:51 pm

Yes!
B
93
S
31
G
11
Posts: 654
Reputation: 11,832


Return to Education and Construct 2

Who is online

Users browsing this forum: No registered users and 0 guests