Jump to content


Photo

Social:GM - Use Facebook in your games


  • Please log in to reply
48 replies to this topic

#1 xxskxx

xxskxx

    GMC Member

  • New Member
  • 47 posts

Posted 03 October 2011 - 01:51 AM

Posted Image
social:gm - version 0.2 alpha


Try an example app

Features
  • get access to user's data
  • get access to user's friends
  • post to user's wall (dialog + stream publish!)
  • simple FQL querys
Planned:
  • pay dialog (if you want to make money)

Download
Including:
  • How tos (Create an app on Facebook, social:gm tutorial)
  • List of all functions
  • Extensions itselfs
  • Example project with comments :) (version 0.1)
Sorry for all spelling mistakes ! (English is not my mother tongue) :( ... report them please.

Wishes, Bugs... etc? Please give me feedback :)

Cheers!

Edited by xxskxx, 14 October 2011 - 10:05 PM.

  • 11

#2 True Valhalla

True Valhalla

    ಠ_ಠ

  • GMC Member
  • 5277 posts
  • Version:Unknown

Posted 03 October 2011 - 03:31 AM

Ooh, this could be very popular indeed :)
  • 0

#3 ugriffin

ugriffin

    Idiot

  • Global Moderators
  • 1583 posts
  • Version:Mac

Posted 03 October 2011 - 07:09 AM

Sounds cool!
  • 0

#4 goresoft

goresoft

    GMC Member

  • GMC Member
  • 132 posts
  • Version:GM:Studio

Posted 05 October 2011 - 01:48 PM

Good extension! But

is possibile with your extension retrieving informations about user's image profile?

Edited by goresoft, 05 October 2011 - 01:49 PM.

  • 0

#5 pedrosorio

pedrosorio

    GMC Member

  • GMC Member
  • 971 posts

Posted 05 October 2011 - 02:43 PM

Good extension! But

is possibile with your extension retrieving informations about user's image profile?


sgm_getProfilePicture(userid)
  • 0

#6 nujuat

nujuat

    Alex Tritt Games

  • GMC Member
  • 267 posts
  • Version:GM:Studio

Posted 06 October 2011 - 06:25 AM


Good extension! But

is possibile with your extension retrieving informations about user's image profile?


sgm_getProfilePicture(userid)

You really shouldn't have told me how to do that! I can't actually post my first GM game on the internet (even though it works in HTML5) because of stuff like this!

I'm going to be up ALL NIGHT!
  • 0

#7 Schalk

Schalk

    GMC Member

  • GMC Member
  • 487 posts
  • Version:GM:HTML5

Posted 06 October 2011 - 07:31 AM

This is neat. Thanks for sharing.
  • 0

#8 PrinceOfSorrow

PrinceOfSorrow

    GMC Member

  • GMC Member
  • 164 posts

Posted 06 October 2011 - 12:43 PM

Thank you so much for this extension :)
  • 0

#9 Glutex Master

Glutex Master

    The Game Guy

  • GMC Member
  • 204 posts
  • Version:GM8

Posted 08 October 2011 - 03:20 PM

NOOOO! Its incompatible with 39js for some reason... It normallly works, but when the 39js extension is added, the game doesn't load! :( :(
  • 0

#10 cotycrg

cotycrg

    GMC Member

  • GMC Member
  • 873 posts
  • Version:GM:Studio

Posted 09 October 2011 - 04:20 AM

It would be interesting if you could somehow implement a way to directly connect to a "friend's" computer. (somehow obtain an online friend's IP, to netplay with?)

Not sure if that's possible. Honestly, I'm one of those cave dwellers who hasn't messed very much with Facebook.
  • 0

#11 nujuat

nujuat

    Alex Tritt Games

  • GMC Member
  • 267 posts
  • Version:GM:Studio

Posted 09 October 2011 - 09:50 AM

It would be interesting if you could somehow implement a way to directly connect to a "friend's" computer. (somehow obtain an online friend's IP, to netplay with?)

Not sure if that's possible. Honestly, I'm one of those cave dwellers who hasn't messed very much with Facebook.

It's worth looking into if all of your games are free. The hardest part is actually getting your game online, making it work with Facebook is easy as.
  • 0

#12 Adam Rodriguez

Adam Rodriguez

    GMC Member

  • New Member
  • 9 posts

Posted 12 October 2011 - 01:34 AM

I follow the instructions in the "creating a facebook app" pdf, but facebook still wont let me load it directly through facebook. Help please.
  • 0

#13 xxskxx

xxskxx

    GMC Member

  • New Member
  • 47 posts

Posted 12 October 2011 - 08:36 PM

I follow the instructions in the "creating a facebook app" pdf, but facebook still wont let me load it directly through facebook. Help please.

This tutorial is not for creating a app on Facebook. You need a server which supports SSL.

I wanted to release version 0.2 today... i'm sorry but i have to move it to tomorrow ..

Version 0.2 includes some awesome features! (Get all friends of the user who are also using your app, Simple FQL request, publish_stream)


Version 0.2 can already be tested in the 1st post. Download will be available tomorrow ;)

Edited by xxskxx, 13 October 2011 - 10:14 PM.

  • 0

#14 xxskxx

xxskxx

    GMC Member

  • New Member
  • 47 posts

Posted 14 October 2011 - 10:04 PM

Sorry for double posting.. but Version 0.2 can be downloaded now!

new features:
  • check permissions
  • stream publish
  • simple fql
  • ( + get all friends of your user who play your game,too )

Download in the first post


NOOOO! Its incompatible with 39js for some reason... It normallly works, but when the 39js extension is added, the game doesn't load! :( :(

I couldn't find any complications ... i'm sorry

Edited by xxskxx, 14 October 2011 - 11:03 PM.

  • 0

#15 Schalk

Schalk

    GMC Member

  • GMC Member
  • 487 posts
  • Version:GM:HTML5

Posted 14 October 2011 - 10:33 PM

This things awesome. Thanks for spending your time to make this extension :)
  • 0

