{"id":20493026,"url":"https://github.com/cloudboost/instagramcloneandroid","last_synced_at":"2025-08-04T21:44:59.649Z","repository":{"id":147446110,"uuid":"51149687","full_name":"CloudBoost/InstagramCloneAndroid","owner":"CloudBoost","description":"An android clone showing basic instagram features backed by cloudboost","archived":false,"fork":false,"pushed_at":"2016-02-02T19:22:24.000Z","size":565,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T17:47:25.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":false,"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/CloudBoost.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":"2016-02-05T13:59:46.000Z","updated_at":"2022-11-17T17:55:17.000Z","dependencies_parsed_at":"2023-04-25T07:10:10.277Z","dependency_job_id":null,"html_url":"https://github.com/CloudBoost/InstagramCloneAndroid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CloudBoost/InstagramCloneAndroid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudBoost%2FInstagramCloneAndroid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudBoost%2FInstagramCloneAndroid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudBoost%2FInstagramCloneAndroid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudBoost%2FInstagramCloneAndroid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CloudBoost","download_url":"https://codeload.github.com/CloudBoost/InstagramCloneAndroid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CloudBoost%2FInstagramCloneAndroid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262388753,"owners_count":23303322,"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-11-15T17:32:30.924Z","updated_at":"2025-06-28T06:41:14.087Z","avatar_url":"https://github.com/CloudBoost.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"#InstagramCloneMaster\n#####In this section\nIn this tutorial, we are going to build  a clone for Instagram photosharing app, a widely used social networking app for telling a story in pictures.\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cimg class=\"center-img\" alt=\"instagram android Clone\" src=\"https://github.com/egimaben/InstagramCloneAndroid/blob/master/images.PNG\"\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003e\u003cspan class=\"tut-info\"\u003eInfo\u003c/span\u003e By the end of this tutorial, you will have learnt abit how to deal with files on CloudBoost using \u003ccode\u003eCloudFile\u003c/code\u003es and also \u003ccode\u003eACL\u003c/code\u003e permission management.\n#Assumptions\nI will assume that :\n\u003cul\u003e\n\u003cli\u003eYou have checked out our first java tutorial in this series and know you to set up your environment to develop CloudBoost apps, including the libraries to add to the classpath i.e.\u003c/li\u003e\n\u003cul\u003e\n\u003cli\u003eJavasdk for cloudboost Javasdk-1.0.1.jar \u003c/li\u003e\n\u003cli\u003eSocket-client.jar\u003c/li\u003e\n\u003cli\u003eOkhttp-2.4.0.jar\u003c/li\u003e\n\u003cli\u003eOkhttp-ws-2.4.0.jar\u003c/li\u003e\n\u003cli\u003eOkio-1.4.0.jar\u003c/li\u003e\n\u003c/ul\u003e\n\u003cli\u003eYou know android (We shall not focus so much on learning the the android specific concepts bit of the code).\u003c/li\u003e\n\u003cli\u003eYou already have an app on cloudboost, and have created a table called \u003ccode\u003eusers\u003c/code\u003e, with the following columns\n\u003cul\u003e\n\u003cli\u003euser_name, type text\u003c/li\u003e\n\u003cli\u003efollows, type StringArray\u003c/li\u003e\n\u003cli\u003efollowed_by, type StringArray\u003c/li\u003e\n\u003cli\u003ephotos, type fileArray\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/ul\u003e\n#The Android project\nCreate a new android project in your IDE(I use Eclipse 3.7 with ADT) and name it \u003ccode\u003eWhatsappAndroidClone\u003c/code\u003e, place all the required \u003ccode\u003ejar\u003c/code\u003e's in the libs folder.\n\nWe are going to use facebook to login and get user's friend details and images so that we have enough data and images to play around with. \n\n#How it works\n##Facebook Login##\nWe use facebook SDK to login to facebook and fetch user profile in form of a json, we then sign the user up on our app as a \u003ccode\u003eCloudUser\u003c/code\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cimg class=\"center-img\" alt=\"Facebook login\" src=\"https://github.com/egimaben/InstagramCloneAndroid/blob/master/login.PNG\"\u003e \n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n##Images##\nWe get image URLs from the Facebook Graph profile and download them into blobs. We then create \u003ccode\u003eCloudFile\u003c/code\u003e objects out of these blobs and save them to our app. ##Very simple##, no need to again write the bytes to some location on the server, we don't need to know where our files go.\n##Displaying Images##\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cimg class=\"center-img\" alt=\"instagram android Clone\" src=\"https://github.com/egimaben/InstagramCloneAndroid/blob/master/images.PNG\"\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\nWe shall use android \u003ccode\u003eGridView\u003c/code\u003e  to display images anonymously in the search dock of instagram lower navigation, in the photos tab. These images can be downloaded from the URLs of our stored images on cloudboost. These url's come with the \u003ccode\u003eCloudObject\u003c/code\u003e you fetch for each user, in form of an array in the photos column.\n##Friends##\nIn instagram as we all know, you can follow people, in which case you will be alerted about their activities. People can also follow you and be notified of these\nWhen people follow us, we update their \u003ccode\u003efollowing\u003c/code\u003e column and our \u003ccode\u003efollowed_by\u003c/code\u003e column. We then grant them \u003ccode\u003eread\u003c/code\u003e ACL permission to our images. The user retains \u003ccode\u003eread,write\u003c/code\u003e ACL permission.\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cimg class=\"center-img\" alt=\"Whatsapp android chats\" src=\"https://github.com/egimaben/InstagramCloneAndroid/blob/master/friends.PNG\"\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003e\u003cspan class=\"tut-info\"\u003eInfo\u003c/span\u003e This is by no means a complete, usable application, it's just used to show basic functions on cloudboost. We shall be adding more functionality to it with time.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudboost%2Finstagramcloneandroid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudboost%2Finstagramcloneandroid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudboost%2Finstagramcloneandroid/lists"}