photos

Instagram API - User photos

孤人 提交于 2020-01-29 13:16:57
问题 does anyone know can I get photos from instagram user without using access token. It doesn't make sense that I see photos on http://instagram.com/{user} but can not get them using instagram api. Thanks 回答1: No I don't believe this is possible using their api. From instagram's documentation: (http://instagram.com/developer/authentication/) Authenticated requests require an access_token. ... We only require authentication in cases where your application is making requests on behalf of a user

Get All Images from cameraroll asynchrously

做~自己de王妃 提交于 2020-01-17 05:49:32
问题 I want to get all images from cameraroll asynchrously Now I am using that code but my application got hanged untill all the images retrieved , I noticed in instigram or other application it doen't take time to load picture from camerroll. -(void)getAllPictures { NSLog(@"i m in "); imageArray=[[NSArray alloc] init]; mutableArray =[[NSMutableArray alloc]init]; NSMutableArray* assetURLDictionaries = [[NSMutableArray alloc] init]; library = [[ALAssetsLibrary alloc] init]; void (^assetEnumerator)(

Save metadata for custom image with Swift (iOS) and Photos framework

大兔子大兔子 提交于 2020-01-13 09:06:48
问题 I am trying to add metadata to my synthetically generated and save it to camera roll by using the Photos framework. I got the saving and editing working but I just can seem to figure out how to add metadata. I have tried many approaches like adding the metadata by creating a CoreGraphics image (see code below). All these approaches do not give me an error but I just cannot see the metadata when I open the image on my Mac. Can anyone point me in the right direction here? PHPhotoLibrary

Save metadata for custom image with Swift (iOS) and Photos framework

假装没事ソ 提交于 2020-01-13 09:06:08
问题 I am trying to add metadata to my synthetically generated and save it to camera roll by using the Photos framework. I got the saving and editing working but I just can seem to figure out how to add metadata. I have tried many approaches like adding the metadata by creating a CoreGraphics image (see code below). All these approaches do not give me an error but I just cannot see the metadata when I open the image on my Mac. Can anyone point me in the right direction here? PHPhotoLibrary

How to retrieve PHAsset from UIImagePickerController

徘徊边缘 提交于 2020-01-12 04:45:30
问题 I'm trying to retrieve a PHAsset however PHAsset.fetchAssets(withALAssetURLs:options:) is deprecated from iOS 8 so how can I properly retrieve a PHAsset? 回答1: I had the same the issue, first check permissions and request access: let status = PHPhotoLibrary.authorizationStatus() if status == .notDetermined { PHPhotoLibrary.requestAuthorization({status in }) } Just hook that up to whatever triggers your UIImagePickerController. The delegate call should now include the PHAsset in the userInfo.

Google+ photos api [closed]

十年热恋 提交于 2020-01-10 19:27:40
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Is there a Google+ photos gdata API? I was using Google picasa API but picasa has a 1 GB limit for photos. I want to upload all my photos using the script which i am writing to Google+ photos. Is there a Google+ photos gdata API? 回答1: Google+ does not currently have a public photo API. It was accidentally

Getting all the photos in a user's profile using Facebook SDK on android [duplicate]

戏子无情 提交于 2020-01-07 07:58:07
问题 This question already has answers here : Getting user photos using Facebook login on android (2 answers) Closed 4 years ago . I'm able to get profile photo of a user using Facebook SDK 4.0 on android using this - loginButton = (LoginButton)findViewById(R.id.login_button); profile = (ImageView)findViewById(R.id.profile); loginButton.registerCallback(callbackManager, new FacebookCallback<LoginResult>() { @Override public void onSuccess(LoginResult loginResult) { String userId = loginResult

Getting Full sized image from camera, Memory Issue

落花浮王杯 提交于 2020-01-06 15:18:07
问题 I am using this line of code for getting the full sized image, i am not setting this image on any view, still this line when executed takes a lot of ram, around 110-120m, any solutions ? I even tried running this code in Backgroung thread using Async Task. The picture resolution is 4008*5344. Bitmap image = MediaStore.Images.Media.getBitmap(getContentResolver(),Uri.parse(mCurrentPhotoPath)); And the below method given in developers site, gives me Null bitmap. private void setPic() { // Get