It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
What is the easiest way to fetch Facebook friends info (names,birthdays and etc) in JSON format. I'd like not to use FB iOS SDK if possible use UIWebView.
I think it is possible with 2-3 http requests. Is it possible?
Try out the below function to get your faceBook Info (logged in user info)
- (void)fetchUserDetails {
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
#"SELECT uid, name, pic FROM user WHERE uid=me()", #"query",nil];
[fb requestWithMethodName:#"fql.query"
andParams:params
andHttpMethod:#"POST"
andDelegate:self];}
Hope this helps
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
facebook is providing new feature to post route map and not image of map. i have checked their documentation and I found this code but i am getting much what to do
they have given this kind of code
NSMutableDictionary<FBGraphObject> *action = [FBGraphObject graphObject];action[#"course"] = #"http://samples.ogp.me/136756249803614";
[FBRequestConnection startForPostWithGraphPath:#"me/fitness.walks"
graphObject:action
completionHandler:^(FBRequestConnection *connection,
id result,
NSError *error) {
// handle the result
}];
I have done this. you can not do this with only IOS you need to use Php you need to send array of longitude and latitude to php side and then from php side posting on that map on facebook my job was on IOS i do not know how to do at PHP side
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am looking to implement the ShareSdk for an iOS app. And it needs these parameters:
#define SHKFacebookUseSessionProxy NO
#define SHKFacebookKey #""
#define SHKFacebookSecret #""
#define SHKFacebookSessionProxyURL #""
And provides this url where to get it:
http://www.facebook.com/developers
But I am not finding how to get those parameters there. Would anyone be able to explain the steps to get those parameters?
Thanks,
Alex
Go to Facebook Apps Page, create a new app, get your keys.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can I pull the list of celebrities , and different categories through the Twitter API ?? Like on this website http://www.twellow.com/categories/entertainment ... It shows lists of entertainers on thw Twitter API.
That site's categories appear to rely primarily on users listing themselves. Twitter does not natively expose categories such as "celebrities" or "entertainers".
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am trying to show a Facebook page posts using UITableView. Is there a way for that in iOS 5 or 6?
You need to get a OAuth Token and get the JSON Feed from the OpenGraph
For the OAuth Token:
https://graph.facebook.com/oauth/access_token?client_id=<client_id here>&client_secret=<client_secret here>&grant_type=client_credentials
and for the feed:
https://graph.facebook.com/<facebook_page_id>/feed/?access_token=<oauth_token>
You get an JSON Array back and can parse it using your favorite JSON Parser.
In Addition you can explore the open graph using this tool:
https://developers.facebook.com/tools/explorer/
Hope that helps. Happy iCoding.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Do they use UIWebview, RSS, NSURLRequest exclusively?
i'm sure they use a host of features. i would guess that they only use UIWebViews when they're displaying a full article. i'd recommend looking into:
https://github.com/AFNetworking/AFNetworking for handling URL requests etc(by the guys who make gowalla)
https://github.com/mwaterfall/MWFeedParser for handling RSS feeds