facebook-sdk-3.1

Where to set the “shared via” text for a Facebook App

我与影子孤独终老i 提交于 2019-12-03 13:31:47
问题 I have an iOS app that can create shares on Facebook. The sharing itself works fine but we don't see a text for the "shared via" line as you can see in the attached image. It just says "shared a link via .". I expect the text to be "shared a link via APPNAME." instead. I already tried to add some settings for the Facebook App but that did not help. This is how I trigger the share in my iOS app: NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: name], @"name",

Android Facebook SDK 3.2 Getting Profile Email information Showing Null

☆樱花仙子☆ 提交于 2019-12-02 04:15:19
问题 I am using Facebook SDK 3.2 for login in my android app. Login, logout functions working fine. My Problem: after login want to retrieve the Facebook Username and Email. Username Showing Perfectly Email is not Showing. Please help me to solve it. MainActivity.java public class MainActivity extends FragmentActivity { String TAG="MainActivity"; private static final String PERMISSION = "publish_actions"; //private static final String PERMISSION = "email"; private final String PENDING_ACTION

How to get user info from Facebook SDK in iOS?

為{幸葍}努か 提交于 2019-11-28 03:17:34
问题 How to get user name when user session is open.I tried the session login sample from Facebook sdk samples. if any one knows the solution please help me out. Thanks in advance. - (IBAction)buttonClickHandler:(id)sender { // get the app delegate so that we can access the session property SLAppDelegate *appDelegate = [[UIApplication sharedApplication]delegate]; // this button's job is to flip-flop the session from open to closed if (appDelegate.session.isOpen) { // if a user logs out explicitly,