yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] iHelp101:
Alright, I got the following me feature working. After 12+ hours of trying to figure out a possible way to get everything working correctly I found the missing piece. To do this I inject into the request that tells Instagram about user relationships (Do you follow the user, do they have a private profile, etc.). Through that I jump to the actual API request and get the bytes of that request. I convert the bytes to a string. That string is in JSON format, so I parse the JSON for "followed_by" and I get my answer.

It sounds like everything work perfectly doesn't it? Well it works quite well, but the indicator is what is difficult. I am sure that everyone wants it to say "Follows You" or "*Number Of Following* (You)" when a user is following you. The issue is I can't do this because the following count change depends on the connection (Writes over my changes). An easy thing I can do however is change the color of the following count (If person is following you). That can be set instantly and doesn't have an issue in terms of network latency.

The last thing is this adds seven additional hooks to the hooks file. A feature such as the copy feature or suggestion hider has two hooks. The feature is will be ready for the next update if it is wants as-is. I have linked below a video showing the current functionality. I would love some feedback of the feature.

https://gfycat.com/AnnualDisgustingAntelope
[Xposed Framework Modules] Neff_V:
It's great :):good:

Sent using XDA One
[Xposed Framework Modules] Jude Aranha:
Works for me !

OT - Cats of Instagram <3

~Tapatalk'd v¡a my OnePlus X
[Xposed Framework Modules] j1gga84:
[MENTION=5712278]iHelp101[/MENTION]

I upgraded to Android 6.0.1 (AICP 11 - CM13.0 based) but download fails.

I am using Instagram 7.17.0 build 23322206 and want to save media on external SD.

Log says:

02-25 17:58:06.721 I/Xposed ( 3529): XInsta: XInsta Initialized

02-25 17:58:06.722 I/Xposed ( 3529): XInsta: Instagram Version Code: 23322206

02-25 17:58:06.725 I/Xposed ( 3529): XInsta: Device Codename: qcom

02-25 17:58:06.738 I/Xposed ( 3529): XInsta: Android Version: 6.0.1

02-25 17:58:07.631 I/Xposed ( 3529): XInsta: Hooks Fetched!

02-25 17:58:07.631 I/Xposed ( 3529): XInsta: Instagram First Hook: com.instagram.android.feed.adapter.a.aj

02-25 17:58:13.772 I/Xposed ( 3477): XInsta: Switch Link - Different Media Type

Regards

Sent from my SM-G900F using german Tapatalk 4
[Xposed Framework Modules] iHelp101:
I will be PMing you a test APK to target your issue.
[Xposed Framework Modules] Reomar:
good and very helpful module thanks alot :)

but I have been facing some problems for a while ago when I click download an notification comes down saying "downloading..."

but it never download it keep saying download for hours and no thing happens????:confused::confused:
[Xposed Framework Modules] zolaisugly:
Try updating hooks then reboot device
[Xposed Framework Modules] iHelp101:
I had another report of this recently. Are you by any chance using 4.4.4?
[Xposed Framework Modules] Reomar:
No Iam using 5.1.1

---------- Post added at 12:41 PM ---------- Previous post was at 12:31 PM ----------

I updated the hooks but still the same proplem ?

Edit: it finally downloaded after about 15min and its 2 downloads per time but still it takes a long time and i dont think its from my internet becouse it works well?
[Xposed Framework Modules] iHelp101:
That is quite strange. Are you able to constantly reproduce this issue or is it random?
[Xposed Framework Modules] saeed81:
with update hooks dosent work anymore
[Xposed Framework Modules] Reomar:
It's randomly ??

Is there any thing that can affect this module from working well???
[Xposed Framework Modules] iHelp101:
Can you provide your error log (XInsta -> Three Dot Icon -> Send Error Log)? Thank you.
[Xposed Framework Modules] iHelp101:
Are you using an data-saving application such as Opera Max or maybe a VPN? In the next update (Delayed because of some of the issues reported) I will alter some of the downloading code. It will hopefully resolve your issue.
[Xposed Framework Modules] Athakuri700:
This doesn't work consistently in version 7.17.0 I lose download button and get anytime.
[Xposed Framework Modules] j1gga84:
[MENTION=5712278]iHelp101[/MENTION]

