{"id":13744711,"url":"https://github.com/Khaledgarbaya/Instagras","last_synced_at":"2025-05-09T03:33:08.850Z","repository":{"id":6650505,"uuid":"7894847","full_name":"Khaledgarbaya/Instagras","owner":"Khaledgarbaya","description":"Instagram Actionscript 3 Library","archived":false,"fork":false,"pushed_at":"2016-08-03T19:53:07.000Z","size":57,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-15T16:41:21.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://khaledgarbaya.net","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Khaledgarbaya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-29T15:26:40.000Z","updated_at":"2017-11-23T05:24:58.000Z","dependencies_parsed_at":"2022-08-22T13:30:35.747Z","dependency_job_id":null,"html_url":"https://github.com/Khaledgarbaya/Instagras","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Khaledgarbaya%2FInstagras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Khaledgarbaya%2FInstagras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Khaledgarbaya%2FInstagras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Khaledgarbaya%2FInstagras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Khaledgarbaya","download_url":"https://codeload.github.com/Khaledgarbaya/Instagras/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253183269,"owners_count":21867393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:14.656Z","updated_at":"2025-05-09T03:33:08.636Z","avatar_url":"https://github.com/Khaledgarbaya.png","language":"ActionScript","funding_links":[],"categories":["API"],"sub_categories":["Other API"],"readme":"#Instagras : Instagram ActionScript 3 library\nWhat is Instagras ?\n-------------------\nInstagras (Instagram for AS) is an actionscript 3 library to help you create intagram content driven application using the flash platform. All the api Calls is through the Instagras Class.\n\nHow to use it?\n-------------\n1.clone the repo at : 'https://github.com/Khaledgarbaya/Instagras.git'\n\n2.The main class that you'll be working with is the Instagras Call.It Static so you don't need to instantiate it.\n\n3.Sample code :  \n\n\n```actionscript\n    import net.khaledgarbaya.instagras.Instagras;\n    private var appID:String=\"CLIENT_ID\";\n\n    // init the api\n    Instagras.init(appID,initCallBack);\n\n    //login\n    protected function login():void\n    {\n      Instagras.login(loginCallBack,{client_id:appID,\n      response_type:\"code\",//the redirect uri will be http://yoursite.com/#access_token\n      redirect_uri:\"REDIRECT_URI\",\n      scope: 'likes+comments'});\n    }\n\n    //after the login\n    private function loginCallBack(result:Object, failt:Object):void\n    {\n      //login callback\t\n      //no you can use the Instagras.api(\"method\") to get some data for example\n      Intagras.api(\"users/self\",apiCallBack)\n    }\n    private function apiCallBack(result:Object, fail:Object):void\n    {\n      //the data will be stored into the result object\n\n    }\n    //init callback\n    private function initCallBack(result:Object, fail:Object):void\n    {\n      if(result != null);//the class has the access token and ready to use it\n      login();\n    }\n```\n\nLICENSE\n-------\nSimplified BSD License\n======================\n\n* Copyright 2013 [Khaled Garbaya](http://khaledgarbaya.net/) . All rights reserved.\n\n* Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n   1. Redistributions of source code must retain the above copyright notice, this list of\n      conditions and the following disclaimer.\n\n   2. Redistributions in binary form must reproduce the above copyright notice, this list\n      of conditions and the following disclaimer in the documentation and/or other materials\n      provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY KHALED GARBAYA AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nUpcoming Features\n-----------------\n* Performance tweaks\n* Code Cleanup\n* Add more Samples to the Instagras-samples Repo ( 'https://github.com/Khaledgarbaya/Instagras-samples' )\n* Add Desktop API\n* Add Mobile API\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKhaledgarbaya%2FInstagras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKhaledgarbaya%2FInstagras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKhaledgarbaya%2FInstagras/lists"}