Guest User

How To Use Facebook Api In Java

a guest
Jan 9th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1.  
  2.  
  3. ********************
  4. How To Use Facebook Api In Java
  5. http://urlin.us/bzvdi
  6. (Copy & Paste link)
  7. ********************
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. ResponseList results = facebook.searchGroups("programming"); . Once you register your web application in facebook, access will be provided to the APIs. Sign in to add this to Watch Later Add to Loading playlists. Facebook.getHome() returns a List of users latest News Feed. You can publish a message via Facebook.postStatusMessage() method. Unsubscribe from Radix Code? Cancel Unsubscribe Working. Loading. See the License for the specific language governing permissions and limitations under the License. Not the answer you're looking for? Browse other questions tagged java facebook facebook-graph-api restfb or ask your own question. Working. Loading. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software Distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Close Yeah, keep it Undo Close This video is unavailable. I am making a game in Java on the desktop. Conclusion: There are many social networking websites available but facebook is most popular. Introduction. Please tell me how to do this. In this tutorial series i will try my best to cover each and everything that you should know to work with facebook API using java language with RestFb library. You can see the license term at Contributors. Ashish Awasthi's Blog (Jdev/ADF) 945 views 2:35 Using the JAVA API Online Documentation - Duration: 14:54. After this facebook will generate a client id and secret key for the registered web application. facebook.getOAuthAppAccessToken(); . Please subscribe to my channel for future uploads , Thanks :)Other useful Links Website: Page: Group: Plus Page: Facebook Profile: Plus Profile: Profile : Category Science & Technology License Standard YouTube License Show more Show less Loading. asked 8 years, 4 months ago viewed 15,844 times active 7 years, 10 months ago Blog Take the 2018 Developer Survey Visit Chat Related 4067PUT vs. Getting Device Access Token. Sign in Share More Report Need to report the video? Sign in to report inappropriate content. // GET RawAPIResponse res = facebook.callGetAPI("me"); JSONObject jsonObject = actual.asJSONObject(); String id = jsonObject.getString("id"); // POST Map params = new HashMap (); params.put("message", "hello"); RawAPIResponse res = facebook.callPostAPI("me/feed", params); // DELETE RawAPIResponse res = facebook.callDeleteAPI("123456/likes"); if (res.isBoolean()) { System.out.println(res.asBoolean()); } . Create your website which will be using facebook APIs Create facebook account and register your application there. These libraries will help us communicate with facebook. [Close] You must be logged to download. Facebook provides convenient Graph API to integrate with their site 5a02188284
Add Comment
Please, Sign In to add comment