I found out that fbid column must be of type BIGINT. [import]uid: 12109 topic_id: 2432 reply_id: 36586[/import]
thanks a lot for this, still works!
in case someone gets the same problem: I first got a server SSI directive error, but when i deleted the .htaccess file from the friendranks folder it worked!
will use this in my new game!
[import]uid: 34449 topic_id: 2432 reply_id: 38116[/import]
I have tried to include this facebook friends leaderboard to my game, but i havent succeed. In my game, when web pop up launch, it just says:
Not Found
The requested URL /home1/uapo15/loadfriendranks/ was not found on this server.
My database and php scripts are in heliohost.org
In heliohost.org shows that my main domain is: uapo15.heliohost.org
and home directory is: /home1/uapo15
In php scripts i have putted http://uapo15.heliohost.org/home1/uapo15/ in $scriptTopLevel variable.
Stupid question, but do i need to make some kind of facebook login to my game? Now i have only putted this code to my game:
local touchHighScoresBtn = function( event )
if event.phase == "release" then
local webListener = function( event )
local shouldLoad = true
local url = event.url
if 1 == string.find( url, "corona:close" ) then
-- Close the web popup
shouldLoad = false
end
return shouldLoad
end
-- show web popup
local showRanksUrl = "http://uapo15.heliohost.org/home1/uapo15/loadfriendranks/?bestscore=" .. bestScore
native.showWebPopup( showRanksUrl, { urlRequest=webListener } )
end
end
Could someone help me, please?? [import]uid: 18445 topic_id: 2432 reply_id: 39504[/import]
Thanks Jon, this is a great and helpful initiative. I am wondering if it would be worthwhile for the community to help build a library of pluggable lua files to speed up game development.
Things i can think of
A template with basic director integrated for screen changes
A scoring framework
Optional integration of scoring with openfient or facebook
A customizable in-game score board
A dev time memory and stats checker
A framework for allocating and releasing memory for objects
Would really love to see some integration of these in tools like the corona project manager which IMO can turn into a IDE with built in features which provide a headstart to rapid dev for corona.
What do you think? [import]uid: 55009 topic_id: 2432 reply_id: 39509[/import]
Can somebody help me? I really appreciate if someone could help me little bit. Check my problem 2 post above. [import]uid: 18445 topic_id: 2432 reply_id: 39586[/import]
Please help me with facebook friends leaderboard. I dont know what i shoud do to get it work. [import]uid: 18445 topic_id: 2432 reply_id: 39641[/import]
I feel like I’m late to the party! Jonathan, what a fantastic and generous site to be sure. Kudos for your generosity. I was looking for information about Apple’s Leaderboard functionality and how to implement - and stumbled across this thread.
I’m so excited now to digest what’s there… I’m curious to see how you did your screen management.
As soon as our main.lua grew to something unmanageable we knew require" " would be our friend and we started immediately breaking up our code into manageable chunks. I’m curious to see how you did it now.
To be continued…
[import]uid: 74844 topic_id: 2432 reply_id: 46652[/import]
Hi Jon,
I’m going to use your tutorial to code up an interface to Facebook for my new game. Thanks for posting that great info.
I’m not a facebook user myself, so I am looking for some examples of how the user interface was actually done. I see that your Dungeon Tap game’s features include all these elements, so I went to buy it, but it is not for sale on the store. How can I get a copy? Can you suggest another game to substitute? [import]uid: 23636 topic_id: 2432 reply_id: 52144[/import]
I am getting the error message below…any ideas what the problem could be.
Error inserting new user
Also in the tutorial it says:
“In the Mobile and Devices sub-panel, make sure Application Type is set to HTML 5 / mobile web”
…but I don’t see anyplace to set the Application Type…it just asks for app ID info so can you clarify this?
–Thx, Mike [import]uid: 14935 topic_id: 2432 reply_id: 52490[/import]
Hi, does this support Single-Sign-On (SSO)? If not does anybody know if it’s possible with Corona?
[import]uid: 50154 topic_id: 2432 reply_id: 52521[/import]
What is the code to disconnect from Facebook? [import]uid: 14935 topic_id: 2432 reply_id: 52547[/import]
facebook.logout()
[import]uid: 74844 topic_id: 2432 reply_id: 52551[/import]
I am getting this error
Invalid argument supplied for foreach() in /friendranks/index.php on line 112 [import]uid: 80458 topic_id: 2432 reply_id: 87326[/import]
Anyone still using this?
Does it still work? [import]uid: 150930 topic_id: 2432 reply_id: 112705[/import]
I am getting a 500 Internal Server error when I visit the URL, as others have stated. Is this a database config issue? Is there a better solution since this was made? [import]uid: 31834 topic_id: 2432 reply_id: 127631[/import]
I am getting a 500 Internal Server error when I visit the URL, as others have stated. Is this a database config issue? Is there a better solution since this was made? [import]uid: 31834 topic_id: 2432 reply_id: 127631[/import]
it was my .htaccess file. deleted it and it works now. [import]uid: 31834 topic_id: 2432 reply_id: 128217[/import]
Matt,
Do you have a dedicated server for this (will regular website hosting work)?
What do i need in order to set this up?
Thanks! [import]uid: 150930 topic_id: 2432 reply_id: 128247[/import]
Yea regular webhosting with php (pretty much all do) and ability to make a MySQL database (also very common). If you need some help let me know and we can skype or something. [import]uid: 31834 topic_id: 2432 reply_id: 128271[/import]
If we could skype that wold be great! please add me: ron.j.barak [import]uid: 150930 topic_id: 2432 reply_id: 128280[/import]