Creating a facebook app with Vaadin? - vaadin

Is it possible to create a facebook app using the Vaadin web toolkit?

It is possible. At least there is one http://apps.facebook.com/possessed/ (not maybe the most beautiful one, but working). See also discussion at the vaadin forum: http://vaadin.com/forum/-/message_boards/message/169189

Definetely possible. As you have an iframe for your app in facebook and you yourself host the application so there is no limit for that. You may also want to use restfb for easily interacting fb graph api

You can create a Facebook application using any language/framework/etc. The application is loaded in a Facebook Canvas (iframe), but your application isn't hosted on Facebook itself, rather it's hosted on an external app/web server of your choosing. So, as long as your server supports the language of your choosing, you are good to go.

Related

How to deep-link directly to an app in Okta Mobile on iOS

We can send a link to someone formatted as okta:// and it will launch the Okta mobile app, but I would like to know if there is a way to deep link to a specific app in Okta mobile?
Something like okta://appname
or better yet would be okta://appname/specificpageinapp
I have tried all sorts of options, but none seem to work.
The Okta Mobile app doesn't support deep linking as you described.
You may be able to deep-link directly into native iOS applications using a similar URL Scheme (exampleapp://page/example). If the native iOS app is integrated with Okta, this might work as you expect.
However, it sounds like what you might actually want to do is link directly into the embedded web view of a web application in Okta. If that is the case, I suggest reaching out to Okta support with a feature request and the use case that you're trying to solve, so that it can get the attention of the product manager for the Okta Mobile app.

Adobe AIR Mobile / OAuth2.0

We are currently trying to add OAuth2.0 for authentication into an existing Adobe AIR mobile app for a client. We are trying to carry this out by using this library https://github.com/charlesbihis/actionscript-oauth2 from this article.
We have tried using instances of the 'StageWebView' class and the Feathers UI 'WebView' class to display the authorization prompt page within the mobile app itself.
When we publish the app locally on our development PCs, the whole process works ok. However, as soon as it is published to our iPad(s) for testing, it is almost as if some security setting stops the "embedded" website from communicating with to the server.
As the website we are trying to communicate with is a https:// address, I'm assuming that this might be causing issues, but I can't confirm this.
Has anyone out there found themselves in a similar situation?
Thanks,
Dave

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: Parse framework & Facebook OpenGraph

Has anyone out there integrated Facebook OpenGraph in to your iOS app using the Parse (www.parse.com) framework as your backend?
My goal is simply to post images to Facebook from my iPhone app using OpenGraph. From what I can tell, FB will not host the photos themselves - surprisingly - so I'm on the assumption I need my own backend (or Parse's in this case). (If I'm misunderstanding this, please correct me!)
I've spent most of the last day experimenting with the Facebook framework, and I plan to use Parse for much of my web services in the app, so ideally I would leverage both together and NOT introduce a separate backend/webservice (e.g. Heroku/Rails) just for simple image hosting.
..but either way I fear could get lost down a deep hole trying to implement something that will never work - web tech is not my strong suit.
I actually got this answered at a Parse.com company event here in SF, and since then have also learned A LOT about Facebook integration and posting.
The long story short is: Parse.com cannot serve as the only object in your web stack if you want to post Facebook Open Graph Stories.
In addition to simply hosting an image, Facebook Open Graph Stories require two things:
A public HTML page that Facebook's servers can reach. This page serves Facebook meta data that Facebook uses to determine how to present your image object.
A click-through link to a landing page that contains your image object.
I ended up using a Tumblr blog to host my photos, because you can 'hack' their Themes to include your own HTML headers that support FB OG Stories. It's not perfect, but for a guy without a web stack, it gets the job done!

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.

Resources