So here is my code that I copied from the template. I followed the template and then I tried this and still get the same errors.“You are offline. Ensure that the application key and secret are correct”. I created the game on openfeint website and filled in only the basic information page to get my ids and keys. I also added a leaderboard and an achievement. Do I need to fill in all the information or enable the app?
[lua]local gameNetwork = require “gameNetwork”
–For OpenFeint:
gameNetwork.init( “openfeint”, of_product_key, of_product_secret, “I8R Primates”, of_app_id )
local titlecard = display.newImage( “titlecard.png”, true )
titlecard.x = display.contentWidth / 2
titlecard.y = display.contentHeight / 2
local buttonRelease1 = function( event )
gameNetwork.show( “leaderboards” )
end
local buttonRelease2 = function( event )
gameNetwork.show( “achievements” )
end
local button1 = ui.newButton{
default = “btn_leaderboard.png”,
over = “btn_leaderboardA.png”,
onRelease = buttonRelease1
}
local button2 = ui.newButton{
default = “btn_achievements.png”,
over = “btn_achievementsA.png”,
onRelease = buttonRelease2
}
button1.x = 80
button1.y = 280
button2.x = 240
button2.y = 280[/lua] [import]uid: 54716 topic_id: 12982 reply_id: 312982[/import]