enginebai/PyMedium

The API response can't get the whole post URL

enginebai opened this issue · 1 comments

{
    "26594f13f9f7": {
        "acceptedAt": 0,
        "allowResponses": true,
        "approvedHomeCollectionId": "275e26e7c1b2",
        "canonicalUrl": "",
        "content": {
            "postDisplay": {
                "coverless": true
            },
            "subtitle": "最近聊天機器人Bot這股趨勢才慢慢要崛起,之前做了一點觀察紀錄,這次進入實作階段,首先就直接使用Facebook Message Platform做為開始。"
        },
        "coverless": true,
        "createdAt": 1463114334145,
        "creatorId": "3301d32a6bba",
        "detectedLanguage": "zh-Hant",
        "displayAuthor": "",
        "experimentalCss": "",
        "firstPublishedAt": 1463362614400,
        "hasUnpublishedEdits": false,
        "homeCollectionId": "275e26e7c1b2",
        "id": "26594f13f9f7",
        "importedPublishedAt": 0,
        "importedUrl": "",
        "inResponseToMediaResourceId": "",
        "inResponseToPostId": "",
        "inResponseToRemovedAt": 0,
        "isApprovedTranslation": false,
        "isRequestToPubDisabled": false,
        "isSeries": false,
        "isSponsored": false,
        "isSubscriptionLocked": false,
        "isTitleSynthesized": true,
        "latestPublishedAt": 1464044751035,
        "latestPublishedVersion": "a9cd5e24bc87",
        "latestRev": 1003,
        "latestVersion": "a9cd5e24bc87",
        "license": 0,
        "mediumUrl": "",
        "migrationId": "",
        "newsletterId": "",
        "notifyFacebook": false,
        "notifyFollowers": true,
        "notifyTwitter": false,
        "previewContent": {
            "bodyModel": {
                "paragraphs": [
                    {
                        "alignment": 1,
                        "markups": [],
                        "name": "85d4",
                        "text": "用Python開發Facebook Bot",
                        "type": 3
                    },
                    {
                        "alignment": 1,
                        "markups": [
                            {
                                "anchorType": 0,
                                "end": 31,
                                "href": "https://medium.com/dualcores-studio/聊天機器人的產業觀察紀錄-cdd9d993d46b#.nlzbroahg",
                                "rel": "",
                                "start": 27,
                                "title": "",
                                "type": 3
                            },
                            {
                                "anchorType": 0,
                                "end": 73,
                                "href": "https://developers.facebook.com/docs/messenger-platform",
                                "rel": "",
                                "start": 48,
                                "title": "",
                                "type": 3
                            }
                        ],
                        "name": "65ce",
                        "text": "最近聊天機器人Bot這股趨勢才慢慢要崛起,之前做了一點觀察紀錄,這次進入實作階段,首先就直接使用Facebook Message Platform做為開始。",
                        "type": 1
                    },
                    {
                        "layout": 9,
                        "markups": [
                            {
                                "anchorType": 0,
                                "end": 46,
                                "href": "https://messengerplatform.fb.com",
                                "rel": "nofollow",
                                "start": 14,
                                "title": "",
                                "type": 3
                            }
                        ],
                        "metadata": {
                            "id": "1*FaXmJ1pHvSc55lwckZxKuQ.png",
                            "originalHeight": 698,
                            "originalWidth": 1278
                        },
                        "name": "af96",
                        "text": "",
                        "type": 4
                    }
                ],
                "sections": [
                    {
                        "startIndex": 0
                    }
                ]
            },
            "isFullContent": false
        },
        "responseHiddenOnParentPostAt": 0,
        "slug": "用python開發facebook-bot",
        "title": "用Python開發Facebook Bot",
        "translationSourceCreatorId": "",
        "translationSourcePostId": "",
        "type": "Post",
        "uniqueSlug": "用python開發facebook-bot-26594f13f9f7",
        "updatedAt": 1467813266572,
        "versionId": "a9cd5e24bc87",
        "virtuals": {
            "allowNotes": true,
            "imageCount": 11,
            "isBookmarked": false,
            "isLockedPreviewOnly": false,
            "links": {
                "entries": [
                    {
                        "alts": [
                            {
                                "type": 2,
                                "url": "medium://p/cdd9d993d46b"
                            },
                            {
                                "type": 3,
                                "url": "medium://p/cdd9d993d46b"
                            }
                        ],
                        "url": "https://medium.com/dualcores-studio/%E8%81%8A%E5%A4%A9%E6%A9%9F%E5%99%A8%E4%BA%BA%E7%9A%84%E7%94%A2%E6%A5%AD%E8%A7%80%E5%AF%9F%E7%B4%80%E9%8C%84-cdd9d993d46b#.nlzbroahg"
                    },
                    {
                        "alts": [
                            {
                                "type": 2,
                                "url": "medium://dualcores-studio"
                            },
                            {
                                "type": 3,
                                "url": "medium://dualcores-studio"
                            }
                        ],
                        "url": "http://dual-cores.com"
                    }
                ],
                "generatedAt": 1471975490664,
                "version": "0.3"
            },
            "metaDescription": "",
            "previewImage": {
                "backgroundSize": "",
                "filter": "",
                "height": 0,
                "imageId": "1*FaXmJ1pHvSc55lwckZxKuQ.png",
                "originalHeight": 698,
                "originalWidth": 1278,
                "strategy": "resample",
                "width": 0
            },
            "publishedInCount": 1,
            "readingTime": 2.349056603773585,
            "recommends": 32,
            "responsesCreatedCount": 3,
            "socialRecommendsCount": 0,
            "statusForCollection": "APPROVED",
            "subtitle": "最近聊天機器人Bot這股趨勢才慢慢要崛起,之前做了一點觀察紀錄,這次進入實作階段,首先就直接使用Facebook Message Platform做為開始。",
            "tags": [
                {
                    "metadata": {
                        "coverImage": {
                            "id": "1*wybYEzkMts0D1BloD1vH4A.png",
                            "originalHeight": 1244,
                            "originalWidth": 3000
                        },
                        "followerCount": 2509,
                        "postCount": 5078
                    },
                    "name": "Bots",
                    "postCount": 5078,
                    "slug": "bots",
                    "type": "Tag",
                    "virtuals": {
                        "isFollowing": false
                    }
                },
                {
                    "metadata": {
                        "coverImage": {
                            "id": "1*wybYEzkMts0D1BloD1vH4A.png",
                            "originalHeight": 1244,
                            "originalWidth": 3000
                        },
                        "followerCount": 165,
                        "postCount": 893
                    },
                    "name": "Facebook Messenger",
                    "postCount": 893,
                    "slug": "facebook-messenger",
                    "type": "Tag",
                    "virtuals": {
                        "isFollowing": false
                    }
                },
                {
                    "metadata": {
                        "coverImage": {
                            "id": "1*nAr_UQ1RcT-2mcfstPLocQ.jpeg",
                            "originalHeight": 750,
                            "originalWidth": 1061
                        },
                        "followerCount": 4668,
                        "postCount": 3793
                    },
                    "name": "Python",
                    "postCount": 3793,
                    "slug": "python",
                    "type": "Tag",
                    "virtuals": {
                        "isFollowing": false
                    }
                }
            ],
            "takeoverId": "",
            "totalClapCount": 0,
            "usersBySocialRecommends": [],
            "wordCount": 278
        },
        "visibility": 0,
        "vote": false,
        "webCanonicalUrl": ""
    }
}

Added at 2423673.