How to find handle of instagram account from user hash in downloaded data - instagram

Apologies in advance if this question is not appropriate for stackoverflow.com
I am looking through my downloaded instagram data in JSON. Within the massive zip stores my instagram direct messages under /messages/inbox/<name>_<hash>/message_1.json, and I am trying to find the handle of the user. However, I realised that it doesn't exist in the downloaded data.
For example, in my downloaded data there is a folder at /messages/inbox/williamlin_q1pfmnzw9w, which contains my conversation with https://www.instagram.com/tmwilliamlin168/. However, the handle tmwilliamlin168 never appears in my downloaded data. So my question is how to find it?
I suspect that it might be related to the hash q1pfmnzw9w at the end, but I am unable to relate the hash to either the username or the user id 25569171238 (found here). An observation about the hash is that it is in the form [0-9a-z_\-]{10}.
Thanks for your help.

Related

Getting a list of BuildFire plugin users from the Widget side

I am developing a plugin that allows the user the post content that I am storing in an object in publicData. To identify the user that posted the data, I am storing the _id that is returned from buildfire.auth.getCurrentUser() in that publicData object along with the content of the post.
Is there a way I can access a list of the users of my plugin, then iterate through that to find the user with the corresponding _id? A list of the users of my plugin must exist somewhere, I just do not know how to/if I can access it.
Any help on this would be greatly appreciated!
I would recommend caching the user object's nonsensitive data. Remember, you have a bit more access to the logged-in user over fetching another user profile using the user id. https://github.com/BuildFire/sdk/wiki/How-to-use-Auth#buildfireauth-getuserprofileoptionscallback
Since the user profile picture URL is really an API, you don't have to worry about the user changing it since it will always return the latest. The other property I recommend you cache is the Display name (not the first name and last name) since that rarely changes as well. This way your performance wont suffer and you can do a lazy fetch for a distinct list of user ids an update them as needed. KNowing most wont need an UI updates since nothing changed

Is it allowed to use this link (https://www.instagram.com/[username]/?__a=1)

at the moment I am working on a Instagram implementation for the homepage of my school.
My problem was, that I didn’t got access to the account, so I couldn’t generate an access token (which all free joomla plugins need).
So I have decided to write my own plugin (I am not the best programmer, but it works), because of that I found this link (https://www.instagram.com/[username]/?__a=1) where I could get the JSON of the public page without the need of any token or ID.
My question is if I am allowed to use it or not (because I can’t find this link in the official api)?
We've built a small API that scrapes exactly that data and presents it to you via JSON:
https://apinsta.herokuapp.com/u/<username>
(In case you are still interested in this)
This URL closed by instagram on 14 April. You can get user's information json with this link:
https://i.instagram.com/api/v1/users/USER_ID/info/
Also you can find user ID like this:
Go to the https://www.instagram.com/USERNAME/
Look source code and find this code:
"id":"
You'll see the user ID between quotes.
Good luck.

get instagram saved posts

Instagram has a newish feature in their app (not on web) that let you save posts.
This is a good feature because, unlike liking a photo, no one else will know you saved the photo.
The question is: are these posts saved locally on your machine (or at least a reference to these posts is saved locally on your phone)? and if they are, is there a way to access this data?
In case your saved posts are not saved locally, but on the cloud, is there an api command to retrieve info about these posts?
Thanks
These "bookmarked" posts are saved to your account (in the cloud), and not on your local device.
Unfortunately it doesn't seems like they have an endpoint for that..yet
See Instagram API Changelog

docusignapi Add document binary

I'm trying to add a document to envelope. However I have that document in a blob column in the Oracle database. I tried to load that in the blob variable, convert to clob (using blob2clob oracle function) and send the information. however, I always get the document empty on docusign. So, I was thinking a way to send the information in binary form.
Does somebode know the correct setup to sent taht or any help with this?
Thank you,
Jose
Give this thread on the DocuSign community a look and see if it will resolve your issue

Google Docs Folder Not Found

We are using Document List API version 3. We use two-legged OAuth and get access using permission obtained through Google Apps Marketplace. We retrieve a list of folders contained in a folder as follows:
https://docs.google.com/feeds/default/private/full/folder:[folder doc id]/contents/-/folder?xoauth_requestor_id=[user name]
We get 9 results. We retain the document ids of these folders. Later on we retrieve each folder using their document id as follows where [user name] is the same as what we used previously:
https://docs.google.com/feeds/default/private/full/[folder doc id]?xoauth_requestor_id=[user name]
We are able to get the document (folder) for 8 of the 9 but for one of them we get ResourceNotFoundException no matter when we try and no matter if we retry. We know that the folder still exists and the specified user has access to it.
This is similar in nature to the issue that someone else reported recently in:
Document not found
Is this likely to be a google bug? Any suggestions of how to resolve it other than moving to Google Drive API?
Regards,
LT
How long are you holding onto those document IDs (or really, the contentSrc URL)? I've found that those things can expire after a few hours so you should not cache them for any length of time.

Resources