facebook

Xamarin.Auth Facebook login Completed event not firing

最后都变了- 提交于 2021-01-29 13:16:47
问题 I am trying to create a Xamarin.Forms application with a Facebook login button. Everything works up until the part where the Completed event, which never gets fired. I am using a PageRenderer to initiate the auth flow as follows: [assembly: ExportRenderer(typeof(Page1), typeof(LoginPageRenderer))] namespace xmrn1.Droid { class LoginPageRenderer : PageRenderer { private const string ClientId = "<sanitized>"; public LoginPageRenderer(Context ctx) : base(ctx) { } protected override void

Facebook api pending friend request sent by user

こ雲淡風輕ζ 提交于 2021-01-29 11:10:20
问题 I dont find any graph api or fql query to retrieve the list of pending friend request sent by the user. Is there any way to retrieve it ? 回答1: There's an FQL table called friend_request which shows the pending friend requests sent by or to the current session user. However, it does not allow you to retrieve the list of pending friend request sent by the user because the only indexable field in this table is uid_to . This means that you can read the list of pending friend request sent to the

Invalid value found in media: <FBSDKShareVideo>

本小妞迷上赌 提交于 2021-01-29 08:07:45
问题 Xcode 12.2, swift console log : Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid value found in media: <FBSDKShareVideo: 0x283f91650> - ( "<FBSDKShareVideo: 0x283f91650>" I want to share Video , URL , Hashtag and text in current logged in user (Facebook App) , What I tried so far is, //I’m downloading file from server. let data = try Data(contentsOf: outputFile) var video = ShareVideo(data: data) if let thumbnail = Functions.videoSnapshot(vidURL: docURL

Share content using Intent to Facebook Lite Android

拥有回忆 提交于 2021-01-29 08:01:03
问题 Am using the following code for sharing the content directly to facebook app, Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND); shareIntent.setType("text/plain"); shareIntent .putExtra( android.content.Intent.EXTRA_TEXT, "Some text"); PackageManager pm = v.getContext().getPackageManager(); List<ResolveInfo> activityList = pm.queryIntentActivities( shareIntent, 0); for (final ResolveInfo app : activityList) { if ((app.activityInfo.name).contains("facebook")) { final

Handling HeroCards responses In Microsoft Bot Framework v4 for NodeJS

情到浓时终转凉″ 提交于 2021-01-29 07:45:10
问题 I am using NodeJs API of Microsoft Bot Framework v4 . And my dialogs are not hardcoded in the ActivityHandler , I just call from there. I am using Waterfall dialogs. So when I try to show Carousel card on messenger (which is HeroCard on Microsoft bot framework), it shows up successfully but when I click any button on cards, there is no response for next dialog. I tried to handle on onMessage hook but, it just tries to validate the response and throw errors. .... ListItems extends

facebook remove app

流过昼夜 提交于 2021-01-29 07:22:49
问题 My site has its own login system and the user can choose to connect his fb account with the site account. I wonder how the user could remove fb connection/application after being connected. I currently remove fb_id from the user table to deactivate fb connection. However, this doesn't completely remove the app from user's fb account. 回答1: Account > Privacy Settings > Apps and Websites (Edit your settings) In this page you can just delete apps. This way user can deactivate/disconnect websites

Xamarin.Essentials.WebAuthenticator.AuthenticateAsync does not close popup window after success login to Facebook on Android

只愿长相守 提交于 2021-01-29 07:02:23
问题 I created a facebook login service in Xamarin. Everything is working fine in an UWP application. I also implemented the required options for Android (CallbackActivity with Intent). The Facebook login page properly appears. The login is succcess, and it redirects to the configured success page. The problem is that on Android after the success page appears, the login windows is not closing, and Xamarin code does not catch the access_token. Everything works fine properly in UWP. In the service I

how to set a facebook embed video to 100% width

谁说胖子不能爱 提交于 2021-01-29 05:30:06
问题 I use the facebook embed plugin and it generates an iframe but I have a display issue only on mobile, It takes more than 100% width. Here is my code : <div class="fb-post" data-href="https://www.facebook.com/20531316728/posts/10154009990506729/" data-width="auto" data-show-text="true"> <blockquote cite="https://www.facebook.com/20531316728/posts/10154009990506729/" class="fb-xfbml-parse-ignore"> </blockquote> </div> What can I do to have a 100% width iframe on mobiles devices ? Thank you,

Whatsapp Business API Registration - Acquire certificate from whatsapp buiness manager

穿精又带淫゛_ 提交于 2021-01-29 02:12:55
问题 Installed whatasppp Business api followed the link https://developers.facebook.com/docs/whatsapp/installation Logged into https://localhost:9090/ For registration, it requires a phone number and a certificate. Setup the Whatsapp Business APP for phone number then added the number in Facebook business manager. However, couldn't acquire the cerificate to complete the registration. There are instructions in the link https://developers.facebook.com/docs/whatsapp/api/account but couldn't follow it

FaceBook Comments plugin help

筅森魡賤 提交于 2021-01-28 14:03:24
问题 I am trying to use the facebook comments plugins in my website. so I added the plugin in every article. but the comments are the same, for example if i wrote a comment in article a, it appears also in article b. did anyone know how to work with that? 回答1: you set the xid unique for each article; all comments with the same xid will appear together 回答2: If you are using ASP.Net then you could always set the href attribute of the fb:comments tag to be the same url as that of your page. This