Code Monkey home page Code Monkey logo

Comments (7)

KyleAMathews avatar KyleAMathews commented on August 21, 2024

Happy to take a PR that adds exporting sale posts (if they're not already exported) but not interested in adding support for filtering. You can get a JSON version of your posts which is easy enough to filter.

from facebook-export.

montanaday avatar montanaday commented on August 21, 2024

Yes, the sale posts are exported but along with all other posts in a group. What I mean is to add an API call to check if the posts are sale posts and then export them accordingly to JSON using your script.. .

from facebook-export.

KyleAMathews avatar KyleAMathews commented on August 21, 2024

If it's a non-disruptive change, happy to merge a PR!

from facebook-export.

montanaday avatar montanaday commented on August 21, 2024

As I can see, a sale post is almost identical to a standard post (except for the embedded price and location info), so there is not much for identifying a sale post on Facebook API.

`
[

{
    "from": {
        "name": "FB group user name",
        "id": "xxxxxxxxxxxxxxxxx"
    },
    "message": "Sale Item Header Text Here\n€50 - Berlin, Germany\n\nDetailed Item Description Text.",
    "picture": "https://scontent.xx.fbcdn.net/v/t1.0-0/......",
    "link": "https://www.facebook.com/photo.php.....",
    "created_time": "2016-09-19T15:38:34+0000",
    "updated_time": "2016-09-19T15:38:35+0000",
    "id": "xxxxxxxxxxxxxxxxx",
    "to": {
        "data": [
            {
                "id": "xxxxxxxxxxx",
                "name": "Item Name"
            }
        ]
    }
}

]
`

from facebook-export.

itpao25 avatar itpao25 commented on August 21, 2024

is there any news? I'm trying to get the information on sale posts

from facebook-export.

andygomezb7 avatar andygomezb7 commented on August 21, 2024

You can only know why in the permalink url comes out sale_post_id but nothing else.

from facebook-export.

ShaneRich5 avatar ShaneRich5 commented on August 21, 2024

Is there a better way besides checking the permalink and parsing it yourself?

from facebook-export.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.