Who is interested to integrate app in facebook

Get help using Construct 2

Post » Wed Mar 18, 2015 10:50 am

I almost finish my app for facebook... why this post? well, I was trying different plugin of facebook (some works, some doesn't works...)

So, I made my script to get perfect works my app with facebook with AJAX plugin... and sometime I see some people need help to integrate their app with facebook...

When I publiush the app, I can start to make a manual with a project to learn how to integrate your game with the last PHP SDK of facebook.

how works? when you have the files in php, you need to change just the ID and secret code of your app, after that, the script will work perfect just with a standard plugin AJAX of C2, so, you don't need a new plugin, and that system will works for different device...

for now, I achieved this:

LOGIN:

1 - get the first pop up with a specific permission (aboutme, user friends, score....) etc, when you agree, at the second login, you don't need to login again (as the plugin) but the game already load everything without any extra login.

GET:

1 - your user info (name, ID, token...etc).
2 - your score of that app.
3 - array of the user use the same app (array for c2 ready to use)
4 - hi-score of the app (you, and your friends, again, the php generate a correct c2array with: score, id, username, url of avatar), so, very easy to load into the game.
5 - your unlocked achievement (get in correct array for c2, ready to load).

POST:

1- post your score (if the new score of the game is > of the old score, this is checked by a new request in php file).
2 - unlock a new achievement.
3 - post in the timeline of the user.

for now, this is what I made, and everything works fine, in the near future, I will made:

1- get a friendlist who doesn't use the app ( get url of avatar, name, and the token to send some request)
2 - send request to a friend, or multiple friends.
3 - send request like "life,coin...etc" and when the user who has the request accept it, when the game is loaded, add the amount/string in the game.

who is interested to this? :D
B
21
S
9
Posts: 298
Reputation: 2,967

Post » Tue Mar 24, 2015 7:12 am

Im in terested in "get a friendlist who doesn't use the app" Will you make that possible? Thanks
B
58
S
13
G
5
Posts: 101
Reputation: 7,547

Post » Fri Mar 27, 2015 9:49 am

nothaseo wrote:Im in terested in "get a friendlist who doesn't use the app" Will you make that possible? Thanks


yes, is possible to generate an avatar and the token for the invite, I already integrate this :)
B
21
S
9
Posts: 298
Reputation: 2,967

Post » Mon Mar 30, 2015 7:59 am

Ribis wrote:
nothaseo wrote:Im in terested in "get a friendlist who doesn't use the app" Will you make that possible? Thanks


yes, is possible to generate an avatar and the token for the invite, I already integrate this :)


Then do you care to share it please? ^^
B
58
S
13
G
5
Posts: 101
Reputation: 7,547

Post » Sat May 02, 2015 8:10 am

Please share if you can ... I really need it. My mail is : "qngnht @ gmail . com"
B
13
S
1
Posts: 97
Reputation: 883


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, busydude and 21 guests