Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I can't seem to find one that's been updated recently. If none, is there a good Java library for doing the necessary signature verification, base64 decoding, etc operations needed to interact with Facebook's API?
UPDATE: I'm using Spring Social Facebook to aid in working with Facebook. It doesn't handle everything and isn't perfect, but the best library out there for Java. Looking forward to the ongoing progress from Spring. I asked a couple questions in their forum and responses were informative and super quick.
I just started using RestFB. I looked at Spring first, but this seems like RestFB has a gentler learning curve. I'll update if it works for me.
You can check facebook's official android SDK which is written in Java:
https://github.com/facebook/facebook-android-sdk
all basic things like verification, decoding, etc are there, maybe android-related stuff is not what you need but I guess it is relatively trivial to extract it from there.
hope this helps
i think the semi-official java SDK is the spring social one:
http://www.springsource.org/spring-social
but i wrote a Java wrapper for Facebook's REST GRAPH API
(http calls to the graph api, and translations from json objects to java classes..)
you can check it out here:
https://github.com/itzikrou/fishbowl
hope it's usefull..
https://github.com/roundrop/facebook4j looks nice but haven't yet used it.
For example, the search API look straightforward:
ResponseList<User> results = facebook.searchUsers("mark");
ResponseList<Post> results = facebook.searchPosts("watermelon");
Go to developers.facebook.com , there u will get all API's releated to facebook..also manual regarding how to use them...
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Can I create simple programs for Android using Kivy or do I have to learn Java?
By simple, I mean some graphics (some rotating lines, a timer, a highscore), a memo etc not real-time games.
I've created this kind of programs for Windows/Linux and I'd really like to extend to Android.
On Google, most of the answers say that I should learn Java, whereas the remaining answers say that Python is pretty good. I also asked this question on chat, and some said 'yes', while others said 'no' and finally someone said "All programming languages get to be translated to JavaScript, so it is not much of a difference".
No. And may be Yes. Let me explain.
No:
The app will not look native if you use Kivy
There will be a lag in startup
You can call native Java API using Pyjnius but sometimes it won't work fine or you will need to work very hard to get simple things done.
Because you can not use the native UI, crafting a good looking android app might be a lot of work.
Yes:
You can build an app that works
Many games and apps don't use native UI but they are still very usable
You can use projects like Plyer and Pyjnius to get the common android functionality
Kivy might be an excellent choice for games
My recommendation:
Please do check out the apps and games built with Kivy on Play Store. Play with them on your phone or tab. See how they look and feel. Checkout the Kivy docs and see what they offer.
PS: I am a big time Python fan and I do like Kivy. I hope and believe that it will offer better widgets and UI integrations in the future. I wish Kivy offered something like NativeScript where I could use Python to create native widgets.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Since GAE has severe restrictions like - "A Java application cannot use any classes used to write to the filesystem"...
Is there a good Java PDF library that can write the PDF to memory for streaming to the cloud?
You can use iText without limitations now. There is no need for a patch since version 5.2.0 anymore.
Have a look at the following post for an example: Generate PDF using GAE and iText
According to this thread on google groups (requires authentication), PDFjet can be used on GAE (it has been slightly modified to replace files by streams at a few places). As they say in the thread:
It's a quite low-level library but should be ok for simple tasks.
As of now, both iText and JasperReports are listed as incompatible on the "Will it play in App Engine" page due to the dependence on several classes that are not in the JRE class whitelist.
Update (2010/09/26): As mentioned by Guido in a comment (and I thank him for that), some people claim they have an iText patch to make it compatible with GAE. Worth the try if you want to play with iText.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
So, to be a little more specific I'm looking for an API that will let me see what news stories are currently trending on-line. So for example, if there was a terrorist attack in let's say Toronto, it would probably be the top story everywhere. So I'd like to be able to pull to grab a few articles, and headlines relating to "Bombing in Toronto", or "Kim Kardashian's does something that really isn't news, but everybody is talk about it anyways" for example. It would be even better if I was able to get top news stories by region.
What I'm building is pretty simple. Just a website where you get paired up with a random person, with a prompt regarding a current event, and a few articles pertaining to that event, then you can talk to said person about it. Because somebody will ask, I'm building it as part of the application process for a computer science/business program for 3rd/4th year C.S students to create their own start up, get paid for it, and receive government funding. They just want us to create something to show our programming ability, and what we can come up with in a week as part of the selection proses.
I was thinking about using Google Trends for this, but there doesn't seem to be an official API for it, and the Unofficial ones I've found are rather basic, which is fine, but I'd like to have a more full featured API if possible, even if it uses something other than Google Trends, as long as it works well.
Also, I'm trying to find one that supports Python 2.7, but I'd also be open to using one for another language, such as Java, PHP, or really anything else, even if I don't really know that language, I'd still very much appreciate the suggestion and even if I don't use it, I'm sure someone else will. Right now I'm planning on using App Engine, (probably)Django and the messaging API they have with app engine now, but I'm willing use something else if need be.
You might look at Twitter's excellent API. You can pull out trending topics based on specific locations or "Worldwide". Here's the documentation.
https://dev.twitter.com/rest/reference/get/trends/place
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I wanna add two factor authentication using Google Authenticator and was wondering if google provides with java api's. I tried searching for it but din't find any.
Can anyone point me to the java api if there are any.
If not how can i go about using Google Authenticator in my web based java application.
I am using Spring framework for my existing application
In fact, Google Authenticator has nothing to do with Google services. What you need to look for is TOTP. Research again using TOTP and rfc6238 as keywords and you will find lots of resources.
Java library for google authenticator was implemented and can be found here,
https://github.com/wstrange/GoogleAuth
Sorry if this is too much of a necro-post, but I found this library on GitHub - maybe it can help you (and others looking for the same). :)
Note: this is not an official Google library, but it follows the RFC 6238 spec for Time-based One-time Password (TOTP), and the author looked at the C code for Google Authenticator for reference.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for recommendations for a simple open source implementation of a Distributed Hash Table in Java to play around with. No fancy features, just for learning purposes, no production functionality needed. It should be simple to set up (e.g. 1 physical machine with n-JVMs) and well documented preferably with some examples, tutorials or starting guides.
Research yields these candidates: FreePastry and OpenChord but I'm not fully convinced they meet my criteria simplicity-wise.
Have you got any experience with these or other implementations? Recommendations?
Thanks & adios
There is TomP2P on Github.
Maybe JDHT will fit the bill. I haven't checked it out myself, but it's written at a university, sometimes that means it's simple and used for teaching. :-)
I have been working on an implementation of Kademlia lately. It's very simple to setup and use and it's well documented. There are several tests written that demonstrate the different functionality as well as a starting guide in the Readme.md file itself.
You can use openkad
I started with free pastry..I've had a great experience with it. It was very simple to set up and run a ring of nodes. I've been mainly using PAST (File storage) and its been quite easy to get running. I'd suggest having a look at the PAST tutorial here. https://trac.freepastry.org/wiki/tut_past
The code is over simplified in my opinion but you say that is all you need so I guess thats ok.