Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Posting info from DBPro onto Facebook

Author
Message
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 4th Aug 2011 02:55
So it seems like a common feature of a lot of iPhone games is that when you get a particularly high score, you can hit a button and it will post your score onto your Facebook wall.

Does anyone have an idea of whether this is functionality that is possible in DBpro? I vaguely recall reading somewhere that Facebook interacts with certain apps via HTTP calls, so perhaps that is possible, but has anyone ever gotten it working?

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame
wickedly kick it
19
Years of Service
User Offline
Joined: 13th Jul 2006
Location: Fort-worth Texas
Posted: 4th Aug 2011 04:49
Most apps use the Facebook API (application programming interface). This makes several calls that are done using higher level languages (i.e. Java, C++, C# even). Unfortunately (to my knowledge) no such plugin exists for Dark Basic Pro. But of course you could simply send FTP data to your website, then have it upload the score of that player and then use PHP/Javascript to post that score to facebook with the API.

CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 4th Aug 2011 07:28
That's an interesting way of doing it... Hmm...

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame

Login to post a reply

Server time is: 2026-07-10 10:19:33
Your offset time is: 2026-07-10 10:19:33