106 questions
2
votes
1
answer
5k
views
facebook4j OAuth issue
I am using facebook4j i have set the configuartion details in facebook4j.properties file. But when i trying to get the accesstoken it shows
SEVERE: Error while creating the Access TokenOAuth app id/...
0
votes
0
answers
165
views
Facebook SDK library disabling
I've added the Facebook SDK for for Android project to my workspace, but when I try to add it as a library to my project it keeps getting disabled. When I add it (by "Properties -> Android -> Library")...
0
votes
1
answer
179
views
FacebookSDK for Android: How to store the GraphObject from a Response as a member variable for later access
I have declared a class which has the following member variable:
GraphObject myFeed;
Within that class, I am working with the OnCreate(Bundle) method:
@Override
protected void onCreate(Bundle ...
0
votes
1
answer
807
views
Facebook 3.0 issue with login
I trying to understand how the facebook 3.0 SDK login proccess is working.
I walked through this tutorial. every thing works fine, but how should I continue? Lets say that after loging in I want to ...
1
vote
1
answer
939
views
Looking for Java Model Classes for Facebook Graph API
I do not want an SDK with Facebook specific methods because I am programming in a REST style using JAX-RS 2.0 Client (Jersey Client).
I find myself creating classes such as:
@JsonIgnoreProperties(...
0
votes
2
answers
2k
views
facebook4j retrieve different image size from my facebook posts
i am using facebook4j to load home posts facebook.getHome() and i am getting the profile image and the post image as follows:
facebook4j.User fromUser = facebook.getUser(fbHomePost.getFrom().getId(),...
1
vote
0
answers
300
views
Android:Facebook android application
My Facebook android application crashes everytime i try to run it on emulator..i am following the code from the facebook webiste here https://developers.facebook.com/docs/tutorials/androidsdk/3.0/...
1
vote
1
answer
2k
views
Update Facebook status issue(Java)
I m trying simple program to update FB status, but its giving me error,
This is what i m trying ...
public class SendtoFacebook {
public static void main(String a[]) throws FacebookException {
...
0
votes
1
answer
254
views
GET photos from Facebook Event wall (including public photos of not-friends)
I have been trying to issue a GET request to Facebook using the graph API to retrieve all the photos posted to an event wall. I want to have them so they can be shown like a "living scrapbook" on the ...
0
votes
1
answer
261
views
Combined FaceBook client and server side authenticaion
I have the following use case
My application on iOS is using the FaceBook iOS SDK to authenticate with FB
The application then make a REST call over https to my server to register the FB account to ...
5
votes
2
answers
8k
views
Login to facebook a button to open a new activity
I am trying to login to facebook once the user clicks on a button and then once successfully logged in, the new activity is created.
This is the code of the main activity so far!
import android.app....
0
votes
1
answer
494
views
Can I import the friend's Email Address or Phone Number from Facebook through javascript api?
Is it require any permission except allow to my app. My code is as follows..
FB.api({ method: 'fql.query',
query: 'SELECT name,pic_square,birthday,sex,profile_url,website,email,email_hashes FROM ...
-1
votes
1
answer
371
views
How to Post of facebook wall during pageload using javascript api?
The below code works perfectly.. On clicking the fb:login-button, it posts the message on facebook wall of the person who has logged in.
But, i want this to happen immediately after the page loads ...
3
votes
0
answers
368
views
automatically minimized chat tabs
We must call fu.init in hideFlashCallback to pause our game. When the user is in the another page to open chat tabs to our game, the game will pause automatically.
Is there a method like FB API or ...
-2
votes
1
answer
2k
views
Java Desktop Application which connects to Facebook
I have to develop a Java application which connects to Facebook and allows me to sign in and chat with my friends. I did a lot of research on the internet but I couldn't find a way to do it, so please ...
1
vote
0
answers
326
views
Publication on facebook App --> OK but invisible on facebook page
I need to post a message from my facebook App to the facebook Page linked.
I explain how I do, please say me if it's no good. Thx.
1) I have created a facebook App.
So, I have a clientID and ...
0
votes
1
answer
670
views
how logout from facebook using facebook-java-api in java web application?
I am using Facebook-java-api to integrate the Facebook app in java web app(Struts), i am able to post to the wall and able to get user information. now my question is how to logout from the Facebook ...
0
votes
1
answer
165
views
FB.getLoginStatus not running in a $.ready
I need to run the fb inside a $.ready to do some checkings.
The alert in getLoginStatus function never trigger ?!
<script src="http://connect.facebook.net/en_US/all.js"></script>
<...
0
votes
1
answer
929
views
Java spring controller to receive facebook deauthorize callback
I want to write a java (spring controller) where i can receive callback url sent by facebook whenever a user de-authorizes my app.
I have specified the correct URL in my app and have read the ...
-3
votes
1
answer
691
views
I should want to publish post from by java web application (tomcat)
I've created a facebook software that allow a web application (tomcat) to publish a post in my wall.
I used facebook-java-api-3.0.2 library and for make this operation FacebookJsonRestClient....
8
votes
4
answers
9k
views
FB error:Expected 1 '.' in the input between the postcard and the payload
I have finished my app and then tried it on 3 FB accounts and it was ok,
but the 4th have a permanent error (it cannot get an access token):
com.restfb.exception.FacebookOAuthException: Received ...
2
votes
1
answer
589
views
Get access_token with java
After my request for the access_token i see it on a blank html page, on FB url and not on my address. Exactly like in FB doc:
http://developers.facebook.com/attachment/auth_token.png
I want it to ...
0
votes
1
answer
470
views
Intermittent iFrame Height
I have this code:
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.Canvas.setSize({ height: 6000 });
}
window.fbAsyncInit();
</script>
This resizes ...
1
vote
0
answers
386
views
channelUrl and stale pages, how to avoid
I am using the FB Javascript SDK in a website and it seems that the channel.php file is forcing my content to not refresh. In the channel.php file I have the following:
<?php
$cache_expire = 60*...
1
vote
1
answer
998
views
Facebook FBui 'stream.publish' to single friend (help needed)
I am having trouble getting code correct to have user (of my app) post to friend's wall. I want user to be able to pick single friend and post to thier stream. What am I missing to have the user ...
0
votes
1
answer
82
views
How can you send the exact number of notification (the number next to your apps) to facebook instead of each time we make a request?
I'm trying to have more control on the number we have next to our apps for the user, How can we just send the exact number to show instead of sending notification that increment that number each time. ...
0
votes
1
answer
1k
views
Fetch Facebook friends list using java code
is it possible to get facebook friends list without having the facebook api key user
can you explain
thank you
8
votes
5
answers
6k
views
Is there an up-to-date Facebook Java SDK? [closed]
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 ...
1
vote
1
answer
2k
views
Like button code doesn't work on my website
I found a few similar topics however none specific to my issue. I went to create a like button code, I clicked the create like box, added my link http://www.facebook.com/pages/SpartaPerformancecom/...
1
vote
2
answers
4k
views
Facebook Login dialog for mobile Web using oAuth
The facebook technical documentation looks like an ape threw it's own excrement at a website - and that's how useful it is too...
So I have this web app (for android devices) and I need to ...
1
vote
2
answers
539
views
Certain Images with post not appearing when hosted on https
I am creating a post with an image link in it. The images are hosted over https. It works for some servers and not for others.
This works and the image appears correctly with the Post:
https://...
2
votes
4
answers
8k
views
How can i get access_token and then use it?
In my web application i want users to login with their facebook account. I am doing it by redirecting url.
response.sendRedirect("http://www.facebook.com/dialog/oauth/?scope=email,user_about_me&...
1
vote
1
answer
2k
views
How implement Facebook-Login / facilitate site-register using Facebook
I want my users to be able to login or register on my Site using their Facebook-Account. Could be either like the user clicks the "Login using Facebook"-Button and is automatically logged in, while ...
0
votes
1
answer
228
views
HttpUtil, logger.debug
I am implementing facebook connect for my web application using facebook-java-api.
I am actually following a tutorial from this site
I have written a servlet to implement step 4 which is given in the ...
0
votes
1
answer
737
views
Facebook Javascript SDK API limit?
I have the following JS snippet:
$('.profile-link').each(function(){
link = $(this)
FB.api(link.attr('data-uid'), function(response) {
link.text(response.name)
});
})
And ...
0
votes
1
answer
1k
views
Uploading Image in Friend's Wall/account in Facebook Through Android
I want to upload an image to my friend's account/wall using Facebook Api Through My application in android.
I am able to upload the image to my account, but now I am trying to make it more functional ...
2
votes
1
answer
262
views
Facebook login user/page identifier
Sorry to ask this but browsing the awful Facebook documentation I cannot see the obvious - may to too obvious.
I have a FB application for users to put on their page OK, simple enough etc. but the ...
5
votes
4
answers
21k
views
Extracting user id from Facebook Javascript SDK session object
I am using Facebook's Javascript SDK "FB.ui" to pull up an OAuth dialog. Once you click allow, I need to capture the session object, extract the user id and use it further in my script. For some ...
1
vote
1
answer
709
views
FBJS JavaScript getElementById returning null?
FBJS is driving my mental, I am having problems with selecting elements. I have the following on the content of my page:
<button id="sendmessage" type="submit" style="border: 0; background: ...
3
votes
2
answers
1k
views
Android ACTION_SEND Intent and Google Analytics - how do I know what they picked?
We are using Google Analytics to track what features of our application are being used and how, but this question could also apply to any situation where you want to know what a user did after calling ...
2
votes
1
answer
2k
views
How to use Facebook Java API to add an attachment to a wall post?
Hey,
I have some trouble using the stream_publish method, more exactly with the attachment I want to include.
I am building a desktop application and I want to be able to post on a user's wall. The ...
1
vote
2
answers
6k
views
How to get facebook session key with facebook-java-api
How do I get the session key with the facebook-java-api ?#
What I did so far is this :
After I authorised my app to acces my facebook account I do get
redirected to the right redirect url in my app ...
0
votes
1
answer
568
views
FacebookXmlRestClient NotSerializableException on Google AppEngine
I've tried to follow the facebook-java-api filter example but i got this expection when
i attempted to save to the client object to the session. The code is being hosted on the google appengine ...
11
votes
5
answers
57k
views
Upload photo to Facebook with Facebook Android SDK in Android
I'm new to Android. I'm searching for load photo to facebook by authorization, getting access_token. How to do this? Please give me a sample code in Java.
4
votes
1
answer
2k
views
Are there any good Java API for facebook?
I've played around a bit with twitter4j and found it absolutely wonderful. Now I've been looking into the equivalent for facebook but so far haven't had much luck finding a decent project.
I looked ...