did you get saving to external SD work under CM13?

You can browse to the external SD to any folder but saving fails as mentioned.

The strange thing is, saving to internal works only under /sdcard/download (for example)

storage/emulated is empty (storage/emulated/0 is not visible)

regards
[Xposed Framework Modules] iHelp101:
Can you attach open XInsta -> Three Dot Icon -> Send Error Log? It sounds like you didn't give Instagram storage permissions (If you are using Marshmallow).
[Xposed Framework Modules] iHelp101:
I have a Moto G on CM13 and I have /storage/emulated/0. This however is simply a link to the actual location. You can check /mnt/shell/ to see if the actual emulated storage exist. Also you can try using /mnt/sdcard/ as a save location. Samsung devices on Marshmallow for some reason don't like this module. I have one test Samsung device (Galaxy S Blaze 4G), but it of course doesn't have Marshmallow. I might just purchase a newer Samsung device to be able to help solve more issues that get reported with Samsung devices.
[Xposed Framework Modules] Reomar:
no Iam not using any of these :( I hope it solve my problem

that is crazy strange thing !!!!

in the time i was writing this reply it was working perfect when I was done from writing it the same problem returned, then I killed instagram app and it worked well again:confused: I really dont know what is happing:confused:
[Xposed Framework Modules] iHelp101:
I found a possible issue where in some cases the download notification is not updated. I will be sending you a test APK soon to see if it resolves your issue.
[Xposed Framework Modules] Reomar:
ok thanks I will be waiting :o
[Xposed Framework Modules] j1gga84:
I have a Screenshot of /mnt attached.

External SD is under media_rw

Btw Instagram 7.18.0 is out, don't know if hooks changed ;)

Regards
[Xposed Framework Modules] iHelp101:
The hooks have been updated for Instagram 7.18.0. Enjoy the module!

Fun Fact: Instagram broke only four hooks in this update.

PS: The next version of XInsta should be released soon. I am still working on making sure all the individuals facing issues have been given a test APK that resolves their issue(s).
[Xposed Framework Modules] Gruber11:
Does anyone have problem with profile picture download? I don't even have the option to download it. I'm on instagram 7.17.0 with latest xinsta.
[Xposed Framework Modules] Gruber11:
Here you go:

20160303_011804 - XInsta Initialized 20160303_011804 - Instagram Version Code: 23322206 20160303_011804 - Device Codename: qcom 20160303_011804 - Android Version: 5.1.1 20160303_011805 - Instagram First Hook: com.instagram.android.feed.adapter.a.aj 20160303_011805 - Direct Share Option Button Failed - java.lang.NoSuchMethodError: com.instagram.android.directsharev2.b.dn#f(com.instagram.android.directsharev2.b.dn)#exact 20160303_011805 - Profile Icon Failed - java.lang.NoSuchMethodError: com.instagram.android.fragment.iu#b()#exact 20160303_011805 - Profile Icon Click Listener Failed - java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
[Xposed Framework Modules] iHelp101:
I see the issue. Open XInsta and manually update your hooks (Click GitHub). Thank you.
[Xposed Framework Modules] Gruber11:
I have tried it before, but now it's working. Thank you! [emoji2]
[Xposed Framework Modules] iHelp101:
I am still waiting on three individual to get back to me on their issues. They all were provided a test APK that aimed to solve their issues. I can only assume that them not replying or contacting me again means the APK worked. I will be aiming to release the next update tonight.
[Xposed Framework Modules] Eduardo ortiz:
Hey my xinsta isn't working and I have 0 clues why I've had it for like 2 months and this morning it just stopped working I'm unable to download pictures/videos when I click the 3dots
[Xposed Framework Modules] Eduardo ortiz:
It just says this Please check out my XInsta Error Log. It doesn't show up as an option to download
[Xposed Framework Modules] iHelp101:
Yes, I need your error log to find out what the issue is. If you open XInsta -> Three Dot Icon -> Send Error Log you can email the error to me. If you don't want to do that you can Open Xposed -> Logs and attach your Xposed log to your next post or PM it to me.
[Xposed Framework Modules] iHelp101:
XInsta 1.5.5. is now out. I have added the ability to disable suggestions from Instagram. I also added a following indicators (Indicate user is following you). This can be seen upon opening the users profile. The following count with be green if the user is following you.

I added Finnish translations as well (Thank you to the user that provided them). I also resolved an issue that affect users using Android 4.0.4 and below. Some users were experiencing download notifications issues (Delayed) and the issue should now be resolved. This was mostly found of Samsung devices running Marshmallow. Enjoy the module!
[Xposed Framework Modules] exodius48:
Is there a screenshot following indicators? I select user that follow me, but the following indicator not green.
[Xposed Framework Modules] stevedensmore:
The follower count feature doesn't work for me. Love the concept, though!
[Xposed Framework Modules] davnav899:
The following count turning green does work for me, instagram ver. 7.17.0

http://imgur.com/Fcgfk6Y
[Xposed Framework Modules] iPusak Gaoq™:
Is it possible to add download button (3 dots) on explore tab via long press?

I just notice that if you long press the images/video on explorer tab the images/video will popup temporary (3D touch) like screenshot below....
[Xposed Framework Modules] exodius48:
[MENTION=5712278]iHelp101[/MENTION] I get this error

XInsta: XInsta Initialized
XInsta: Instagram Version Code: 23322199
XInsta: Device Codename: HM NOTE 1W
XInsta: Android Version: 4.4.2
XInsta: Hooks Fetched!
XInsta: Instagram First Hook: com.instagram.android.feed.adapter.a.aj
XInsta: Direct Share Option Button Failed - java.lang.NoSuchMethodError: com.instagram.android.directsharev2.b.dn#f(com.instagram.android.directsharev2.b.dn)#exact
XInsta: Follow Feature Failed - de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: u
XInsta: Profile Icon Failed - java.lang.NoSuchMethodError: com.instagram.android.fragment.iu#b()#exact
XInsta: Profile Icon Click Listener Failed - java.lang.ArrayIndexOutOfBoundsException: length=0; index=0p
[Xposed Framework Modules] M7mD.Sa3eD:
Downloading Profile Photos not working !!
[Xposed Framework Modules] freekystar:
Make sure you have Instagram version 7.17, update hooks within Xinsta and force close Instagram via 'Manage Apps'.
[Xposed Framework Modules] iHelp101:
My bad. I did not push the hooks to all sources. Please manually update yours hooks and everything should be working.
[Xposed Framework Modules] iHelp101:
Please Open XInsta -> Three Dot Icon -> Send Error Log. Thank you.
[Xposed Framework Modules] iHelp101:
Adding in options items is tricky, but I will look into it.
[Xposed Framework Modules] j1gga84:
Anything new concerning saving to external SD under MM (CM13) with Samsung devices? :)

