Gigya Gamification SDK Tutorial for iOS Application - ios

I want to include Gamification feature in my iOS app. want to achieve it through Gigya SDK.How is it possible? Is any good tutorial available for it?

The client-side gamification plugins (achievement, challenge status, leaderboards, notifications, user status) are only available for use within a web browser through javascript.
While it should be possible to include a web-view to display any of these plugins from inside your mobile app, most of these plugins do not make sense to use in a mobile context.
If you are interested in pursuing this functionality then you can include a web-view which hosts the web pages that load the gamification plugins, and then sync the web-view session through the use of the GSWebBridge class. Gigya has documentation on how this can be achieved with sample code.
If you are looking to award custom actions that are performed from within your app. This can be accomplished by making calls to gm.notifyAction to the Gigya API from your iOS code.
Other than that, if you are looking for a more out-of-the-box solution, then you should contact the support team at Gigya and have them file a Feature Request for you. Gigya doesn't currently offer an out-of-the-box solution to accomplish this, and there is no tutorial because of that.

Related

iOS User Login Interface Library for Rails api backend

I am looking for a library which provides user login/signup UI for my iPhone/iPad app to connect with backend api.
I use devise_token_auth gem on Rails api side, but I guess I can handle auth part by coding, I am just looking for a handy UI library like ParseUI so I don't need to make it by myself.
I tried to search using github and http://cocoapods.wantedly.com/, but no luck yet.
Any suggestions?
Here's a library with built in Devise support for iOS: https://github.com/netguru/devise-ios
It turned out Cocoa Controls was the best for this porpose.
https://www.cocoacontrols.com/search?q=login

Restrictions of using Social framework for a Twitter app?

I'm looking into making a new app which integrates heavily with Twitter, and I'm trying to find out if the Accounts and Social framework is capable of that.
It's worked in the past for basic calls, but it's not stated anywhere what its limits are - can it be used for a full-blown Twitter app?
Integrating with Twitter manually, I know involves asking the user to sign in, and means a cap of 100k tokens. Are there any caveats of using the Social framework instead?
You can use the API without users signing in to view most everything. Read the docs: https://dev.twitter.com/rest/public/search

iOS 6 Twitter share without using system account

On a current project I would like to let a user that does NOT have a Twitter account setup login and tweet. Use case: this area of the app is being used by many different end users as part of a check-in process. It is not their personal iPad, they just use it for about 10 minutes to check-in for an event. During that check-in process I want to let them share to FB and Twitter if they choose.
I was able to accomplish the Facebook share without using the system account using Facebook's presentFeedDialogModallyWithSession API, which works great. Is there a similar API in the Twitter SDK? Is there another way I could do this that leverages the Social or Twitter framework?
Recommendations greatly appreciated.
You cannot do this with the built-in twitter SDK. You will need to use the "old" way of doing this, which is via oAuth or xAuth. A good framework for this can be found on github called FHSTwitterEngine. You will need to make your own UI for what you do with twitter itself, but it handles the login/authentication for you as much as possible.
Also this page may be useful to find other 3rd party frameworks (that is updated by twitter themselves) if you need to go outside of their regular SDK and the above does not get you what you want.

Creating site in Django + iOS compatibility - is this a good approach?

I am looking to create a basic site which allows users to login (either through email or facebook authentication) and post their photos for other users of the site to comment on. Much like with like Facebook, I wanted posting, deletion and viewing photos/comments to be possible through an iOS app and through the site itself.
I have been carrying out a bit of research myself, and I can there being the following options:
Create a site in Django, and use the API framework Tastypie to allow the user to use the get/post/delete commands from an iOS app
Create a site fully in Django, and make this compatible with iOS devices using PhoneGap
Do you have advice on what approach to take - and whether there are alternatives?
It all depends. Do you need hardware functionality that only ios can provide?? If not it would probably be easier to create a web api and build a mobile optimized version of the site. This would let you build your business logic quickly in python. you could them build the client using jquery. This would provide the advantage of being optimized for any mobile device.

Share on Facebook / Twitter / E-mail feature using PhoneGap / jQueryMobile

I'm coding an app for iOS / WP7 / Android using PhoneGap and it has to allow the user to publish comments to its facebook wall / twitter or send it by e-mail.
What is the easy way to face these tasks? any common approach? maybe a plugin? I have seen some similar posts in stackoverflow but none of them seems to offer a plain solution for all platforms...
Thanks
Here's a nice one, it's a JQuery plugin that not only has a nice interface but also provides the implementation details (link) to actually share something on each one of those frameworks!
jQuery social media share
If you want more access (like FB Wall), you'll need to actually code against the FB SDK (in javascript, not that hard but tons of functionality!).
PS: I am not affiliated in any way to this plugin or to it's author
You can use JavaScript based API's to make calls from your native apps that are not platform specific (so you can implement the same code in several native apps).
For instance, here is a link to the Facebook JavaScript API: http://developers.facebook.com/docs/reference/javascript/
For sending email, you could allow your users to compose the email in your app, then use an AJAX call to send the data to your server where your server-side script can send the email.
here is a implemetation with javascript for facebook, email and twitter in a few lines of code: http://www.sebastianviereck.de/en/mobile-multi-share-implementation-with-jquery-mobile/

Resources