Comments (14)
user_id/posts works, user_id/albums just gives me an empty result back, user_id/friends gives me an error ("Failed: Error Domain=facebookErrDomain Code=10000 UserInfo=0x5a68350 "Operation could not be completed. (facebookErrDomain error 10000.)"").
from facebook-ios-sdk.
If you want access to a certain type of data, make sure to ask for the permission in the authorization flow. Read this for more info:
http://developers.facebook.com/docs/authentication/permissions
However, for the "operation could not be completed" error, can you give the parameters you're calling with (including user ID, app ID, and the graph path)?
from facebook-ios-sdk.
Graph-path: 846525646/friends
App-ID: 122315137816686
User-ID of the one doing the call?
Any chance you could give me a short example of how to "Like" an application? And how to post to your wall an ad for the given app?
from facebook-ios-sdk.
Also I have added every type of permission to the authorization:
NSArray *permissions = [NSArray arrayWithObjects:@"publish_stream", @"create_event", @"rsvp_event", @"manage_pages", @"user_about_me", @"", @"user_activities", @"user_birthday", @"user_education_history", @"user_events", @"user_groups", @"user_hometown", @"user_interests", @"user_likes", @"user_location", @"user_notes", @"user_online_presence", @"user_photo_video_tags", @"user_photos", @"user_relationships", @"user_religion_politics", @"user_status", @"user_videos", @"user_website", @"user_work_history", @"", @"read_stream", @"offline_access", @"friends_about_me", @"friends_activities", @"friends_birthday", @"friends_education_history", @"friends_events", @"friends_groups", @"friends_hometown", @"friends_interests", @"friends_likes", @"friends_location", @"friends_notes", @"friends_online_presence", @"friends_photo_video_tags", @"friends_photos", @"friends_relationships", @"friends_religion_politics", @"friends_status", @"friends_videos", @"friends_website", @"friends_work_history", nil];
[facebook authorize:@"122315137816686"
permissions:permissions
delegate:self];
from facebook-ios-sdk.
For the "Like", we currently do not have support for that yet. But we are working on that. Hopefully, we can have it in the near future.
from facebook-ios-sdk.
This issue should be solved by some recent check in about fix the url encoding.
from facebook-ios-sdk.
Does this mean the fix for eg "photoID/likes" returning correct result has been checked in at time of writing, ie august 21? Also indeed, how do we "like" something?
from facebook-ios-sdk.
Currently we do not have a implementation for Like yet. We are still working on that. Please check back with us on the developer website.
Thanks
from facebook-ios-sdk.
Hello yujuan, is there an update on this one? Any ETA for this feature? Specifically I'm waiting for the App-Id/likes feature.
In case this is not coming, do you have any good suggestion on how I could work around this?
thanks
Andrea
from facebook-ios-sdk.
For App-Id/likes, it is unlikely that we are going to use api to implement that. The reason is that using api is too easy to spam on it. We are planning on something such as dialog. Unfortunately, currently, we do not really have a good way for this feature. The alternative would be use stream publish dialog to publish to user's stream. though it is not a like.
from facebook-ios-sdk.
Thank you for the quick reply. I see what you mean about the danger of spam, I was hoping in some captcha mechanism or similar. Anyway...
The stream.publish work around does not work (I think), because, unless I misunderstood, I cannot publish to a wall of a user/page/app if the user is not friend (or !Likes) it. This is the whole point of my need. I need to allow the user to "Like" my facebook app so that I can retrieve posts from it and also post to its wall.
I guess I'll need to have my users go and push the Like button on the web. An inevitable extra step at this point.
Any ETA about the dialog solution you were mentioning? That would also work for me.
thanks a lot
from facebook-ios-sdk.
I'm having a similar problem accessing info that requires permissions. I request access for "friends_birthday" but when I try to log the date, it shows up as (null). I am pretty sure I am good on everything else because when I try to log something like their name or user ID it shows up fine.
The only birthday I can get is my own. Strange. Anybody figure this stuff out?
from facebook-ios-sdk.
I am getting the same error when trying to post just some text to the wall (facebookErrDomain error 10000). By the way, I am just modifying the demo project's publish stream method. Nothing else has changed. Am I doing something wrong?
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"the api key", @"api_key",@"This is the text of the post.", @"message",
nil];
[_facebook requestWithGraphPath:@"me/feed"
andParams:params
andHttpMethod:@"POST"
andDelegate:self];
Also, is the api_key the API key or the App ID? I used both of them and still got the same error. Cheers and thanks for any help in advance!
from facebook-ios-sdk.
Guys, my 2 cents... Be sure to Modify your application's main AppDelegate - it was my problem. RTFM ;-)
from facebook-ios-sdk.
Related Issues (20)
- iOS Facebook SDK lost session regularly HOT 1
- Facebook SDK(dynamic) Validation Failed in Unity
- Facebook Login doesn't open the App when Installed HOT 5
- App switches to limited login. HOT 10
- Facebook SDK automatic app events logging with StoreKit2 HOT 2
- Static Framework as a swift package
- Access Token Expiration error HOT 1
- Build error with FBAudienceNetwork.xcframework: Signature cannot be verified HOT 2
- ld: symbol(s) not found for architecture arm64 (Flutter) HOT 5
- iOS SDK API does not work even after performing all requested actions
- Privacy manifests only included in release 17.0.0 with breaking changes HOT 13
- Xcode15.3: After updating SDKv17.0.0 through SPM, an error occurred while running the project: dyld [5199]: Library not loaded: @ rpath/FBSDKCoreKit. framework/FBSDKCoreKit, unable to start the application HOT 17
- unity sdk 17.0.0 how date update ?
- App is live but only approved testers can login (using limited login on 17.0.0) HOT 14
- Limited Login Failed on iOS 17 HOT 2
- Facebook Login using SDK 17.0.0 always displays a limited login warning HOT 2
- Warning Issue with FBAudienceNetwork 6.15.0 Upgrade via Cocoapods HOT 4
- m.facebook.com
- apps.microsoft.com
- Get wrong first name from `Profile.current?.firstName`
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.