I have made an app on Nokia S40 using Lwuit library. My app is also on Facebook and exists individually too. I need to get my Facebook friends who are using that app from Facebook.
I know how vague this question is, but I need a script JSON query to be able to get them.
Unfortunately, I have no knowledge about Facebook API.
I know my App ID and access token.
The Facebook API never worked properly in LWUIT because of several inherent bugs in the HTMLComponent and OAuth code. We fixed all of those in Codename One but backporting this isn't practical.
I suggest checking out Codename One and the facebook demo therein.
Related
I'm in the process of making an alternative facebook app for android, but I have no idea where to start. I'm looking at the Facebook SDK but that seems like it's used for people who want to use Facebook as their platform for their own seperate apps. I want to make a login screen like facebook login screen, and I'm looking at their SDK but their SDK seems like it's for completely different apps that use facebook as their platform. I'm just really dumbstruck about how I would do this facebook alternative. I'm pretty new to programming aswell. However, making something like a facebook app alternative, where would I start?
well, the Facebook SDK fits your need flawlessly.
users will have to grant you the privileges to read & write on their behalf and then, the SDK is the limit.
i suggest you take a look at the Getting Started guide & search 4 a good library.
I'm trying to implement an Android activity witch shows a list of images of the user's friends that use the same app also (like in Tinder app). I've searched the web for days and everything I found is too old or doesn't seem to work properly (mainly because they are all based on earlier versions of facebook SDK).
Can somebody please attached an explanation, or even better, an open source of example like that.
There's an example in the docs. I wonder how you didn't find that...
See
https://developers.facebook.com/docs/android/scrumptious/show-friends
I am developing an app that has a requirement to send a friend request to the facebook app or at least re-direct to the facebook website.
I have taken a look at the Graph 2.0 SDK and I noticed that the friends dialog was removed. Similarly having looked at similar posts on Stackoverflow it appears as though this may have been possible at one point but not anymore?
Is someone able to confirm or suggest a way of doing this?
I have used WURFL Java API (also using the web browser patch) to create a standalone application for device detection. When a user agent for mobile app is used , it returns generic web browser (or blank field if web browser patch is not used) for Android and application version as device_os_version for Apple iPhone app user agents. The algorithm used in the new api as described in new api algorithms should give correct results but its not!
Can anyone help me how to tackle this problem?
I've not used the JavaAPI myself, but I have had good luck so far getting support directly from the WURFL community forums. They have a subforum for API problems. I would suggest making a post there, including the user agent string that's giving you problems and a sampling of the source code you've attempted to use before.
http://www.scientiamobile.com/forum/index.php
Sorry I couldn't give you a direct answer.
New to Facebook API and Facebook Connect.
Found the Facebook Java API open source library on Google Code...
I am really excited that there's an API pre-written in Java for it!
Am interested in writing a server side Java layer which uses REST to be able to access a user’s Facebook Friends List, their wall, send them messages in-network, etc.
Downloaded the binary and unfortunately, I haven't found any sample or demo code when I unzipped it...
Question(s):
(1) Does this library support Facebook Connect?
(2) What is the best way to get start using Facebook Connect with server side Java?
(3) Since I am building middleware, do I still have to create a sample app on the online Facebook Developer page?
(4) What should I include in my (am a newbie in Maven) pom.xml in order to get started?
Use RestFB, that seems to be the inofficial FB Java Api:
http://restfb.com/
(There is no official FB Java Api anymore)
As far as I know, that library is broken. I couldn't get authentication to work with the latest version.
In my search for alternatives i found the "TinyFBTagLibrary" http://www.socialjava.com/ --
Yes, it requires just about a billion extra libraries to run, but it offers a simple way to execute facebook API calls in java that ISNT BROKEN (once again, as far as I know). My advice is to ignore all of the predefined tags for use in jsp and scroll down to the bottom to see how to use the TinyFBClient.call/getResponse when you need to get information.