Vaadin 23 add social share buttons and Google Analytics - vaadin

Is it possible to add to the Vaadin 23 application social share buttons? Like for example https://sharethis.com/ This website provides JavaScript code which should be embedded into the application. Is it possible to embed this code into the Vaadin 23 application and if so, could you please show how?
The same question and for Google Analytics.

Related

Receiving information from social media into iOS

As the title suggests I want to add Social media extensions into my iOS application, I have seen multiple tutorials on how to publish to an external source e.g. Facebook, Twitter, Instagram etc... which seems easy enough.
Now my question is it possible to do the reverse and instead retrieve information from these external factors? For example if I set the application to look directly at my Facebook profile when loaded and retrieve my Facebook status's.
I've heard of the concept of a Facebook Graph API which I plan on learning of the next couple of weeks. I'm looking for any resource materials or videos which I can use to learn from. I'm currently looking through Facebook's developers options but any additional information would be great.
You're going to want to use their official API. These links are a good starting point.
Facebook SDK for iOS
Twitter SDK for iOS
Instagram support for iOS

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.

google plus sharing on cordova-phonegap

I am new to phonegap. I wish to implement social sharing in google plus, facebook and twitter.
I have successfully implemented facebook and twitter sharing following the following link:
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin
The link says that we can use this plugin for google + too. But I didn't find any syntax for google + sharing in the link.
How do i implement google plus sharing in phonegap app?
It's only supported on Android at the moment.
Use shareVia('com.google.android.apps.plus', ...)

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.

How to read content in Facebook's social plugin in iPhone?

I use Facebook's comment social plugin in my website, and now I'd like to go further integrate it to iPhone app.
Is there any possible way to read the content of the comments in my website by Facebook's iPhone SDK?
fyi:
http://developers.facebook.com/blog/post/490
now we can use graph api to extract the comment:
Comments for every URL can be accessed via the Graph API:
https://graph.facebook.com/comments/?ids={YOUR_URL}

Resources