All Questions
53
questions
0
votes
1
answer
3k
views
Converting the timestamp from Facebook data after downloading messages in JSON format in Java [duplicate]
I was unable to find an answer to this problem, so once I figured it out, I felt posting the answer might help other people down the road.
The issue is when you have downloaded your messages from ...
1
vote
1
answer
779
views
volley json array get only last element
package net.myaapp.app.weatherapp;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
import com.android.volley....
0
votes
1
answer
663
views
Send JSON in query String
Am trying to login to my web application using facebook, it was working okey till recently I started getting this error
java.net.URISyntaxException: Illegal character in query at index 43: https://...
0
votes
1
answer
65
views
How to use Facebook in Codename one to display user posts in list view using graph query
I am trying to fetch users posts from Facebook in Codename one, but I am unable to fetch it, can anyone help me out from this issue.
Is there any another method to retrieve posts from facebook and ...
0
votes
1
answer
1k
views
Facebook Messenger API: Send Structured Message(Java)
In using Facebook messenger to send structured messages using generic template based on official documentation here. 'm using Java to construct the JSON object. Whenever I send the JSON to Facebook I ...
1
vote
0
answers
286
views
Facebook4j authentication issue
I am trying to make a java app which makes connection with facebook.I am using facebok4j to achieve this,I made an app in fb devolopers and got the key annd id for it.But when i am passing it to get ...
0
votes
2
answers
2k
views
How to invoke virtual method 'java.lang.String org.json.JSONObject.getString(java.lang.String)' on a null object reference
I am using Facebook Login for my app that uses firebase. When user logs in, the app is supposed to pull info from Facebook such as name, email, gender, location, bio, ect. This worked fine before I ...
1
vote
1
answer
3k
views
Facebook messager not send message
I would like to show my codes but I do not know why my facebook has not got the message. Thank you very much for help
HttpURLConnection myConnection = (HttpURLConnection) ((new URL("https://...
-1
votes
1
answer
99
views
Get variable "picture" from json GraphRequest Facebook SDK using gson
I've made login and handle the accesstoken, also get the response from GraphResponse FacebookSDK.
What I would like to achieve is get the data "picture" from json response.
how could i possibly parse ...
0
votes
0
answers
291
views
Facebook API in Java - restfb
I try to use restfb to communicate with Facebook API and I can not get the thing - why in some cases I have to use fetchObject method and in other I have to use fetchConnection?
Example
...
0
votes
1
answer
595
views
How to break paging and save the data in a single string object?
I'm trying to fetch page post from the facebook.fb is giving data of likes based on paging concept so able get 1000 likes of a post and other likes data is in the next link.My code is working fine to ...
3
votes
2
answers
180
views
Facebook GraphRequest returning illegitimate results on different profiles
I have created an application which has a login/register with Facebook option. The functionality is working fine for some profiles and causing issues on other profiles. I wanted to get the following ...
1
vote
5
answers
4k
views
How to parse JSONObject retrieved from facebook in android using Java?
I am trying to parse JSONObject returned from facebook graph API in java.
I want to fetch some user data and friends' data through graph api.
The graph I am trying to parse is this:
{
"id": "...
0
votes
2
answers
377
views
\b in Facebook message and XML serialization
I'm coding a crawler which retrieves some Facebook posts and serialize them as XML.
My problem is the following: I've found that some messages with some special characters (such as \b), when I wrote ...
0
votes
3
answers
68
views
Application crashs while parsing JSON data
Hello guys so I’m trying to get a list of liked pages by the user.
first of all this is how the informations looks like :
{
"likes": {
"data": [
{
"name": "...