I started developing my application in AppEngine Java, however I noticed that Facebook has officially discontinued the support for the Java API and the third party API was last updated a year ago.
Does anybody use Java + Social plugins? How has it been going so far? Should I switch to Python, I'd not want to since, I'm not very great with Python and have written significant amounts of code in Java already.
I have been using facebook-java-api on Google App Engine for a year now. It does almost all I need it to do (get friends list, get photos, upload photos). It uses the old REST api but I have not seen a deprecation date for the methods I use.
I also use Apache HTTP Client to do some Graph API calls not available in the REST api (deleting a photo for example).
If you decide to use python, try a look to vikuit social. It runs over Google Appengine , it's open source ( GNU3) and perhaps it's a good base to your development.
Related
I'm sort of new to http://www.parse.com . And I want to develop backend in Java using REST API. It seems parse.com does not provides direct Java library for REST API development. But I found some third party libraries(un-official) like for Java:
JAVA
Almonds — A Java REST API that mimics the Android API.
mobile-parse-api — This library implements the REST API of parse.com in java with open interfaces for libgdx and playN.
Parse4J — Library for the REST API.
ParseFacade — Parse Android SDK alternative.
But I am not understainding how to get start with these libraries in order to create backend API in Java
#Mahendra
I assume by now you have found your answer. In case you haven't then here is a thought process that might be of interest.
From the little reading I have done on Parse.com it is a sort of like an Object database in itself which provides ready REST style api for all data stored there. See this - https://parse.com/docs/rest/guide
In addition they provide libraries for all popular Front Ends (iOS, Android, JS).
I think they are advocating a paradigm shift for programmers who are used to having a lot of processing on the Backend servers and exposing simpler rest API which provides a processed and targeted response to each http request.
Basically they are suggesting that the whole backend infrastructure (db, app server, server side logic etc) can be replaced by parse.com
If you are considering using Parse.com I assume you have read and understood above mentioned thought process and decided that it makes sense for your project.
I would advise you to consider using a using a common client side Java library that works with the Parse rest api and then use appropriate Client SDK (iOS, Java, JS etc) to work with your library and design the UI. Since you are asking about Java library, I assume your language of choice for storing processing logic is Java.
What I suggest next may be bit of a long shot ... but worth a consideration.
Write code non-ui code in Java and work with the Android API from Parse.com. Use a Java to Objective C. https://github.com/google/j2objc
This will also allow you to use Java code for your web browser (using GWT as a UI framework).
Then write UI code in the framework suited for the platform (obj c for ios, Java for Android, GWT + Java for web browsers) and use the java library to connect to Parse.com.
If you have already tried out such an approach would be good to write back opinions in a comment so the community may benefit.
I want to start Video Session on a specific date and time between two users of my application.The Application is written in Java on Google App Engine.
I know about the Twilio SMS/Voice Services ,but GAE docs don't mention about how to have Video Calls.
I have looked into TOKBOX API, which seems a good fit, but what i want to know is , is there a better way to have a Scheduled Video Call in Google App Engine. Is there any bundled service i can use.
Thank You
TokBox has created a Starter Kit called ScheduleKit that has about the same purpose. The UI is modeled like a customer support application, and it also emails a reminder for the video chat. The sample code is built in PHP, but it can easily be ported to work with Java. Take a look at the OpenTok Java SDK.
I am working with some friends on an android application and we want to use data store on google app engine.
Can anyone help me find a tutorial on how to create a connection between the android app and the data store, I couldn't find a good one myself.
Thanks.
I suggest you look at a few, quite recent Google services:
Endpoints will help you create an interface between your server code and your client, including generating a client library and doing OATH2 authentication.
Volley is an Android library that makes it easy to perform the requests to the server. (There are a number of 3rd party alternatives to Volley that are also good.)
Mobile Starter Kit is a simple way to get started, doing everything from the client initially, but with the ability to customize the server later.
Take a look at this Google blog post from a few days ago:
http://googlecloudplatform.blogspot.ca/2013/11/connecting-mobile-developers-to-the-cloud-with-google-cloud-endpoints.html
Those are good starting points, but don't assume you should use the recommended Google services. Endpoints for example, will lock you into GAE and it doesn't sound like you need the multi-platform support it offers. You could just create a REST/JSON servlet using one of many libraries.
I reccomand DropBox API.
It is not what you asked, but I guess you didnt start using the Google API because you are looking for a tutorial..
DropBox API has a lot of info and tutorials and it's kinda easy to handle..
I am looking to develop a Windows Phone 8 application based on a Java API but I'm not sure how to proceed. The developer of the original java application said he doesn't have enough demand for a WP8 version, so all that's available is the API. Unfortunately, I don't have any experience in interoperability of these two.
How can I call the java functions from WP8? My guess is that I must have a server in the middle to make the connection?
Thank you
The only way this would work is if you create a web service on top of the Java API (I assume its a library you're referring to). Then have the WP8 app call the web service. There should be plenty of pages online showing you how to consume web services from WP
Is there a standard implementation in Java for the Facebook Api?
From what I read the http://code.google.com/p/facebook-java-api/ doesn't work.
There is no official Java API.
They had a nice list of all third party java libraries but they deleted that page and prohibited web spiders from accessing it so I can't even get cached version now (wtf is wrong with you facebook?)
RestFB is actually pretty much the library to go right now. It supports both old REST api and new OpenGraph stuff. Has lots of examples and actively developed.
That java library you posted was abandoned a year ago. No bugfixes or updates ever since. It works fine with old REST API but doesn't support new one.
Are you sure that it doesn't work? I'm using facebook-java-api, and haven't found any problem yet.
There also exists RestFB client, but it not looks like a mature library. And also it haven't maven support :(