An iOS Twitter extension for HaxeFlixel.
C++ C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dependencies/android
ndll/iPhone
project
sample
.gitignore
README.md
Twixel.hx
haxelib.json
include.xml

README.md

twixel for HaxeFlixel

An openfl extension that adds the ability to use Tweet Sheets from within iOS applications. Includes a sample HaxeFlixel project.

This extension currently supports multiple accounts, basic tweets, and fancy iOS-style URL appends. I will likely add image support in the future. This extension also uses the newer iOS Social framework and can potentially support Facebook in the future. Most of the existing Haxe extensions use the deprecated Twitter framework.

##Installation

  • Install twixel into a directory:
git clone git@github.com:prestia/twixel.git DESTINATION-FOLDER
  • Add the following to your Project.xml file:
<include path="DESTINATION-FOLDER" if="ios" />

##Usage

Twixel.tweet("message", "url");

Example:

Twixel.tweet("Hello, world!", "http://anthonyprestia.com");