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 time update mechanism using call back url https://developers.facebook.com/docs/graph-api/reference/app/subscriptions/ and https://developers.facebook.com/docs/graph-api/real-time-updates/ .. But i didnt get any idea of doing this in java. Please somebody help me using an example.
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in FACEBOOK-GRAPH-API
- Facebook Post Images from local system on own Page
- How can I get posts from a facebook page using the graph API?
- Not getting all leads from Meta/Facebook using webhook for page leadgens
- Unsupported post request when trying to create a custom audience via the endpoint https://graph.facebook.com/lapi-version), (custom-audience-id/users)
- Page access token
- Facebook login via JS-SDK via OAuth will get stuck half-way
- Python - Facebook Check For Duplicate Post Before Posting
- Facebook Graph API - Story endpoint does not return all active stories
- Can't set permissions in Graph API Explorer tool
- My Authentication is not working in published mode
- Can I get my comment's reactions in FB Graph API Explorer
- Facebook GraphAPI: page subscribed_apps with subscribed_fields messages is not working
- Get Ad Account Billing Payment Transactions
- How to get a person’s username by his ID without a request to the graph?
- I am having trouble understanding the docs for Facebook Login SDK
Related Questions in RESTFB
- Why restfb library fails updating Facebook Page info?
- Why Facebook Page Address does not get updated Using Graph API v19.0?
- How to edit the photo of a Facebook post in Graph Facebook API?
- How to handle FacebookOAuthException in restFB and Java?
- How to dynamically use parameters in publish methode?
- Does restFB API support content_publishing_limit from Instagram Graph API?
- Can I access Facebook Ads archive using RestFB?
- facebook api upload video, it returns code 6000, subcode 1363048, try again makes no sense
- How do i search for type in restfb java?
- Interacting with Instagram accounts directly via FB graph API
- How to login in Facebook using mvn project with java
- posting to / reading from facebook page on behalf off server side facebook app (java & restfb)
- Read page messages
- How to get Batch Status from Facebook API using RestFB
- How can I identify the bug in my Java restfb call to post to my personal Facebook feed?
Related Questions in FACEBOOK-JAVA-API
- Flaky(Missing Permission) when calling get adaccount, upload custom audience for facebook-java-business-sdk: v16.0.0
- Facebook marketing API - GraphInsecureException - The cipher AES128-GCM-SHA256 is not supported for TLSv1.2
- How to validate access token within Resource Server obtained from the iOS client
- Facebook java business sdk 7.0.0 lib is missing AdsInsights class member data
- Auto refresh facebook comments causes flicker
- Facebook Marketing API (#2654) Account Request Limits Reached, Sub Error Code:1870024
- How to get a Facebook Ad Account's Conversions using the Java FB Business SDK?
- facebook webhook "Error The URL couldn't be validated. Please try again." no request recieved
- Facebook Ads API how to get all campaigns that are in draft status
- Comment Count API Facebook Restfb Java
- AdSets api call Facebook
- Asynchronous Batch Requests using Facebook Marketing API (JAVA)
- getKeywordStats() not working (Facebook API Java SDK )
- Does an app need to be public for Marketing API use only
- Unable to implement Facebook Java APi
Related Questions in FACEBOOK-JAVA-SDK
- Get posts from a user using restfb
- Application ID is not registering in the graph
- Use oAuth token with Azure MobileServiceClient.login()
- facebook4j search public posts issue
- facebook real time update in java example
- Facebook SDK library disabling
- FacebookSDK for Android: How to store the GraphObject from a Response as a member variable for later access
- Facebook 3.0 issue with login
- Looking for Java Model Classes for Facebook Graph API
- Android:Facebook android application
- GET photos from Facebook Event wall (including public photos of not-friends)
- Java Desktop Application which connects to Facebook
- Facebook post text on wall - access token always NULL
- FB.getLoginStatus not running in a $.ready
- Java spring controller to receive facebook deauthorize callback
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Real time updates are available for page and user objects.Both of them requires the access token of the respective page or user.(For page you can check it using me/accounts or get it via giving page access permissions to your app).
Step 1: You will need a public ip where facebook will post the updates. Step 2: You need to setup your fb app to initiate real-time updates setup
Step 3:This will trigger facebook callback url validation.It can be a servlet or any other which will process the updates posted to callback url.Facebook will provide a challenge code in a get request which you need to resend.
}
Step 3: Add your application as a page tab to subscribe from real time updates from that page.you will need a page Access token
Step 4 : Facebook will post updates via post request to your call back url.