Comments (3)
Please check our developer website for how to formulate the the parameter. Especially http://developers.facebook.com/docs/api
You can also check our developer Forum on how the Graph Api work
http://forum.developers.facebook.net/viewforum.php?id=52
Thanks!
from facebook-ios-sdk.
I'm familiar with the forum and I even contribute. I'm also aware of the first document you cited. Isn't my parameter setting consistent with that document. BTW, I also tried quotes around the AID because of the underscore. It gave a different error message but still unhelpful.
Thinking that you may be suggesting use of the DELETE method, I've tried the latter form of ...
#if 0
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObject:@"delete" forKey:@"method"];
[appDelegate.facebook requestWithGraphPath:[cellDict objectForKey:@"aid"] andParams:params andHttpMethod:@"POST" andDelegate:nil];
#else
NSMutableDictionary* params = [NSMutableDictionary dictionary]; // required even if empty
NSLog(@"aid: %@", [cellDict objectForKey:@"aid"]);
[appDelegate.facebook requestWithGraphPath:[cellDict objectForKey:@"aid"] andParams:params andHttpMethod:@"DELETE" andDelegate:nil];
#endif
and I get this logged ...
2010-08-28 08:55:57.244 ShareOrStare[20185:207] aid: 100000364547939_20156
2010-08-28 08:55:57.246 ShareOrStare[20185:207] request: <NSMutableURLRequest https://graph.facebook.com/100000364547939_20156?format=json&sdk=ios&access_token=XXX>
2010-08-28 08:55:58.875 ShareOrStare[20185:207] response: {"error":{"type":"Exception","message":"(#100) Invalid parameter"}}
Could you perhaps indicate where I'm wrong? Thanks.
from facebook-ios-sdk.
Unfortunately, We do not support album delete right now. We are working on making our api more complete, but that will take some time. Please check back with us.Thanks
from facebook-ios-sdk.
Related Issues (20)
- Feature Request:
- outdated documentation https://developers.facebook.com/docs/ios/getting-started
- Feature Request:
- Infinite requests to the graph API HOT 7
- Cannot override 'appLink' which has been marked unavailable: Not available in app extension
- Facebook Login: Invalid Scopes: openid HOT 2
- Login interface abnormal when Facebook is not installed(iPad Pro 2020,iOS 13.7)
- GraphRequest.start { connection, result, error } doesn't complete after the app is deauthorized from account
- How to make App Events work in Events Manager. IOS 14.5+
- `FacebookCore` crashes at runtime when updating Facebook SDK from `14.1.0` to `16.3.1` HOT 1
- Facebook SDK: 'DEBUG' is not defined, evaluates to 0/Could not build module 'FBSDKCoreKit'
- There is no button in the Facebook login web view that can be used to jump to the FB client to complete the login
- FBAudienceNetworkLog spamming
- error: redefinition of 'FBSDKCoreError'
- App Hanging inside FBSDKTimeSpentData suspendTimeSpentData HOT 1
- isAutoLogAppEventsEnabled
- Share not suc in iOS 13.6
- Xcode 15.3 and App Store Connect Issue HOT 132
- Merge Facebook Terminal (Microsoft)
- iPad login authorization interface error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-ios-sdk.