forked from BandarHL/BHInstagram
-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
enhancementNew feature or improvementNew feature or improvementstatus: plannedThis is planned for a future releaseThis is planned for a future release
Description
General idea:
- Hook
IGDirectReactingUserListViewController'sobjectForListAdaptermethod - Each object inside is a
IGDirectReactingUserListCellViewModel(a subclass of NSObject) - Use key-value coding to access
subtitlekey (which will be a string if it's your reaction, otherwise will be nil) - Use the
_reactionsivar array to get the NSString user id_userBasedReaction_usedIdivar and the NSDate_userBasedReaction_serverTimestampivar. - Extract the user id from the object in the list adapter, to find an associated user id in the
reactionsarray to get the corresponding date- IGDirectReactingUserModel = [IGDirectReactingUserListCellViewModel valueForKey:@""]
- IGDirectUserKey = [IGDirectReactingUserModel valueForKey:@"userKey"]
- IGDirectInternalUserKey = [IGDirectReactingUserModel valueForKey:@"internalUserKey"]
- Hook the IGDirectInternalUserKey class and get the
instagramIdNSString ivar
- For each
IGDirectReactingUserListCellViewModelin the array, get the corresponding_reactionsivar_userBasedReaction_serverTimestampfor the instagram id (if possible), then prepend the relative date (NSRelativeDateTimeFormatter) to thesubtitle's original text
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvementstatus: plannedThis is planned for a future releaseThis is planned for a future release