instagram-id-to-url-segment - Convert Instagram post IDs into Instagram links, algorithmically

  •        438

Instagram has 2 types of IDs that they use for their posts. One is used in the URLs (it looks like 5n7dDmhTr3) and the other is used internally in their undocumented API (it looks like 1038059720608660215). I didn't think that they would maintain 2 unrelated IDs for each post, just for the purpose of a shorter URL, so I investigated whether or not they were related. It turns out you can convert between them pretty easily (especially in languages where we don't represent integers as floats - like Python).


bignumber.js : ^2.0.7



Related Projects

instagram-node - NodeJS driver for the instagram API

  •    Javascript

Instagram uses the standard oauth authentication flow in order to allow apps to act on a user's behalf. Therefore, the API provides two convenience methods to help you authenticate your users. The first, get_authorization_url, can be used to redirect an unauthenticated user to the instagram login screen based on a redirect_uri string and an optional options object containing an optional scope array and an optional state string. The second method, authorize_user, can be used to retrieve and set an access token for a user, allowing your app to act fully on his/her behalf. This method takes three parameters: a response_code which is sent as a GET parameter once a user has authorized your app and instagram has redirected them back to your authorization redirect URI, a redirect_uri which is the same one supplied to get_authorization_url, and a callback that takes two parameters err and result. err will be populated if and only if the request to authenticate the user has failed for some reason. Otherwise, it will be null and response will be populated with a JSON object representing Instagram's confirmation reponse that the user is indeed authorized. See instagram's authentication documentation for more information. Below is an example of how one might authenticate a user within an ExpressJS app.

SwiftInstagram - Instagram API client written in Swift

  •    Swift

SwiftInstagram is a wrapper for the Instagram API written in Swift. It allows you to authenticate users and request data from Instagram effortlessly. I've prepared a wiki page where you can find tons of useful things.

PHP-Instagram-API - PHP 5.3+ wrapper for the Instagram API

  •    PHP

The API comes with a cURL client (Instagram\Net\CurlClient) to access the Instagran API. You can create your own client, it just has to implement Instagram\Net\ClientInterface. All methods that access the API can throw exceptions. If the API request fails for any reason other than an expired/missing access token an exception of type \Instagram\Core\ApiException will be thrown. If the API request fails because of an expired/missing access token an exception of type \Instagram\Core\ApiAuthException will be thrown. You can use this to redirect to your authorization page.

instagram - An easy-to-use and simple Instagram package

  •    PHP

An easy-to-use and simple Instagram package. Instagram is decoupled from any library sending HTTP requests (like Guzzle), instead it uses an abstraction called HTTPlug which provides the http layer used to send requests to exchange rate services. This gives you the flexibility to choose what HTTP client and PSR-7 implementation you want to use.

instafeed.js - A simple Instagram javascript plugin

  •    CoffeeScript

Instafeed is a dead-simple way to add Instagram photos to your website. No jQuery required, just good 'ol plain javascript. Before you decide to use instafeed.js, be aware that Instagram is shutting down the API platform that enables instafeed to work. As of now, instafeed.js works for some common uses (eg. embedding a single user's feed on a web page), but can't work for more complex uses (eg. retrieving all public images with a particular hashtag, finding posts based on a location, etc).

instagram-terminal-news-feed - Instagram in terminal :alien::alien::fire::fire:

  •    Python

Sometimes checking your instagram during work is kind of strange, so why not check your instagram inside your terminal? OK... I know checking this during work is still strange... πŸ˜‘ To be honest, I did this just for pure fun. For the username and password part, I promise you it is safe even if you save it. The username/password will only be saved locally in the file called credential.json. You can also just don't save it which is the default option.

instagram-bot.js - πŸ€– :camera: Instagram Bot made with love and nodejs

  •    Smarty

If you received an SMS or an email pin edit loginpin.txt and insert it on the first line. Wait 50-60 seconds... Edit configs/config.js and switch chrome_headless option to true.

instagram-ruby-gem - The official gem for the Instagram API

  •    Ruby

Our developer site documents all the Instagram REST and Search APIs. The [Developer Blog] features news and important announcements about the Instagram Platform. You will also find tutorials and best practices to help you build great platform integrations. Make sure to subscribe to the RSS feed not to miss out on new posts:

python-instagram - Python Client for Instagram API

  •    Python

Our developer site documents all the Instagram REST and Search APIs. The [Developer Blog] features news and important announcements about the Instagram Platform. You will also find tutorials and best practices to help you build great platform integrations. Make sure to subscribe to the RSS feed not to miss out on new posts:

goinsta - Unofficial Instagram API written in Golang

  •    Go

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk. Sorry for breaking dependences :(. You can use this command in your project folder to update old master branch to v1.

ramme - Unofficial Instagram Desktop App

  •    Javascript

v4 is in development, but due to Instagram bot and spam coping measures we're not able to correctly use the API. If you know any tricks feel free to contribute to vuetify branch. The latest version of Ramme for macOS, Linux and Windows is available here.

instagram_private_api - A Python library to access Instagram's private API.

  •    Python

A Python wrapper for the Instagram private API with no 3rd party dependencies. Supports both the app and web APIs. I wrote this to access Instagram's API when they clamped down on developer access. Because this is meant to achieve parity with the official public API, methods not available in the public API will generally have lower priority.

InstagramKit - The unofficial Instagram iOS SDK

  •    Objective-C

An extensive Objective C wrapper for the Instagram API, completely compatible with Swift. The framework is built atop AFNetworking’s blocks-based architecture and additionally, parses JSON data and creates model objects asynchronously so there’s absolutely no parsing on the main thread. It’s neat, fast and works like a charm.

InstaLooter - Another API-less Instagram pictures and videos downloader.

  •    Python

Not all treasure's silver and gold, mate. InstaLooter is a program that can download any picture or video associated from an Instagram profile, without any API access. It can be seen as a re-implementation of the now deprecated InstaRaider developed by @akurtovic.

instagram.css - Complete set of Instagram filters in pure CSS

  •    CSS

Instagram.css - Pure CSS Instagram filters. You can add all these Instagram-like filters to your photos with using CSS only. Thanks to the CSSgram for inspiration. Download the compiled and minified Instagram.css files. Include instagram.css located in /dist in your website or Web app <head> part.

cssFilters - πŸŒ„ Custom and Instagram like photo filter playground for CSS built with React

  •    Javascript

This is the repo for - A visual tool to create custom and instagram like photo filters in css. Please feel free to open a new issue here with your suggestions or any bugs which you may have come across.

Instagram - A simple imitation of Instagram ο£Ώ app .

  •    Swift

A native and simple imitating Instagram iOS app. It must run in iPhone 8 - iPhone X without landscape direction. This app is still in development. This app use Parse server to save and load user info. Sign in and up both will save user in UserDefault because AppDelegate class will check which page user should go if the app dosn't exist in backend. To see more detail in source code.

StoriesProgressView - show horizontal progress like instagram stories.

  •    Java

Library that shows a horizontal progress like Instagram stories. To see how a StoriesProgressView can be added to your xml layouts, check the sample project.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.