regards
[Xposed Framework Modules] lover:
Thank you very much for the suggestion hider it was on my nerves.
[Xposed Framework Modules] klark1kent:
[MENTION=5712278]iHelp101[/MENTION] awesome mod. Love all your work. I'm asking you this because you seem to be able to make stuff that just works... I for one hate having to scroll through every post one picture at a time. I've been looking for an app for instagram that's similar to this app called Stumblr for Tumblr. Essentially you can choose various thumbnail sizes for individual posts. How difficult is something like that to develop. Its awesome and cuts browsing time significantly. Are you aware of any thumbnail viewing apps for insta? Huge undertaking I know but if there is anyone to ask I figure it would be you
[Xposed Framework Modules] iHelp101:
In terms of XInsta ever doing this I don't believe it will be likely. Instagram displays the feed as a listview. Listviews only go from top to bottom (One by one). I can't modify this in anyway with Xposed. You would need a third-party Instagram client to do this. I am not aware of one that does this, but one may exist that I am not aware of. Using the Instagram API an application could technically do this. I personally don't create applications that require user data (A third-party app would need Instagram authentication), so it is not a project that I would create.
[Xposed Framework Modules] M7mD.Sa3eD:
20160306_000921 - XInsta Initialized

20160306_000921 - XInsta Version 1.5.5

