src/org/github/solegaonkar/photography/framework/FlickrUtil.java
/**
	 * Connect to Flickr using the key/token/secrets obtained from Flickr
	 * 
	 * @return
	 */
Connect to Flickr using the key/token/secrets obtained from Flickr

@return
Connect to Flickr using the key / token / secrets obtained from Flickr @return
private static Flickr connect() {
		String apikey = "";
		String secret = "";
		Flickr.debugRequest = false;
		Flickr.debugStream = false;
		Flickr flickr = new Flickr(apikey, secret, new REST());
		RequestContext requestContext = RequestContext.getRequestContext();
		Auth auth = new Auth();
		auth.setPermission(Permission.DELETE);
		auth.setToken("");
		auth.setTokenSecret("");
		requestContext.setAuth(auth);
		return flickr;
	}
private static Flickr connect ( ) { String apikey = "" ; String secret = "" ; Flickr . debugRequest = false ; Flickr . debugStream = false ; Flickr flickr = new Flickr ( apikey , secret , new REST ( ) ) ; RequestContext requestContext = RequestContext . getRequestContext ( ) ; Auth auth = new Auth ( ) ; auth . setPermission ( Permission . DELETE ) ; auth . setToken ( "" ) ; auth . setTokenSecret ( "" ) ; requestContext . setAuth ( auth ) ; return flickr ; }
Connect to Flickr using the key/token/secrets obtained from Flickr
Connect to Flickr using the key / token / secrets obtained from Flickr