All Projects → rakeshpatra → instagram_graph_api

rakeshpatra / instagram_graph_api

Licence: MIT, MIT licenses found Licenses found MIT LICENSE MIT LICENSE.txt
This is a version of koala gem which provides commonly used Instagram Graph APIs

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to instagram graph api

facebook-go-sdk
A very simple and easy-to-use Facebook SDK for Golang.
Stars: ✭ 18 (-35.71%)
Mutual labels:  facebook-graph-api, graph-api
instastory.js
This is a jQuery plugin to make it easy to get a feed from instagram. No need of access tokens and other stuff, Only thing needed is jQuery.
Stars: ✭ 36 (+28.57%)
Mutual labels:  instagram
SocialMediaAppForFoodies
This is a Social networking android app for food lovers. It is a way to connect with other foodies and grow your network of friends and followers. In this app we can, 1.Users can create their own account and maintain it. 2.Post the Recipes with image and Description. 3.Followers can like and Comment on your post 4.Home screen with your and whom …
Stars: ✭ 40 (+42.86%)
Mutual labels:  instagram
Instagram-Giveaways-Winner
Instagram Bot which when given a post url will spam mentions to increase the chances of winning. Win Instagram Giveaways!
Stars: ✭ 95 (+239.29%)
Mutual labels:  instagram
instagram-oauth-nodejs-server
Node.js server for Intagram-API OAuth purpose.
Stars: ✭ 12 (-57.14%)
Mutual labels:  instagram
jsonapi-serializer-formats
💎 Gem to enrich jsonapi-serializer with multiple formats
Stars: ✭ 20 (-28.57%)
Mutual labels:  ruby-gem
ruby attic
💍 Unmaintained ruby projects needing people!
Stars: ✭ 26 (-7.14%)
Mutual labels:  ruby-gem
go-trending
Trending algorithm based on the article "Trending at Instagram"
Stars: ✭ 40 (+42.86%)
Mutual labels:  instagram
parse-stack
Parse Server Ruby Client SDK
Stars: ✭ 59 (+110.71%)
Mutual labels:  ruby-gem
mobility-actiontext
Translate Rails Action Text rich text with Mobility.
Stars: ✭ 27 (-3.57%)
Mutual labels:  ruby-gem
InstaLite
Instagram api not official easy-to-use class, minimal number of features
Stars: ✭ 72 (+157.14%)
Mutual labels:  instagram
InstagramLocationScraper
No description or website provided.
Stars: ✭ 13 (-53.57%)
Mutual labels:  instagram
Sentiment-Analysis-facebook-comments
Detection and Prediction of Users Attitude Based on Real-Time and Batch Sentiment Analysis of Facebook Comments
Stars: ✭ 63 (+125%)
Mutual labels:  facebook-graph-api
instagram
A Matrix-Instagram DM puppeting bridge
Stars: ✭ 69 (+146.43%)
Mutual labels:  instagram
rn instagram clone
React Native Instagram UI Clone & Steemit App
Stars: ✭ 70 (+150%)
Mutual labels:  instagram
InstaCrawlR
Crawl public Instagram data using R scripts without API access token. See InstaCrawlR Instructions.pdf
Stars: ✭ 108 (+285.71%)
Mutual labels:  instagram
Hashtag-Wall-Server
Hashtag wall that displays posts from social media
Stars: ✭ 33 (+17.86%)
Mutual labels:  instagram
Insta flters with python
With this program you can add hat & glass on your face(it's support multiple faces)
Stars: ✭ 21 (-25%)
Mutual labels:  instagram
Get-instagram-users-info---Any-instagram-account
Dump instagram users info without API.
Stars: ✭ 345 (+1132.14%)
Mutual labels:  instagram
facebook-node-sdk
Modeled from the (Facebook Javascript SDK), now with the facebook-node-sdk you can now easily write the same code and share between your server (nodejs) and the client (Facebook Javascript SDK).
Stars: ✭ 519 (+1753.57%)
Mutual labels:  facebook-graph-api

InstagramGraphApi

A gem for Instagram Graph API using koala.

Installation

Add this line to your application's Gemfile:

gem 'instagram_graph_api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install instagram_graph_api

Usage

client = InstagramGraphApi.client(ACCESS_TOKEN)

#get an arraay of business accounts linked to the access_token
client.ig_business_accounts
#get an array of connected IG accounts linked to the access_token
client.connected_ig_accounts

#to get specific fields from "id,name,biography,ig_id,followers_count,profile_picture_url,username"
client.ig_business_accounts("name,followers_count")
client.connected_ig_accounts("name,followers_count")

#get IG business account/ Connected IG account info
client.get_account_info(IG_BUSINESS_ID)
#to get specific fields
fields = "name, biography"
client.get_account_info(IG_BUSINESS_ID, fields)

#get media list
client.get_user_recent_media(IG_BUSINESS_ID)

#get media details
client.get_media_details(MEDIA_ID)
#to get specific fields
fields  = "media_url, permalink"
client.get_media_details(MEDIA_ID, fields)

#Discover business user
client.discover_user(USERNAME)
# fields can be from "id,followers_count,media_count,ig_id"
fields = "followers_count,media_count,ig_id"
client.discover_user(USERNAME, fields)

#discover user media, fields can be "caption,media_url,media_type,like_count,comments_count,id"
client.discover_user_media(USERNAME, fields)

#Search for a tag, 
client.tag_media(page_token, tag_name)
#fields can be "media_type,comments_count,like_count,media_url,permalink"
fields="media_url,permalink"
client.tag_media(page_token, tag_name, fields)
#custom edge can be provided, default is 'top_media'
tag_media = client.tag_media(page_token, tag_name, edge: "recent_media")
# Note: We can run `tag_media.next_page` to fetch next set of results
# additional arguent options can also be passed for page params i.e before/after/limit etc

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rakeshpatra/instagram_graph_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the InstagramGraphApi project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].