Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I implement Instagram photos/feed from a specific user in my iPhone app?

I was wondering how I can implement the latest photos from a specific Instagram account in a UIScrollView in my iPhone app, without using a UIWebView and go directly to Instagram.com/USERNAME. I am thinking that the implementation should de something like the Instagram feed in Flipboard. So far I have just used a WebView that goes directly to a website with a rss feed.

I am sorry if this is a stupid question... forgive me. Any code and/or would be greatly appreciated!

like image 673
user2891448 Avatar asked Jan 23 '26 14:01

user2891448


2 Answers

You can achieve this with UITableView and Auto Layout.

Regarding implementation of the instagram feed UI, you could take a look at STXDynamicTableView which is a sample code of the same problem that you might be having, which is outlined in a blog post here: Rebuilding Instagram Feed Table View.

like image 69
Jesse Armand Avatar answered Jan 25 '26 04:01

Jesse Armand


You could also have a look at the Instagram SDK I wrote for iOS apps to connect to the Instagram API. https://github.com/shyambhat/InstagramKit All you need to do is register your app with Instagram and after integrating the library, call the getUserFeed method to get an user's media feed.

like image 29
Shyam Bhat Avatar answered Jan 25 '26 03:01

Shyam Bhat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!