#16 Joe H

Joe H

    GMC Member

  • GMC Member
  • 354 posts
  • Version:GM:Studio

Posted 15 October 2011 - 03:29 AM

It is really awesome and is a big help.

I use it in Fall, a little game that is helping me learn all this stuff. If you would like to see another example of posting a score or an achievement ( without requesting additional permissions ), please try it out.

Fall on Facebook:
Fall

Edited by Joe H, 15 October 2011 - 04:56 AM.

  • 0

#17 rucodemente

rucodemente

    GMC Member

  • GMC Member
  • 56 posts

Posted 03 November 2011 - 10:29 PM

This looks terrific.

Is it possible to use this to handle scores and achievements through Facebook's own APIs?

https://developers.f...com/docs/score/
https://developers.f...s/achievements/
  • 0

#18 xxskxx

xxskxx

    GMC Member

  • New Member
  • 47 posts

Posted 03 November 2011 - 11:51 PM

Is it possible to use this to handle scores and achievements through Facebook's own APIs?

https://developers.f...com/docs/score/
https://developers.f...s/achievements/

Oh that is cool... I'll implement this in the next version of s:gm ;)
  • 0

#19 Joe H

Joe H

    GMC Member

  • GMC Member
  • 354 posts
  • Version:GM:Studio

Posted 07 November 2011 - 05:48 AM


Is it possible to use this to handle scores and achievements through Facebook's own APIs?

https://developers.f...com/docs/score/
https://developers.f...s/achievements/

Oh that is cool... I'll implement this in the next version of s:gm ;)



Looking forward to this :)
  • 0

#20 borut

borut

    Courage Wolf Productions

  • GMC Member
  • 1333 posts
  • Version:GM:Studio

Posted 09 November 2011 - 08:16 AM

amaizing job I must say!
  • 0

#21 john316

john316

    GMC Member

  • GMC Member
  • 21 posts

Posted 17 November 2011 - 12:56 AM

Have you created the pay dialog yet i would love to have this feature
  • 0

#22 xxskxx

xxskxx

    GMC Member

  • New Member
  • 47 posts

Posted 17 November 2011 - 06:47 PM

Have you created the pay dialog yet i would love to have this feature

Sorry I'm really busy atm. (school) But I'll try to implement the mentioned features this weekend
  • 0

#23 john316

john316

    GMC Member

  • GMC Member
  • 21 posts

Posted 19 November 2011 - 09:36 AM

thx so much!!! and goodluck with school

Edited by john316, 19 November 2011 - 09:37 AM.

  • 0

#24 Alert Games

Alert Games

    GMC Member

  • GMC Member
  • 1118 posts
  • Version:GM8

Posted 19 November 2011 - 08:17 PM

Very very nice. Well detailed documentation and easy to use code. I'm kinda jealous....

Though, I was trying to test the example game, and it would not finish loading. I tried it on 127.0.0.1 and also on my server. Both times the game would not finish loading.

The example app you have up works fine. The post without confirmation didnt work for me, but everything else seemed to.

Nice work so far
  • 0

#25 rucodemente

rucodemente

    GMC Member

  • GMC Member
  • 56 posts

Posted 22 November 2011 - 07:04 PM

Is it possible to load a user's profile pic into the game?
  • 0

#26 john316

john316

    GMC Member

  • GMC Member
  • 21 posts

Posted 03 December 2011 - 02:06 PM

any updates yet?!!!!!

Edited by john316, 03 December 2011 - 02:07 PM.

  • 0

#27 iSeiren

iSeiren

    www.worrall.pw

  • GMC Member
  • 613 posts
  • Version:GM:Studio

Posted 26 December 2011 - 07:38 PM

Doesnt work.
  • 0

#28 Alert Games

Alert Games

    GMC Member

  • GMC Member
  • 1118 posts
  • Version:GM8

Posted 26 December 2011 - 08:45 PM

yeah I never got an answer about my post. Maybe the version of GM I was using was outdated.

I'll edit my post if it is working.
  • 0

#29 iSeiren

iSeiren

    www.worrall.pw

  • GMC Member
  • 613 posts
  • Version:GM:Studio

Posted 26 December 2011 - 09:40 PM

yeah I never got an answer about my post. Maybe the version of GM I was using was outdated.

I'll edit my post if it is working.


I just compiled the example the OP provided and that just hung at the end of the loading bar.

I'd love to use this in my games, but it doesn't work : /.
  • 0

#30 xxskxx

xxskxx

    GMC Member

  • New Member
  • 47 posts

Posted 26 December 2011 - 10:00 PM

Doesnt work.

I hate posts like this. Please describe your problem (like in your 2nd post :P)
It's not working because you didn't read the manual... :/

From the SGM Tutorial.pdf :

If you want to test your game
Read „Create an app on Facebook“. And upload your game to your webspace.


And if you follow the instructions in "Create an app on Facebook.pdf" it should work ;)
I hope I could help you :D

Cheers

[Both documents are in the "How To" -Folder]
[Yes you need to upload your game to a webspace to test it... Facebook requires this :/ ]

Edited by xxskxx, 26 December 2011 - 10:01 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users