Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 19    Views: 153

chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
11/23/13 12:04 AM (10 years ago)

new plugin: Flickr Images

New plugin on the market - Flickr Images. Just like you'd expect, it pulls images from Flickr and displays in a menu list. Clicking on a menu item shows the image full-size. Required properties include: flickerApiKey (see http://www.flickr.com/services/api/) flickrType (“Photoset”, “Gallery”, or “Search”) searchString (can be id of a Photoset or Gallery, or a string to search by) Available for iOS 2.0, 3.0, and Android 2.0. Android 3.0 support coming soon.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
11/23/13 12:07 AM (10 years ago)
Note: until the config_cp.txt file is working properly, you'll have to manually add in the required properties listed above.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
11/23/13 05:41 AM (10 years ago)
Nice!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/23/13 06:30 AM (10 years ago)
Sweet! Works with groups?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
11/23/13 06:50 AM (10 years ago)
I don't think so. I'll have to take another look, but I seem to remember them not being supported well by the Flickr api
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
11/23/13 07:11 AM (10 years ago)
Just took a quick look at the API on my phone, and looks like groups are supported. I think the issue was that groups weren't going to be helpful for what I was trying to do when I made this, so I didn't include them. I'll be sure to add support soon.
 
farcat
buzztouch Evangelist
Profile
Posts: 1008
Reg: Jan 27, 2012
France
13,230
like
11/23/13 08:21 AM (10 years ago)
Thanks Chris. It's raining great plugins!! Farcat
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
11/23/13 10:50 AM (10 years ago)
Okay - just added support for Flickr Groups
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
11/26/13 01:26 AM (10 years ago)
Can you please provide a screenshot to exactly where the api code goes? I noticed that new feature of json is utilized but this plugin is a bit confusing :( Thanks
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
12/28/13 10:30 AM (10 years ago)
I am having trouble to. I created a flickr app. I have the api key i put into the control panel and then when i pull up the menu on the app it is a white screen. The plug in is in xcode. xcode says Cr_flickr: 0 pictures found
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/28/13 10:33 AM (10 years ago)
@Sheri - there's a section on the control panel labeled "Flickr API Key". @Fred - can you send me your debug output so I can see what's going on?
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
12/28/13 11:12 AM (10 years ago)
2013-12-28 13:09:45.708 buddyappdevelopment[9888:70b] BT_screen_menuListSimple: didSelectRowAtIndexPath: Selected Row: 5 2013-12-28 13:09:45.708 buddyappdevelopment[9888:70b] BT_application: getScreenDataByItemId 3F9A56A3FF69AB4198DCD13 2013-12-28 13:09:45.709 buddyappdevelopment[9888:70b] BT_application: screenType is Cr_flickr for screen with nickname: "Fllickr Images2" and itemId: 3F9A56A3FF69AB4198DCD13 2013-12-28 13:09:45.709 buddyappdevelopment[9888:70b] BT_screen_menuListSimple: handleTapToLoadScreen (super) loading nickname: "Fllickr Images2" itemId: 3F9A56A3FF69AB4198DCD13 itemType: Cr_flickr 2013-12-28 13:09:45.709 buddyappdevelopment[9888:70b] BT_application: getViewControllerForScreen nickname: "Fllickr Images2" itemId: 3F9A56A3FF69AB4198DCD13 type: Cr_flickr 2013-12-28 13:09:45.710 buddyappdevelopment[9888:70b] Cr_flickr: INIT 2013-12-28 13:09:45.710 buddyappdevelopment[9888:70b] BT_navController: pushViewController 2013-12-28 13:09:45.710 buddyappdevelopment[9888:70b] BT_navController: transition type: flip 2013-12-28 13:09:45.711 buddyappdevelopment[9888:70b] Cr_flickr: viewDidLoad 2013-12-28 13:09:45.711 buddyappdevelopment[9888:70b] Cr_flickr: viewDidLoad (super) 2013-12-28 13:09:45.711 buddyappdevelopment[9888:70b] BT_viewUtilities: getTableViewForScreen with nickname: "Fllickr Images2" and itemId: 3F9A56A3FF69AB4198DCD13 and type: Cr_flickr 2013-12-28 13:09:45.720 buddyappdevelopment[9888:70b] Cr_flickr: viewWillAppear (super) 2013-12-28 13:09:45.720 buddyappdevelopment[9888:70b] Cr_flickr: configureNavBar (super) for screen with itemId: 3F9A56A3FF69AB4198DCD13 2013-12-28 13:09:45.721 buddyappdevelopment[9888:70b] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "Fllickr Images2" does not use a navBarBackgroundColor 2013-12-28 13:09:45.722 buddyappdevelopment[9888:70b] Cr_flickr: configureBackground (super) for screen with itemId 3F9A56A3FF69AB4198DCD13: 2013-12-28 13:09:45.722 buddyappdevelopment[9888:70b] BT_background_view: updateProperties (color and image) for screen with itemId: 3F9A56A3FF69AB4198DCD13: 2013-12-28 13:09:45.723 buddyappdevelopment[9888:70b] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2013-12-28 13:09:45.723 buddyappdevelopment[9888:70b] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2013-12-28 13:09:45.723 buddyappdevelopment[9888:70b] BT_background_view: setImage 2013-12-28 13:09:45.723 buddyappdevelopment[9888:70b] Cr_flickr: viewWillAppear 2013-12-28 13:09:45.725 buddyappdevelopment[9888:70b] Cr_flickr: layoutScreen 2013-12-28 13:09:45.725 buddyappdevelopment[9888:70b] Cr_flickr: This menu has no list items? 2013-12-28 13:09:45.886 buddyappdevelopment[9888:70b] Cr_flickr: results found:0 2013-12-28 13:09:45.889 buddyappdevelopment[9888:70b] Cr_flickr: loadFlickrPhotos 2013-12-28 13:09:45.889 buddyappdevelopment[9888:70b] BT_viewUtilities: getProgressView 2013-12-28 13:09:45.890 buddyappdevelopment[9888:70b] Cr_flickr: request url=http://api.flickr.com/services/rest/?method=flickr.galleries.getPhotos&api_key=478842fc2d5e4fe931352146c74750d2&gallery_id=478842fc2d5e4fe931352146c74750d2&format=json&nojsoncallback=1 2013-12-28 13:09:46.183 buddyappdevelopment[9888:70b] Cr_flickr: 3 arrays found 2013-12-28 13:09:46.183 buddyappdevelopment[9888:70b] Cr_flickr: 0 pictures found
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/28/13 11:36 AM (10 years ago)
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
12/28/13 12:00 PM (10 years ago)
I just realized that i didnt have a gallery set up but i tried it for a photo set which i do have set up and still just a white screen.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/28/13 12:01 PM (10 years ago)
What happens when you copy the API URL from the debug output and paste it into a browser?
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
12/28/13 12:07 PM (10 years ago)
This is so cool i got it. Ok it was not obvious there is a photo set id, gallery id ect. The id was found in the url of the photo set it self. But now it works great! thanks for the quick speedy response chris. Here is an example url http://www.flickr.com/photos/91246276@N06/sets/72157639119015356/ id = 72157639119015356
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/28/13 12:10 PM (10 years ago)
Great! Glad it's working
 
xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
like
04/07/15 11:09 PM (9 years ago)
Hello chris, I need your help. I have my own BT server account and I have Flickr Images plugin. Now I created one app and add Flickr control. I setup Flickr API Key also. But still confuse that how to use this plugin. Please guide. I am working on android. Thanks
 
xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
like
04/08/15 12:57 AM (9 years ago)
Hello, Here is my API URL: https://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&api_key=48a6dda850c5ce39a6a3767407b146f8&photoset_id=funny&format=json&nojsoncallback=1 Result id: {"stat":"fail","code":1,"message":"Photoset not found"} I have my album in flickr with name of funny. So in search string, will I put funny or something else. Please explain.
 
xtremeesolutions
Code is Art
Profile
Posts: 106
Reg: Nov 19, 2011
FootHill Ranch,...
6,610
like
04/09/15 12:24 AM (9 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.