File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -149,11 +149,12 @@ export default {
149
149
var handle = response .instagram_handle
150
150
this .fetchInstagramPosts (response => {
151
151
var instaItems = {}
152
- for (var i = 0 ; i < response .items .length ; i++ ) {
153
- var item = response .items [i]
152
+ var items = response .user .media .nodes
153
+ for (var i = 0 ; i < items .length ; i++ ) {
154
+ var item = items[i]
154
155
instaItems[i] = {
155
- src: item .images . standard_resolution . url ,
156
- caption: item .caption .text . split (/ \r ? \n / )
156
+ src: item .thumbnail_resources [ 2 ]. src ,
157
+ caption: item .caption .split (/ \r ? \n / )
157
158
}
158
159
}
159
160
this .instagram = instaItems
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export default {
199
199
} ,
200
200
fetchInstagramPosts : function ( cb ) {
201
201
axios
202
- . get ( 'https://igpi.ga/displacedseries/media/?count=20 ' )
202
+ . get ( 'https://igpi.ga/displacedseries/?__a=1 ' )
203
203
. then ( response => { cb ( response . data ) } )
204
204
} ,
205
205
// ----------------------------------------------------- Fetch project images
You can’t perform that action at this time.
0 commit comments