Question: How do I convert the following code to get a list of the members in a group through a group id? I'm currently using facebook
How do I convert the following code to get a list of the members in a group through a group id? I'm currently using facebook api developer, restfb library, and netbean.
import com.restfb.Connection; import com.restfb.DefaultFacebookClient; import com.restfb.FacebookClient; import com.restfb.types.Group; import com.restfb.types.User; import java.util.List; import java.util.Scanner;
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */
/** * * @author */ public class Main {
/** * @param args the command line arguments */ public static void main(String[] args) { String accessToken = "insert your accessToken here"; Scanner input = new Scanner(System.in); FacebookClient fbClient = new DefaultFacebookClient(accessToken); Connection
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