20160306_000921 - Instagram Version Code: 23322191

20160306_000921 - Device Codename: SGH-I727

20160306_000921 - Android Version: 6.0.1

20160306_000921 - Instagram First Hook: com.instagram.android.feed.adapter.a.aj

20160306_000921 - Direct Share Option Button Failed - java.lang.NoSuchMethodError: com.instagram.android.directsharev2.b.dn#f(com.instagram.android.directsharev2.b.dn)#exact

20160306_000921 - Profile Icon Failed - java.lang.NoSuchMethodError: com.instagram.android.fragment.iu#b()#exact

20160306_000921 - Profile Icon Click Listener Failed - java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
[Xposed Framework Modules] Mr.Zombie:
Hello dev. Updated to v1.5! I love the "Following Back" indicator. Superb idea!

Btw, did you remove the "copy" comments feature? It doesn't work for quite awhile now. Any idea?

Using Nexus 5 CM12.1
[Xposed Framework Modules] exodius48:
Updated from github, following method working, but download profile still does not work.

20160306_100851 - XInsta Initialized
20160306_100851 - XInsta Version 1.5.5
20160306_100851 - Instagram Version Code: 23322199
20160306_100851 - Device Codename: HM NOTE 1W
20160306_100851 - Android Version: 4.4.2
20160306_100852 - Instagram First Hook: com.instagram.android.feed.adapter.a.aj
20160306_100852 - Direct Share Option Button Failed - java.lang.NoSuchMethodError: com.instagram.android.directsharev2.b.dn#f(com.instagram.android.directsharev2.b.dn)#exact
20160306_100852 - Profile Icon Failed - java.lang.NoSuchMethodError: com.instagram.android.fragment.iu#b()#exact
20160306_100852 - Profile Icon Click Listener Failed - java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
[Xposed Framework Modules] iHelp101:
I am looking into this issue. Another user (exodius48) reported this issue as well.
[Xposed Framework Modules] iHelp101:
**************

Never mind I found the issue. The issue appears to be Lollipop+ related (How Android handles context). I actually just got Korean translations, so I will push the update out soon. I am trying to resolve one issue with Samsung devices and SD Cards on Marshmallow before pushing the update.

**************

I got another report about this, but the user not got back to me. Can you open XInsta -> Three Dot Icon -> Send Error Log? Thank you.N
[Xposed Framework Modules] Mr.Zombie:
Just sent an error log to your email.

Update:

The "Copy" comments actually works! But the Lollipop "Toast Code" that saying "Comment Coppied" doesn't appears like as usual. That's why I thought it was broken. Anyways, just check the log when you're free. You might can find something.
[Xposed Framework Modules] iHelp101:
I found the issue. Once again Instagram lowered the version code per processor type and DPI. My version code was "23322206", while yours is "23322199". The module automatically already subtracts two digits out, but it still makes it different. I might have to make it subtract three now to keep everything playing nicely. Either way I added your version code to the hooks file. Manually update your hooks and everything should play nicely now.
[Xposed Framework Modules] iHelp101:
Please manually update your hooks (Open XInsta -> GitHub).
[Xposed Framework Modules] exodius48:
Wow,. All features working perfect now. :highfive:
[Xposed Framework Modules] M7mD.Sa3eD:
It's work after install 7.18.0 ?
[Xposed Framework Modules] oscaroktober:
Weird. The entire Xinsta module isn't working for me. No options to download or anything. Ofcourse I have the proper Xposed framework installed and active, and the Xinsta module is activated.

