strohne / Facepager

Facepager was made for fetching public available data from YouTube, Twitter and other websites on the basis of APIs and webscraping.
https://github.com/strohne/Facepager/releases
506 stars 198 forks source link

Unable to export data completely #150

Closed ernyigoh closed 3 years ago

ernyigoh commented 3 years ago

I am able to obtain all the complete data in JSON format, as shown below:

{
    "id": "455131224505833_4315167361835514",
    "message": "Experience unparalleled colour accuracy thanks to GFX100S\u2019 16-bit images. Almost perfect shifts in colour tones are recorded by the camera\u2019s large format sensor and delivered in true-to-life images (with up to 281 trillion colours all on display). This allows photographers to capture all the magnificent beauty that mother nature has to offer.\n\nFind out more about the GFX100s here: https://fujifilm-x.com/en-my/products/cameras/gfx100s/ \n\n#Fujifilm #Fujifilmmy #Fujifilmmalaysia #gfx #gfx100s #morethanfullframe #digitalphotography #photography",
    "created_time": "2021-05-18T09:54:09+0000",
    "updated_time": "2021-05-18T09:54:09+0000",
    "picture": "https://scontent.fkul8-1.fna.fbcdn.net/v/t1.6435-0/s130x130/184760106_4315142931837957_9073906745232820633_n.jpg?_nc_cat=100&ccb=1-3&_nc_sid=8024bb&_nc_eui2=AeGR9LM_zCrNOE_8qH_qSMO8mLz8HndiQqSYvPwed2JCpDXzGo8x_NutySYnGLJD6yF1iLPHyBndW9WmhjhUkxEy&_nc_ohc=Ls_VfZTzl_sAX_p7-rP&_nc_ht=scontent.fkul8-1.fna&tp=7&oh=66a1f7d2f1de2fb0637ed7b20ceaf7db&oe=60C91F2D",
    "full_picture": "https://scontent.fkul8-1.fna.fbcdn.net/v/t1.6435-9/s720x720/184760106_4315142931837957_9073906745232820633_n.jpg?_nc_cat=100&ccb=1-3&_nc_sid=8024bb&_nc_eui2=AeGR9LM_zCrNOE_8qH_qSMO8mLz8HndiQqSYvPwed2JCpDXzGo8x_NutySYnGLJD6yF1iLPHyBndW9WmhjhUkxEy&_nc_ohc=Ls_VfZTzl_sAX_p7-rP&_nc_ht=scontent.fkul8-1.fna&tp=7&oh=8d1666d23b4e6a7ab9b54399b05f600b&oe=60C9BDA2",
    "attachments": {
        "data": [
            {
                "media_type": "album",
                "unshimmed_url": "https://www.facebook.com/455131224505833/posts/4315167361835514/",
                "url": "https://www.facebook.com/455131224505833/posts/4315167361835514/"
            }
        ]
    },
    "comments": {
        "data": [],
        "summary": {
            "order": "ranked",
            "total_count": "0",
            "can_comment": "True"
        }
    },
    "reactions": {
        "data": [],
        "summary": {
            "total_count": "20",
            "viewer_reaction": "NONE"
        }
    },
    "like": {
        "data": [],
        "summary": {
            "total_count": "19",
            "viewer_reaction": "NONE"
        }
    },
    "love": {
        "data": [],
        "summary": {
            "total_count": "0",
            "viewer_reaction": "NONE"
        }
    },
    "haha": {
        "data": [],
        "summary": {
            "total_count": "0",
            "viewer_reaction": "NONE"
        }
    },
    "wow": {
        "data": [],
        "summary": {
            "total_count": "1",
            "viewer_reaction": "NONE"
        }
    },
    "sad": {
        "data": [],
        "summary": {
            "total_count": "0",
            "viewer_reaction": "NONE"
        }
    },
    "angry": {
        "data": [],
        "summary": {
            "total_count": "0",
            "viewer_reaction": "NONE"
        }
    }
}

However, when I export the data, I am unable to obtain the attachment details. The attachment column is blank in the CSV file. image

Please take a look. Thanks

strohne commented 3 years ago

Hi, may I ask you to ask such questions related to using Facepager in the User Group on Facebook? The issue system is for development purposes only.

Regarding your question: you need a composite key with dot notation, see the Wiki, section keys and placeholders.