Comments (2)
I am looking for something similar too so I can go unlike all the stuff as now I'm being flagged as a bot.
from instagrapi.
As far as I can tell, this is the only endpoint we use to fetch liked posts: https://www.instagram.com/async/wbloks/fetch/?appid=com.instagram.privacy.activity_center.liked_media_screen&type=app&__bkv.
It looks like the __bkv
parameter stays the same for every request.
The issue is with the response object. The endpoint returns what seems to be a description of the likes page.
{
"bk.components.screen.Wrapper": {
"content": {
"bk.components.Flexbox": {
"flex_direction": "",
"children": [
{},
{},
{
"bk.components.Flexbox": {
"children": [
{
"bk.components.Flexbox": {
"children": [
{
"bk.components.Collection": {
"direction": "",
"children": [
{
"bk.components.Flexbox": {
"flex_direction": "column",
"justify_content": "center",
"on_bind": "(bk.action.array.Make,(bk.action.array.Make,(bk.action.i32.Const,2106111818),\"children\", (bk.action.array.Map,(bk.action.array.Make,(bk.action.map.Make,(bk.action.array.Make, \"row_info\", \"margin_bottom\"),(bk.action.array.Make,(bk.action.array.Make,(bk.action.map.Make,(bk.action.array.Make, \"item_info\"),(bk.action.array.Make,(bk.action.array.Make,(bk.action.map.Make,(bk.action.array.Make, \"media_id\", \"media_code\", \"media_product_type\", \"media_type\", \"media_image_url\", \"location_name\", \"icon\", \"margin_right\"),(bk.action.array.Make, \"3424572061128130266_1067259270\", \"C-GhiU7RP7a\", \"clips\", (bk.action.i32.Const, 2), \"https:\\\/\\\/scontent.cdninstagram.com\\\/v\\\/t51.29350-15\\\/453556695_1649886469135392_3213666516857190255_n.jpg?stp=dst-jpg_e0_s240x240&cb=b7820090-4a9c6a6a&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4zODl4Mzg5LnNkci5mMjkzNTAuY292ZXJmcmFtZV9ianBnX2RlZmF1bHQifQ&_nc_ht=scontent.cdninstagram.com&_nc_cat=100&_nc_ohc=ZTMIpK649QEQ7kNvgGOWVOY&gid=2a52a9c9d05e463e9397b03270af9d72&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=MzQyNDU3MjA2MTEyODEzMDI2Ng\u00253D\u00253D.2-ccb7-5&oh=00_AYBXQLKqt0ep5PYGaI7w8XhVybsF4aeLfVd-BAAIzOeq_w&oe=66B171E3&_nc_sid=10d13b\", \"\", \"reels\", \"2dp\"))",
"child_templates": [
{}
],
"id": 2106111818,
"_style": {}
}
}
],
"id": "2106111721"
}
}
],
"id": "2106111716",
"_style": {}
}
}
],
"id": "2106111715",
"extensions": [],
"_style": {}
}
}
],
"extensions": [],
"_style": {}
}
}
}
}
In on_bind
has all posts and infos about it. the infos is media_id, media_code, media_product_type, media_type, media_image_url, location_name, icon, margin_right
.
from instagrapi.
Related Issues (20)
- [BUG]
- Why do I get ChallengeChoice.EMAIL every time when I log in to get the SMS code? HOT 13
- login function always return true? HOT 2
- [BUG]
- [BUG]
- [feature request] broad cast channels HOT 1
- [BUG] DM direct_media_send/direct_send not working HOT 1
- [BUG] trying to follow user HOT 1
- Exception "Login Required" When Setting Account Status to Private After Automated Interactions
- [BUG] photo_upload and photo_upload_to_story fails when logged in via sessionid HOT 5
- ADD POSSIBILITY TO ADD MUSIC ON NOTE
- How to load all followers' names from an account that has almost 1k
- Reacting to a direct message
- [BUG]Even though I use the logout() function, the user is not logged out.
- AttributeError: 'Client' object has no attribute 'signup' HOT 8
- [BUG] Instragrapi not handling Reels.
- Signup function gets interrupted by Instagram HOT 13
- [BUG] DEDICATED RESIDENTIAL proxy doesn't work as mentioned
- [BUG] user_info_v1 gives status 404: Endpoint /v1/users/XXXXXXXX/info/ does not exist
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 instagrapi.