flickr search code in c# visual express 2010

Вопрос flickr search code in c# visual express 2010

  • 6 августа 2012 г. 18:39
     
     

    First off I am a complete newb.  With that out of the way here is what I am trying to accomplish, I would like to have a search flickr app.  I'd like to have a very simple  visual c# 2010 "forms" application with a text box and a search button.  The function of this app will be something where a user inputs search criteria and hits the search button, then the results from flickr.com would be displayed in the form.  This has probably been covered plenty of times but I couldn't seem to find anything. 

     

Все ответы

  • 7 августа 2012 г. 9:52
     
     
    Flickr.Net API Library probably a starting point

    Karthikeya

  • 7 августа 2012 г. 11:01
     
     

    i already linked my program with  the API nw...bt still nothing is happening

    this is the code i m trying with to download an image from flickr on my picturebox by giving a keyword like flower or hawaii..but its not working ...please help me with this..

    i m using visual c# express 2010 for search any random image from flickr in windows form application

    how to link it to a picturebox

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using FlickrNet;

    namespace WindowsFormsApplication1
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }

            private void button1_Click(object sender, EventArgs e)
            {
                string apikey = "3f8554b23a5we2fe2c7asdg80agnkdm9cedag415f34d9fb";
                Flickr F = new Flickr(apikey);
                PhotoSearchOptions searchOptions = new PhotoSearchOptions();
                searchOptions.Tags = textBox1.Text;
                searchOptions.PerPage = 100;
                PhotoCollection microsoftPhotos = F.PhotosSearch(searchOptions);
            }
        }
    }

  • 8 августа 2012 г. 3:14
     
     

    Hi Sonm

    FlickrNet  is the 3rd party  API , we can’t have a deeper study .

    So , please ask in Flickr.Net API Libraryand this thread will be moved to Off-Topic posts.

    Thanks for your support and understanding .

    Regards ,


    Lisa Zhu [MSFT]
    MSDN Community Support | Feedback to us