1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        RestFBFacebook API 的 Java 封裝請求處理組件

        聯(lián)合創(chuàng)作 · 2023-09-29 09:41

        一款facebook獲取及數(shù)據(jù)處理的開源組件。

        比較spring的social組件優(yōu)點是沒有太多的封裝,缺點是支持facebook,spring的是啥都支持。

        示例代碼:

        // Searching is just a special case of fetching Connections -
        // all you have to do is pass along a few extra parameters.

        Connection<Post> publicSearch =
          facebookClient
        .fetchConnection("search", Post.class,
           
        Parameter.with("q", "watermelon"), Parameter.with("type", "post"));

        Connection<User> targetedSearch =
          facebookClient
        .fetchConnection("me/home", User.class,
           
        Parameter.with("q", "Mark"), Parameter.with("type", "user"));

        out.println("Public search: " + publicSearch.getData().get(0).getMessage());
        out.println("Posts on my wall by friends named Mark: " + targetedSearch.getData().size());
        瀏覽 23
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        評論
        圖片
        表情
        推薦
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            国产又粗又大 | 成人大香蕉视频 | 18禁| 亚洲男女在线观看 | 人人操人人干人人摸 | 性瘾受大乳奶水bl1v1 | www视频在线免费观看 | 成人无码免费看 | 亚洲高潮视频 | 欧美色图888 |