2017-06-21 166 views

回答

0

您將獲得json格式的facebook發佈數據,您可以根據自己的要求進行分析。

GraphRequest request = GraphRequest.newGraphPathRequest(
       AccessToken.getAccessToken(), 
       "/YOUR_PAGE_ID/posts", 
       new GraphRequest.Callback() { 
        @Override 
        public void onCompleted(GraphResponse response) { 
         // Insert your code here 

         Log.d("raw response ",response.getRawResponse()); 
        } 
       }); 

     request.executeAsync(); 
相關問題