One Facebook account on Two domains - c#

I’m using Facebook login and share on my website.
Now I have at second website, and I want to use the same Facebook for developers account / App.
I want to show the information from the different website.
Is it possible to have to domains on one Facebook for developers? Or is there a workaround on this?
I using HTML5 with AngularJS on the client and C# MVC 5 back end.
Could I change the Facebook for developers account / App Id back end in StartUp.Auth by looking on the calling domain? Then I just have to create a new Facebook App.

Related

"You should avoid this app" when trying to connect Google Analytics to our app

We are receiving this popup (in multiple browsers, not just Chrome) when our users are trying to connect Google Analytics from inside of our web application. Previously, the user could hit Advanced and just acknowledge the popup and move on, but that isn't possible any longer. If you've received this popup, how did you get around it?
This is an Angular 1.7 app on the client-side and a C# web API on the back-end.
You can get your app Google Verified, that's the absolute best way to solve it.
You can try adding one of the users (yourself, or someone you can trust?) to the API IAM with the role of "Editor" which should allow that person to access it at least.

Facebook API Application Permissions

I want to write application which allows me to send video on Facebook wall.
I was writing app in Winforms C#.
I was creating application in Facebook developers (without Platform, just simple application).
For my credidentials everything works fine. But when I'm using another, I've got information that application doesn't has permissions to post on Facebook. In Winforms app I set permissions: publish_actions, manage_pages. I've heard that my Facebook app must ask for these permissions. To do this, I must to create web page. I don't want to create web page for review, because I don't have time for that and I can't write pages. Is there any way to just send movie to Facebook after login in Winforms application? I thought this should be easy, but for now, it's a nightmare. Please, help me.

Scheduling Facebook posts for future

I am developing an application by which we can schedule our posts for future & which will be automatically posted to facebook on scheduled time.
I am able to post when I am logged in to facebook using my web application but I have no idea how will i post on scheduled time when i am not logged in to the facebook.
How will facebook identify that post should be posted on my wall & not on others wall.
Can any one help me.
I am using c#, asp.net for my application.
You create a facebook application using the Facebook API, you will then add that application your account providing it with the ability to post to your wall.
Then simply have the application check a database with your pre written content in, and when it's time post the content.
Have a look at the getting started guide: http://developers.facebook.com/docs/
If more than one person is using the application then there will a public token saved in the database assigned to each user, which facebook will authenticate against to see if that token/app has permission to post to that particular users wall.

Facebook C# SDK - invite friend to Web SIte

I have a web site and I want to give a opportunity to users to invite their facebook friends to this web site.
I have:
C# Facebook SDK installed to project
Facebook Dev Account with new app
Users at my site use site's auth control (not oAuth). They register on site and can connect their Facebook profile.
The question is next one: How to allow users to invite their friends to web site not using facebook oAuth (just sending user id) with Facebook C# SDK (or without if it's not possible in this way)
UPDATED
I want to do this in next way: user click the button "invite friends" (standart invitation screen of FB), check friend, click invite - finish action :)
Thanks a lot!
I think you should look at the Requests dialog here: http://developers.facebook.com/docs/reference/dialogs/requests/
Only drawback is, that when users accept the request, they'll be shown your Canvas URL - which means this page loads inside the Facebook UI - they're not redirected to you site entirely.
You could use this page to "sell" your website, so they navigate to your site.
Another approach is using the new Send button: http://developers.facebook.com/docs/reference/plugins/send/
This will send a message with a link to your site.
I dont think that is possible. Becuase to access user private data you need to authenticate yourself as well as user with facebook. Facebook provides OAuth for the same !

How to post to Facebook user's profile?

On my site, user's post goods for sale (similar to Craigslis). I want to create the capability for user's to have it post to their facebook profile automatically from my site.
The scenario I'm imagining is this.
User creates an account on my site. In their profile, they allow my site to post to their facebook profile. From then on, anytime they post an ad, it automatically posts it to the facebook profile as well.
What do I need to do to create that agreement between my site and their facebook profile?
How do I actually post it to facebook? I'm developing in .NET/C# on ASP.NET MVC
Been hearing multiple stories on how to do this, not quite sure which to take and run with. Thus, I'm asking the experts here on StackOverflow! Thanks in advance!
A few resources that you might find helpful to get started :
Facebook Developer Site - Documentation for the API, forums, etc.
Facebook Developer Toolkit - a .NET library that provides access to the Facebook API
If you're looking to provide integration with facebook features on your site, you might want to look into Facebook Connect and its capabilities..
A while back I was looking at Facebook Connect and ASP.NET MVC and found these links helpful as well:
Making Facebook Connect work with ASP.Net MVC
http://singulartechnologies.com/integration-of-facebook-connect-with-asp-net-mvc
http://singulartechnologies.com/custom-asp-net-mvc-authorization-with-facebook-connect

Categories

Resources