iOS Toolkit App

Release 2.1 of Mesh Developers Toolkit went live today in the iTunes App Store, this release adds a new tab, “Twitter Bridge”, and a new JavaScript function:

 tweet(“Message”)

This will allow you to forward a message as a Tweet to your Twitter account.

I would suggest that you limit the devices which can send Tweets, by using the GUID variable passed to the script.

The new Tab “Twitter Bridge” this allows you to setup your API Keys for Twitter and also switch on “Broadcast Tweets”.

“Broadcast Tweets” will automatically forward any tweets from your Twitter account to your goTenna Mesh as a broadcast.

To ensure that you don’t hit any rate limits either within the goTenna or Twitter API’s only Tweets which have been posted in the last two hours will be broadcast and single Tweets are sent every five minutes.

If you have multiple Tweets, they will currently be sent every 5 minutes, although I am looking if I can decrease this time interval.

This conservitive time interval is also to allow you to connect two iOS devices running Mesh Developers Toolkit to the same account - so allowing you to bridge two goTenna Meshes regardless of geographic location.

To enable you to setup the Twitter functionality you need to setup a Twitter App and API keys at:

apps.twitter.com

The Web and Callback URLs can be set to anything (I pass the correct ones in code), although I suggest:

Website:

 https://github.com/pMeshToolkit/quickstart

Callback URL:

 https://meshtoolkit

No Tweets are stored by Mesh Developers Toolkit to comply with Twitter’s guidelines.

Just remember anything you post to Twitter is public…

2 Likes