I'm on a Galaxy S6 with a custom 6.0 ROM.

Here's my error log, pretty funny is that it says i'm on 5.1.1 (which I'm clearly not):

20160227_172218 - XInsta Initialized

20160227_172218 - Instagram Version Code: 23322206

20160227_172218 - Device Codename: samsungexynos7420

20160227_172218 - Android Version: 5.1.1

20160227_172218 - Instagram First Hook: com.instagram.android.feed.adapter.a.aj
[Xposed Framework Modules] iHelp101:
As you can see from the error log the date was "2016-02-27" when that was logged. Did you update to 6.0 within the last week or so? Also can you provide your Xposed error log? The module is not loading it appears.
[Xposed Framework Modules] oscaroktober:
I reinstalled Xposed and it is working now. Weird.
[Xposed Framework Modules] stevedensmore:
I got everything working properly now. Thanks for the awesome update!
[Xposed Framework Modules] That1Guy24:
?

Would it be difficult to bypass the max limit of 5 accounts being added?
[Xposed Framework Modules] freekystar:
I love the latest update because you don't have to open up a 3rd party app and scan to see if somebody's still following you. I was wondering if it's possible to turn their name green instead, so if you look at comments or follower-lists you'll see who is actually following you.

Either way it's a huge improvement for me.

Thanks
[Xposed Framework Modules] iHelp101:
It might be possible. I will look into it, but as always no promises.
[Xposed Framework Modules] iHelp101:
I will look into it. I am pretty sure the comments list won't work because Instagram doesn't fetch relationship information (Do you follow them, do they follow you) when you are looking at comments. As always, no promises.
[Xposed Framework Modules] freekystar:
It's your application and time spent on looking into it so I appreciate you doing that even if it won't happen.

Thanks.
[Xposed Framework Modules] akyla97:
May you add option to show absolute time of posting instead of some time ago?
[Xposed Framework Modules] iHelp101:
Interesting suggestion. I will see how Instagram handles this. If they actually send maybe the epoch or something that can be used to calculate time I will gladly add this. It may be that the server simply outputs an estimate when Instagram does an API request. As always, no promises.
[Xposed Framework Modules] iHelp101:
How does this look (Linked video below)? Would you prefer 11:22 or 11:22:44? You said you wanted absolute time, but I am not sure if you wanted exact second or not.

https://gfycat.com/IncompatibleImpartialAdder
[Xposed Framework Modules] exodius48:
You did it. :good:

Don't add second, it will make too long. Just HH:MM

-------------EDIT-----------------------------

Oh..or you can add custom time , so we can custom date & time. Edit AM/PM , 12 / 24 hours. In my country date is DD/MM/YYYY , on yours is MM/DD/YYYY.
[Xposed Framework Modules] TechnoSparks:
Heyy a second would be neat too.. As an avid stalker that'd benefit me xD

But yeah, a customisable timestamp (user has to type in format) would be ideal too, in case not everyone likes seconds :B
[Xposed Framework Modules] akyla97:
I vote for customisable timestamp :)
[Xposed Framework Modules] stevedensmore:
Is there anyway your module could incorporate a function to block Instagram's sponsored posts?
[Xposed Framework Modules] iHelp101:
Okay, I just have to figure out a way to make that easy for users. I am sure not many people know Android date formatting works "dd/MM/yyyy hh:mm:ss a".
[Xposed Framework Modules] iHelp101:
It is something I look into quite often. I have never found a way to isolate these post from regular post. I know they have the sponsored post icon, but hooking into that gets me nowhere. Something however has to trigger that sponsored post icon. I am not user if in the API request it has a field that indicates something is sponsored. The key is finding the sponsored post before it is actually created (Might be able to kill the method that creates the post).
[Xposed Framework Modules] iHelp101:
This look good? I still have to add AM/PM and find a way to change between 12 and 24 hours. In the right corner I will be adding a "+" sign to allow you to of course add an options you previously deleted.

