AppKeyz SDK

Posted by mdavis, Posted on July 30, 2013

GitHub URL: 
git@github.com:AppKeyz/AppKeyz-Corona.git

Free Login / Registration and account management as a service. Know your users and manager your products on your web based dashboard.

Once your users and products are managed in our cloud you can aquire users and sell products on your own branded web page and facebook application.

Make money in the outside of crowded app stores with AppKeyz.

www.AppKeyz.com

Twitter fix for HTTPS

Posted by Lerg, Posted on March 2, 2013

GitHub URL: 
https://github.com/Lerg/twitter-https

Twitter with oAuth recently stopped to work, because twitter no longer accepts non secure requests.

I've modified oAuth module to support HTTPS. Basically replaced http.request with network.request. Thus added async networking.

Also I've cleaned those examples to look better. So now it's more visual and you can add new api calls in it easily.

I've added two new methods - getFollowers() - gets a list of your followers. And getPhotoUrl() for profile picture retrieving with network.download()

Google Connect

Posted by contato00, Posted on January 14, 2013

GitHub URL: 
https://github.com/cassiozen/corona-googleConnect

Google Connect is a simple module for connecting with google APIs via OAUTH2

The module also persists the user's refresh token so the he only needs to log in and authorise the app once.

Example usage:

1
2
3
4
5
6
7
8
9
10
11
local gConnect = require("googleConnect")
 
function connectCallback(event)
        if(not event.isError) then
                gConnect.api("https://www.googleapis.com/oauth2/v1/userinfo", "GET", function(event)
                        print(event.response)
                end)
        end
end
 
gConnect.connect(connectCallback)

Game Center achievement collector

Posted by canupa.com, Posted on December 2, 2012

We just released Parallax 2 - and users of "older" devices (iPod4 / iPad1) reported frame drops when achievements are unlocked. Seems like the data connection via WLAN causes some performance issues, especially in fast action games...

So here's a snippet for collecting achievements while playing and a method to upload them all at once.
It's no magic, just use a table to store the achievement IDs and a for-loop to call "unlockAchievement" using each table object when the game is over.

1
-- GC manager

GGTwitter

Posted by Glitch Games, Posted on October 30, 2012, Last updated November 2, 2012

GitHub URL: 
https://github.com/GlitchGames/GGTwitter

GGTwitter makes it very easy to authorise your player with Twitter and post messages. Authorisation data is stored so that the user only has to login the first time.

Required
oAuth.lua from here - https://github.com/breinhart/Corona-SDK-Tweet-Media/blob/master/utils/oAuth.lua

multipartForm.lua from here - https://github.com/breinhart/Corona-SDK-Tweet-Media/blob/master/utils/multipartForm.lua

Require the code
local GGTwitter = require( "GGTwitter" )

GGFacebook

Posted by Glitch Games, Posted on October 28, 2012

GitHub URL: 
https://github.com/GlitchGames/GGFacebook

GGFacebook makes connecting and posting messages or images to Facebook very easy. More functions will be added in the future. You must have a Facebook app set up with SSO enabled, see this tutorial - http://www.coronalabs.com/blog/2012/01/04/implementing-facebook-single-sign-on/

Require the code
local GGFacebook = require( "GGFacebook" )

Create your Facebook object passing in your apps id, optional listener and permissions
local facebook = GGFacebook:new( appID, listener, permissions )

Login

Streaming "News Ticker" (Twitter Feed or Online Text File)

Posted by schroederapps, Posted on March 7, 2012

I wrote the following bit of code for an app I'm working on where I wanted to have a "news ticker" scroll along the bottom of the home screen that I could change remotely. I also briefly considered streaming the most recent tweets from a Twitter account - so I'm including that code as well. See the commented-out text below for notes on how to change the ticker text or Twitter feed that displays. If you copy this code into a main.lua file then you'll see a Twitter ticker along the top of the screen, and a text ticker along the bottom.

Facebook helper/support module

Posted by bob.dickinson, Posted on March 2, 2012

GitHub URL: 
https://github.com/BobDickinson/lib_facebook

This library creates a wrapper around the Corona SDK Facebook API support. Using this library will streamline your Facebook client logic and make it easier to debug and to catch/handle errors (well, it did for my anyway, YMMV). The biggest feature is probably that it supports Facebook functionality in the simulator (for most things).

Add Community module to your app (FAQ, News, Forum etc)

Posted by shaharzrihen, Posted on October 10, 2011

GitHub URL: 
https://github.com/manjero/Corona-SDK-ngKit-library

While developing our latest app iKululu 2.0, we've been approached by the great guys at ngKit.com.
They have built a great new product - a community module for app developers.

If you ever wanted to communicate and engage your customer in a better, more convenient fashion - this is the way to go.

To add the community module you will need to update the ID & secret key in the module file.
Include the module and all you have to do is to use the open function to enable the F.A.Q, Forum, Latest News, Feedback and a share button.

Flickr Photo Browser

Posted by codepunk_schmidt, Posted on September 20, 2011

GitHub URL: 
https://github.com/codepunkschmidt/Codepunk-s-Code/tree/master/FlickrBrowser

Awhile ago, I was approached to do a custom app for someone. The app itself is finished (not published yet) and in the process of creating it I thought it would be a good idea to publish the source for the dynamic image slider control I created. Well, not content with just publishing a simple control, I decided to create an entire demonstration app to see it in action. The Flickr Photo Browser is the result of this. In this app you'll see how to download data and images as well as how to create your own custom controls.