I want to upload photo on flickr from my webpage.
My code is
Private Function GetAuthenticateToken() As String
Dim flickr As New Flickr("9855637e1efcb0a7245c2dfb5523774b", "6634b31122809bd7")
Dim frob As String = flickr.AuthGetFrob()
Return flickr.AuthCalcUrl(frob, AuthLevel.Write)
End Function
Public Sub UploadFile(ByVal fileName As String, ByVal title As String, ByVal description As String)
Try
Dim authToken As String = GetAuthenticateToken()
Dim flickr As New Flickr("9855637e1efcb0a7245c2dfb5523774b", "6634b31122809bd7", authToken)
Dim photoId As String = flickr.UploadPicture(fileName, title, description, "", True, False, _
False)
Catch ex As Exception
Throw ex
End Try
End Sub
But nothing is happen. Please help.