https://gfycat.com/SparseDismalArcticfox
[Xposed Framework Modules] exodius48:
Wow.. it looks good now,, waiting for that version. :highfive:
[Xposed Framework Modules] lover:
Workes on 7.17. sorry the 7.18 from play store version didnt work. Weird!

iHelp101
[Xposed Framework Modules] christianpeso:
7.18 works for me on latest Xinsta. Have you updated your hooks?
[Xposed Framework Modules] lover:
Yes i did. Would you give me the apk of the one working for you?
[Xposed Framework Modules] iHelp101:
I just tested 7.18.0 (24809118 and 24863788). Both are working for me. Did you do see the download button? Did downloads fail?
[Xposed Framework Modules] lover:
Got the 7.18.x apk from another source and works great thank you
[Xposed Framework Modules] mistice34:
XInsta - Error Log

Please check out my XInsta Error Log.

20160311_061950 - XInsta Initialized

20160311_061950 - XInsta Version 1.5.5

20160311_061950 - Instagram Version Code: 24863788

20160311_061950 - Device Codename: LG-D855

20160311_061950 - Android Version: 6.0

20160311_061951 - Instagram First Hook: com.instagram.android.feed.adapter.a.aj

20160311_061955 - Switch Link - Different Media Type

20160311_061955 - Download Error: java.io.FileNotFoundException: /storage/8EF5-B544/DCIM/boxcutterpazzy/boxcutterpazzy_1203321051715010296_32598646.jpg: open failed: ENOENT (No such file or directory)

20160311_062535 - Switch Link - Different Media Type

20160311_062536 - Download Error: java.io.FileNotFoundException: /storage/8EF5-B544/DCIM/boxcutterpazzy/boxcutterpazzy_1203321051715010296_32598646.jpg: open failed: ENOENT (No such file or directory)

i can download videos but cant download images
[Xposed Framework Modules] iHelp101:
Are you saving to two separate locations? It would appear that one save location might be an SD Card. Open XInsta -> Image Save Location and change it to /mnt/sdcard/.
[Xposed Framework Modules] mistice34:
its manually changed i dont understand why this happened. thx for quick answer. have a good day sir
[Xposed Framework Modules] zacshawn:
[MENTION=5712278]iHelp101[/MENTION]

Instagram update to 7.18.1 official from playstore and button download dissapear from three dot icon. Below error log from XInsta :

20160311_144304 - XInsta Initialized

20160311_144304 - XInsta Version 1.5.5

20160311_144304 - Instagram Version Code: 25055362

20160311_144304 - Device Codename: qcom

20160311_144304 - Android Version: 5.0.2

20160311_144304 - Instagram First Hook: com.instagram.android.feed.adapter.a.aj
[Xposed Framework Modules] wong1045981822:
it cannot work on miui7

The Instagram stops after I press the three dots button...
[Xposed Framework Modules] exodius48:
works great on my device.
[Xposed Framework Modules] iHelp101:
Can you provide your Xposed log (Xposed -> Logs)?
[Xposed Framework Modules] iHelp101:
I just tested 7.18.1 and I am not seeing an issues. Please manually update your hooks. If the error continues please PM me your Xposed log (Xposed -> Logs).
[Xposed Framework Modules] zacshawn:
Already update hooks but error still same, so I downgrade to 1.5.4 and anything working perfectly. Thanks to you iHelp101 for a great work.

Note:

Weird thing is in my Xposed XInsta still show version 1.5.4 not 1.5.5. After download XInsta 1.5.5 manually and installed it, download button dissappear like I said before. I don't know why it happened.
[Xposed Framework Modules] Mourad_frik:
Please check out my XInsta Error Log.
[Xposed Framework Modules] iHelp101:
Please open the module and update your hooks. Also please add a save location for both images and videos.