Difference between revisions of "Welcome!"

From GiderosMobile
(Marked this version for translation)
Line 62: Line 62:
 
[[Reference manual]]
 
[[Reference manual]]
 
|}
 
|}
 +
 +
{{:facebook}}

Revision as of 17:37, 23 August 2018

Here you will find various guides and resources to help you use GiderosMobile.

Quick Start

Downloading Gideros Studio
Installing Gideros Studio
Starting Gideros Studio
Your Very First Program
Video Tutorials
Troubleshooting

Reference

Main API
Physics API
Lua API
Plugins
Facebook Instant Games
Labs
What's new?
In Development

Ultimate Guide

Introduction
Gideros Studio
Getting Started
Introduction to Lua
Automatic Image Resolution
Automatic Screen Scaling
Graphics and Animation
Playing Sound and Music
Classes
Hardware and OS
Deployment to Device
Extend with Plugins
Events

Lua Reference

Basic Concepts
The Language
Standard Libraries
Gideros Lua Enhancements

The Stores

Google
Apple
Amazon
Facebook

Advanced

Making a Plugin
Compiling Gideros Source

Misc

Reference manual


<translate>Supported platforms</translate>: Platform android.pngPlatform ios.png
<translate>Available since</translate>: Gideros 2012.09
<translate>Inherits from</translate>: EventDispatcher

<translate>Description</translate>

<translate>
Facebook SDK plugin is available for only iOS as an external plugin. To use facebook module:

1. Download and install Facebook SDK from https://developers.facebook.com/ios/downloads/
2. Add FacebookSDK.framework to your project.
3. Add the backward compatibility headers as described https://developers.facebook.com/docs/howtos/feed-dialog-using-ios-sdk/#step2
4. Add {Gideros Installation Directory}/All Plugins/Facebook/source/iOS/* files to your Xcode project.
5. If enabled, disable "Application does not run in background" property in .plist file.

The Facebook class is defined in module "facebook". Therefore, you need to call
require("facebook") before using it. Loading the Facebook module
also creates a global variable facebook of type Facebook for direct use.
</translate>

<translate>Methods</translate>

Facebook:authorize
Facebook:dialog
Facebook:extendAccessToken
Facebook:extendAccessTokenIfNeeded
Facebook:getAccessToken
Facebook:getExpirationDate
Facebook:graphRequest
Facebook:isSessionValid
Facebook:logout
Facebook:setAccessToken
Facebook:setAppId
Facebook:setExpirationDate
Facebook:shouldExtendAccessToken

<translate>Events</translate>

Event.DIALOG_CANCEL
Event.DIALOG_COMPLETE
Event.DIALOG_ERROR
Event.LOGIN_CANCEL
Event.LOGIN_COMPLETE
Event.LOGIN_ERROR
Event.LOGOUT_COMPLETE
Event.REQUEST_COMPLETE
Event.REQUEST_ERROR

<translate>Constants</translate>