106 questions
0
votes
0
answers
42
views
Carousel ad creative with Placement Asset Customization with Facebook API
I am trying to create an Ad Creative using the Facebook API for a Carousel Ad using Placement Asset Customization to customize the images in the carousel for different placements (for example ...
0
votes
0
answers
631
views
Facebook marketing API - GraphInsecureException - The cipher AES128-GCM-SHA256 is not supported for TLSv1.2
Facebook marketing API - GraphInsecureException - The cipher AES128-GCM-SHA256 is not supported for TLSv1.2.
We are using the Facebook business SDK in our application in order to pull the ad_accounts &...
0
votes
0
answers
161
views
How to validate access token within Resource Server obtained from the iOS client
I am building a spring boot java resource server as a backend for an iOS app. The iOS App authenticates users using federated login with Facebook and passes access token for resource server to create ...
0
votes
1
answer
233
views
Facebook java business sdk 7.0.0 lib is missing AdsInsights class member data
Marketing API v7.0 (java lib: facebook-java-business-sdk.7.0.0)
I recently jumped from v5.0 to v7.0 and discovered that the following fields disappeared from the AdsInsights class:
@SerializedName(&...
1
vote
0
answers
341
views
Auto refresh facebook comments causes flicker
We have a facebook comments plugin in our web code and we want to update the comments section in realtime.
For this we are using FB.XFBML.parse() routine to parse the FB DOM. However when do so we ...
1
vote
1
answer
4k
views
Facebook Marketing API (#2654) Account Request Limits Reached, Sub Error Code:1870024
We've been using Facebook Marketing API v4.0. For an account, I keep getting error below. We cannot find any info about this sub error on Facebook docs. Our client deleted some Custom Audiences in ...
0
votes
1
answer
769
views
How to get a Facebook Ad Account's Conversions using the Java FB Business SDK?
I'm trying to get the clicks, spend, and conversions from an Ad Account over a certain time frame, so I downloaded sample code from FB to do so. After a few adjustments I was able to get it running, ...
1
vote
1
answer
1k
views
facebook webhook "Error The URL couldn't be validated. Please try again." no request recieved
I'm attempting to set up a java messenger bot. facebook keeps saying the url cannot be validated when I try to validate the webhook.
i dont see any get/post requests through ngrok or any ...
6
votes
1
answer
3k
views
Facebook Ads API how to get all campaigns that are in draft status
I have created a Ads and campaigns in Facebook Ads Manager. But they are not yet published
I have tried the following API call to get a list of all the campaigns I have created,
/v3.2/act_XXXX/...
0
votes
1
answer
176
views
Comment Count API Facebook Restfb Java
I've been programming a lot with restfb, but I'm not able to do a counting of comments, only the comments without the answers, the image can better illustrate.enter image description here
Example ...
0
votes
1
answer
260
views
AdSets api call Facebook
I am using Java SDK for marketing API from Facebook. I have problems with reading the Insights. I call the adsets of my account and for each adset I call the getInsights() function. Between requests ...
1
vote
0
answers
895
views
Asynchronous Batch Requests using Facebook Marketing API (JAVA)
is there a way to make asynchronous batch requests using java sdk? The docs show some examples using curl only. Does anyone have a java example?
BatchRequest batchRequest = new BatchRequest(...
1
vote
0
answers
120
views
getKeywordStats() not working (Facebook API Java SDK )
I'm using the official Facebook API Java SDK to retrieve stats for each of the interests used in the targeting of a specific ad (as described in https://developers.facebook.com/docs/marketing-api/...
1
vote
1
answer
214
views
Does an app need to be public for Marketing API use only
I am a developer and to use the marketing API I must have an app. I have this app and it is currently in development mode. Is it necessary to make this app public?
My initial thinking was 'no' and ...
1
vote
1
answer
554
views
Unable to implement Facebook Java APi
I need help with Facebook's marketing API.
I'm trying to create an ad using Facebook Java API.
I've email stored in my database, I want my program to take those email IDs and push them into custom ...
0
votes
1
answer
123
views
Java SDK for Facebook Ads API 2.10 missing AdsInsights.getFieldImpressionDevice() method
Currently using Facebook Ads SDK for Java v2.9 and trying to upgrade to v2.10 or v2.11. However, neither of the newer versions has the method getFieldImpressionDevice on the AdInsights object? I haven'...
2
votes
1
answer
4k
views
How to download facebook report using Insights API Asynchronous Jobs?
Hi I'am new to facebook marketing API. I want to download account complete report in csv format for which I am using Insights API Asynchronous Jobs , Using which I am able to get "report_run_id" and ...
1
vote
1
answer
484
views
facebook java ads sdk how to retrieve "delivery, results,result_rate,cost_per_result", and breakdown by day
I'm trying to use facebook's java sdk to generate the ads report. I mainly followed the Sample code, using new AdAccount(ad_account_id, context).getInsights() to retrieve data. But for the java sdk I ...
2
votes
1
answer
1k
views
Batch Requests for Insights on Facebook Marketing API (JAVA)
This should be really easy looking at FB documentation for the marketing api but the page is completely empty: https://developers.facebook.com/docs/marketing-api/asyncrequests/v2.10
Does anyone has a ...
0
votes
1
answer
2k
views
Unable to get ad insights in Facebook's Marketing API
As described in the marketing API, I have registered an app got my app key and and id, generated a token with ads permissions, list pages permission as well. The app is not yet submitted for approval.
...
2
votes
2
answers
5k
views
Get comments from facebook ads (marketing)
After I make an ads for my post on facebook ads manager.
Facebook Ads Manager show me how many comment belong to this ads. This is very important for me to verify the effective of my campaign.
In ...
1
vote
1
answer
647
views
authentication Facebook ad api
I need to create a Java app that stores ad names from a business account in a DB on a daily basis.
These are the steps taken:
-I was added to a business on Facebook with access to their ad ...
0
votes
1
answer
386
views
unknown host exception while accessing graph.facebook.com
I'm getting an java.net.unknownhostexception while accessing the URL but i'm able to access through browser.
public static void main(String[] args) throws IOException, JSONException`enter code ...
0
votes
2
answers
93
views
Android Facebook "You have already authorised appname"
I have integrated the Facebook SDK into my Android app (authenticating to Firebase). I am requesting "email" and "public_profile" permissions. I am testing this on a phone without the Facebook app, so ...
2
votes
1
answer
1k
views
facebook sdk / graph api - get custom audience current size?
Question - is there a way to get the current size of an audience from facebook? (if so, Java SDK details would be appreciated)
Why do I need this? - I'm looking to achieve the following in facebook ...
3
votes
0
answers
306
views
creating facebook short lived token from long lived token
Our app does not have a Facebook login. We have our own login that does not tie to Facebook login any way.
Our server uses a never expire token to make api calls (server to server) as majority of the ...
1
vote
0
answers
90
views
Sharing to social media, specifically Facebook
I've got a weird issue. I need to share different content depending on the social media that has been selected.
I found something that allows me to do it, it just becomes a problem when i need to ...
1
vote
0
answers
55
views
facebook ad statistics - facebook API
how to fetch the statistics of a particular ad. I guess it actually shows the overall statistics for the whole account.
is there any other way to fetch the details ?
1
vote
1
answer
543
views
Programmatically get like count of a photo from Facebook using java
I am developing an andorid app which post some photo on Facebook, at the same time I want to calculate the number of likes of that photo from my android app.
For information -
I am using Facebook SDK ...
0
votes
2
answers
117
views
Facebook Login With Android
i need help to integrate facebook with my android app
my manifest are this:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" ...
1
vote
0
answers
139
views
How to access total Amount Spent in Facebook API Java for Business accounts
I am creating an analytics page for my website. So I need to get data from facebook API. My current code is
public class HelloFacebookAPI {
public static final String ACCESS_TOKEN = [TOKEN];
...
3
votes
1
answer
2k
views
OOAuthException: An active access token must be used to query information about the current user
I am using restfb java sdk for adding facebook login in my app
i have already created a test app but when i try to get the detail of the user following error message displayed
[...
1
vote
1
answer
293
views
Renew users permission Facebook
I have a slight problem with user permissions in my Facebook login flow. I am able to ask for permissions only during first login to my App. But problem is if user logged into app remove permission ...
0
votes
0
answers
164
views
Facebook integration in web application
How to solve error of getting same user information in login with Facebook for different user in my web application developed in Java?
Here is the main connection class to connect with facebook.
...
0
votes
1
answer
1k
views
Get posts from a user using restfb
I want to fetch the public posts from a user(not page) using restfb. I have added all permission in User Data Permissions and Extended Permissions in Graph API Explorer. Still i am not getting the ...
0
votes
1
answer
238
views
Is there a way to fetch more than 25 photos from an album with Facebook4j
I am using facebook4j to fetch photos from albums on a facebook webpage in order to make a gallery on my website.
However I cannot get more than 25 photos at once (even if there is more in the album ...
1
vote
1
answer
905
views
Facebook4j access token error 2500
I would like get data from facebook with facebook4j library, but I received this error
An active access token must be used to query information about the
current user. code - 2500
The code:
...
2
votes
0
answers
145
views
Application ID is not registering in the graph
I've developed an android application, and I successfully integrated facebook sdk in my APP.
I made some tests before on HelloFacebookSample application that comes with facebook sdk.
The Application ...
1
vote
1
answer
697
views
Use oAuth token with Azure MobileServiceClient.login()
I am using the native Facebook SDK (through an opensource tool called 'SimpleFacebook') to authenticate with Facebook. That part is working great. I find the Microsoft Azure implementation of Facebook ...
-1
votes
1
answer
179
views
How to set callback_url to facebook subscription to get facebook realtime updates using java graph api?
I have used the below link to set the subscription for facebook application:
https://graph.facebook.com/v2.2/MY_APP_ID/subscriptions?callback_url=MY_CALLBACK_URL?object=user&fields=feed&...
1
vote
0
answers
807
views
facebook4j search public posts issue
I am using facebook4j to collect posts on a particular topic.
The code runs all find and I am able to search the topics.
But the result also contains the irrelevant data. Example if i search a ...
1
vote
2
answers
2k
views
Facebook4j get page likes
I am using facebook4j-core-2.1.0 and trying to get the page likes. I don't know what I am doing wrong, I am kinda newbie at this.
public static void main(String[] args) throws FacebookException
...
2
votes
0
answers
1k
views
Facebook Graph API Pagination - Facebook4j - persisting the since and until
I have been using Facebook4j for a Facebook graph API related requirement and my requirement is quite simple.
Requirement : I need search Facebook objects (all public objects- posts/comments/pages/ ...
1
vote
1
answer
3k
views
facebook real time update in java example
I'm working on a project which uses Facebook Graph Api to collect information about the public posts. There is a need to update this data Real-Time when changes come to this posts. i have seen a real ...
1
vote
0
answers
604
views
Facebook API - How to get link to a comment?
I am using the Facebook4J API and I want to get the link to a comment.
I get a ResponseList<facebook4j.Post> and check each Post for comments. For every comment I find I want to generate the ...
1
vote
0
answers
1k
views
Facebook4j - "null information" from FriendList
I've been trying to get some informations from my Friends throught facebook4j. But every time I try to do it I receive only null pointers (except on id/name).
Here's the code:
`
Stalker(String ...