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

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/

Related

Firebase email or Facebook authentication with BlackBerry 10

I want to use Firebase with a BlackBerry 10 Native + Cascades App.
The problem is Firebase has no libraries for BlackBerry 10. I have done some research saying that I can use the REST API, but I cannot find anywhere on how to do email or facebook login via pure REST. Everything involves downloading the Javascript API which I cannot do as QML support with JS is giving me issues.
Does anyone have any ideas or suggestions?
By definition, you can't do authentication via REST. It requires that a user log into a third party service and enter credentials (not possible without a UI). You could create your own UI for authentication and generate your own custom tokens.
Once you have a token, you can pass that to the REST API by adding ?auth= to the URL.

Gigya Gamification SDK Tutorial for iOS Application

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.

Post to Facebook and Twitter simultaneously Xcode

i'm new to this, i need help coding an app on Xcode posting to Facebook and twitter simultaneously, can anyone help, i've looked at social framework but i want to merge the post button together.
You'll need to use Facebook and Twitter REST API rather than using the native iOS's social frameworks dialogs.
You don't want to display the native dialogs since you'll be unable to post simultaneously.
Instead you need to create your own dialog which sends requests to the networks using SLRequest.

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.

iOS-Is there any method available for fetching CTCoreMessage with specific key words from CTCoreAccount or CTCoreFolder in Mailcore library?

I am developing one IOS Application in which i am integrate Gmail via Mailcore library, Now I want add search functionality for Inbox for which user can search their Email Subject and Body. But i am not aware how to implement it. Can anyone help me out? Is there any sample source code for this in Mailcore?
Use this it has search functionality
http://code.google.com/p/remail-iphone/
MailCore api I've developed same kind of app and have use it. They provide access to IMAP and SMTP servers.
Download from here
https://github.com/mronge/MailCore/

Resources