Posting a Photo to Fousquare API V2
Tag : php , By : user183442
Date : March 29 2020, 07:55 AM
around this issue I've fixed the problem, turns out the param that you need to send to foursquare is "photo". All the other params must be included in the POST array as well. Even though the content-type is requested as "image/jpeg", I've just put in "Except:" and it works fine. I'm not 100% sure why that goes through, but it does. Updated code below: $s = array("photo" => "@".$image, "checkinId" => "4fecf6abe4b0369bc7389903");
$url = "https://api.foursquare.com/v2/photos/add?oauth_token=TOKENHERE&v=20120609";
.....
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Expect:"));
|
Facebook photo upload not posting photo to wall
Tag : ios , By : user178372
Date : March 29 2020, 07:55 AM
wish of those help The solution is to call your facebookPhotoUpload request on the main thread. Running it on another thread causes it never to get the request to facebook correctly. Also here is another stackoverflow question with the same/similar problem with a deeper explanation as to why this behaviour exists. Facebook request thread problem
|
I can't make the photos bigger after posting using my photo posting app
Tag : php , By : ganok_tor
Date : March 29 2020, 07:55 AM
|
ObjC, Facebook Page - posting news feed works, but posting photo does not
Tag : ios , By : cnemelka
Date : March 29 2020, 07:55 AM
may help you . I found the solution, although I find it weird that I did not have to do this for the /feed page update Huge thanks goes for Mr. Arpit Kumar Kulshrestha, who pointed out the right way in my previous incarnation of the problem ( Xcode - how to share photo from iPhone app to Facebook managed page feed ) FBAccessTokenData *tokenData = [FBAccessTokenData createTokenFromString:pageTokenString permissions:[FBSession activeSession].accessTokenData.permissions expirationDate:[FBSession activeSession].accessTokenData.expirationDate loginType:FBSessionLoginTypeFacebookApplication refreshDate:nil];
FBSession *sessionFb = [[FBSession alloc] initWithAppID:appID permissions:[NSArray arrayWithObjects: @"publish_stream", @"manage_pages", nil] urlSchemeSuffix:nil tokenCacheStrategy:[FBSessionTokenCachingStrategy nullCacheInstance]];
[sessionFb openFromAccessTokenData:tokenData completionHandler:^(FBSession *session, FBSessionState status, NSError *error)
{
}];
[FBSession setActiveSession:sessionFb];
|
Photo-Captions are missing when posting a Photo on Tumblr
Date : March 29 2020, 07:55 AM
|