 |
btw, I'm using flickrj. I think i need to set the Auth User somehow with my credentials... i'm exploring now :)
Posted 2 months ago.
(
permalink
)
|
 |
I don't know how (or if) flickrj handles this, but all you need to do is authenticate as yourself once, save the auth token, and use that for all your subsequent calls without messing with authenticating again.
Posted 2 months ago.
(
permalink
)
|
 |
Create a REST request with your username/id in it and dynamically add the tags you want to search using PHP or similar.
After that you use PHP or similar to read through the returned records and display them.
Posted 2 months ago.
(
permalink
)
|
 |
Have a look at this www.flickr.com/services/api/flickr.photos.search.html
Posted 2 months ago.
(
permalink
)
|
 |
api.flickr.com/services/rest/?method=flickr.photos.search...
For example
Posted 2 months ago.
(
permalink
)
|
 |
Thanks... just curious how I find out what my user id is?
Posted 2 months ago.
(
permalink
)
|
 |
Nevermind, I figured out how to find the NSID:
pipes.yahoo.com/pipes/pipe.info?_id=pM0AzPmn3BGSS53rBx2yXQ
wanted to share in case others aren't sure how to get it. :)
Posted 2 months ago.
(
permalink
)
|
 |
theres also idgettr.com
Posted 2 months ago.
(
permalink
)
|
 |
The flickr.photos.search doesn't work because I need to also upload files using my app... and since that api doesn't require authentication I don't have the privilege to upload.
Anyone else have any suggestions? I tried just logging in as myself for test purposes but I can't save the frob and continually use it. It seems to expire.
Posted 2 months ago.
(
permalink
)
|
 |
You don't need the frob. What you have to save is the *token* you get after authenticating. Once you have the token you can use it whenever you want to make a call signed as you.
Posted 2 months ago.
(
permalink
)
|
 |
hi i am new as well, and i am failing to see the problem here,
if you set up an rss in flickr, there should be no authentication that i can see.
where do you set the authentication for your feeds.
Posted 2 months ago.
(
permalink
)
|
 |
:You don't, unless you need to use the API to fabricate your own feed elsewhere.
Posted 2 months ago.
(
permalink
)
|
 |
so how do i feed the large images or the originals instead of the medium ones ?? :D
PS. how did u link my icon?
Originally posted 2 months ago.
(
permalink
)
ChazzJazz edited this topic 2 months ago.
|
 |
Silly~ I did save my token and now I'm getting the following error:
Exception in thread "main" com.aetrion.flickr.FlickrException: 98: Invalid auth token
at com.aetrion.flickr.uploader.Uploader.upload(Uploader.java:122)
when I try to upload a dummy file. My call is:
System.out.println("nsid is: " + nsid);
Uploader uploader = new Uploader(nsid);
UploadMetaData md = new UploadMetaData();
md.setDescription("new photo");
Collection tags = new ArrayList();
tags.add("lisa");
md.setTags(tags);
byte[] dumb = null;
uploader.upload(dumb,md);
See anything else I might be missing?
Posted 2 months ago.
(
permalink
)
|
 |
How did you obtained the token? And how do you tell FlickrJ which is the token? Anyway, if in doubt use flickr.auth.checkToken to see if your token has "write" permission.
Posted 2 months ago.
(
permalink
)
|
 |
I FIGURED IT OUT!! HAHAHAHAHAHAH...
okay, :) my problem was I was using the nsid when I created the Uploader rather than my apikey.
Thanks for your quick response. Maybe this will help others :)
Posted 2 months ago.
(
permalink
)
|
 |
: Sorry, I hadn't seen your post :-)
If you need to feed the larger images you have basically two options:
1 - Use the API to get the info and build the feed yourself
2 - Intercept the actual feed and replace the url attribute inside the media:content element by the large or original
Method no. 2 might be easier in that you can just change the size modifier of the URL to get the large size in most cases. Do note, though, that Flickr doesn't generate that size if the image is 1280 px or less, so you might be obliged to use the API to query for the URI of the original size, which you wont' get always, either.
eta: Ok, aparenttly, the feeds already include (in media:content) the biggest size that is possible to share, according to the permissions level of the account in question. So you can forget about all this.
Originally posted 2 months ago.
(
permalink
)
Silly Luis edited this topic 2 months ago.
|
 |
Hello, new to this group and to Flickr API Developing.
I'm building a desktop application to upload photos to flickr but I always get error 98, Invalid Auth Token.
This is the code:
//Try To Upload a Photo
System.out.println("Token Is: " + auth.getToken());
System.out.println("Permission for token: " + auth.getPermission());
com.aetrion.flickr.uploader.Uploader up = new Uploader(this.apiKey);
com.aetrion.flickr.uploader.UploadMetaData photoData = new UploadMetaData();
photoData.setDescription("Test Upload from java API");
photoData.setPublicFlag(false);
InputStream is = new BufferedInputStream(new FileInputStream("c:/Users/garghe/2500934057_9ee5e0799e_o.jpg"));
up.upload(is, photoData);
I got the tokone with the FlickrAuth Class, I have WRITE permission for this one.
Can anyone help me?
thank you :)
marco
Posted 5 weeks ago.
(
permalink
)
|
Would you like to comment?
Sign up for a free account, or sign in (if you're already a member).
|