我可以通过Facebook进行实时流式传输,但是只有Onle me

时间:2019-05-28 15:29:14

标签: facebook

我的GraphRequest代码

GraphRequest livestream = GraphRequest.newPostRequest(
    graphRequest.getAccessToken(),
    "/" + graphRequest.getAccessToken().getUserId() + "/live_videos",
    new JSONObject("{\"title\":\"todayLive\",\"description\":\"This is the live video for today.\", \"status\" : \"LIVE_NOW\", \"targeting\" : \"\"}"),
    new GraphRequest.Callback() {
        @Override
        public void onCompleted(GraphResponse response) {
            Log.e("live : ", response.toString());

            jsonString = response.getJSONObject().toString();
        }
    });
livestream.executeAsync();

这可行,但是我只得到private个流。 如何仅获取public个流?

0 个答案:

没有答案