Comments (7)
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.
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.
If it's a non-disruptive change, happy to merge a PR!
from facebook-export.
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.
is there any news? I'm trying to get the information on sale posts
from facebook-export.
You can only know why in the permalink url comes out sale_post_id but nothing else.
from facebook-export.
Is there a better way besides checking the permalink and parsing it yourself?
from facebook-export.
Related Issues (20)
- Only 25 likes by post are retrieved HOT 3
- feature request: add function to get the names of people who liked the comment HOT 1
- user_groups does not exist in Facebook API HOT 2
- npm install -g facebook-export failing
- No such file or directory HOT 1
- Getting the replies made to a comment in a group's post HOT 2
- can't pull all the history HOT 1
- Grabbing posts by month and year altogether
- Members list HOT 4
- commands errors unless '~/groupsMetaData' is populated by 'list' command.
- only extract 25 groups & TypeError: Cannot read property 'name' of undefined error in facebook-export package
- No error when the API key is invalid or too old
- Update Request
- limit 5
- lock not found
- gyp ERR! stack Error: `make` failed with exit code: 2 HOT 1
- Facebook-export program error HOT 3
- SyntaxError: Unexpected end of input
- People with 2 surnames don't appear in the results HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-export.