facebook-social-plugins

Facebook authentication in a UIWebView does not redirect back to original page on my site asking for auth

风格不统一 提交于 2019-11-27 19:06:39
In our iOS app, we have a UIWebView that shows web content on our domain that has a Facebook comment module. The comment module requires that the user is signed in with facebook. When user clicks on the sign in button, they are taken through the sign in flow, but are never redirect back to our page. They end up on an FB owned page that just tells the user "You are now signed in". Repro steps: Create a UIWebView in an iOS app, and host a Facebook comment module on a page hosted on some domain you own (e.g. http://foo.com/test.htm ). Click on the Sign In button on the comment module and notice

social content locker for blogger.com blogs? is it possible

穿精又带淫゛_ 提交于 2019-11-27 18:35:39
问题 How can I integrate social content locker in blogger blogs? We see in numbers of WordPress blogs and websites, But in blooger.com blogs you see no plugin option does anybody has another way or something like this? I Want visitor to like, tweet or g+ before reading my posts. thanks 回答1: I found this working script for this what you need to do is first backup you template. then edit HTML >search <head> tag and put this code after <head> <script src='http://code.jquery.com/jquery-1.10.2.min.js'

How to add facebook share button on my website?

放肆的年华 提交于 2019-11-27 16:43:39
I have this code that suppose to work, but doesn't work. If this helps you in anyway that would be great. <script src='http://connect.facebook.net/en_US/all.js'></script> <p><a onclick='postToFeed(); return false;'><img src="images/fb.png" /></a></p> <p id='msg'></p> <script> FB.init({appId: "338334836292077", status: true, cookie: true}); function postToFeed() { // calling the API ... var obj = { method: 'feed', redirect_uri:'https://www.facebook.com/cryswashington?fref=ts', link:'https://developers.facebook.com/docs/reference/dialogs/', picture: 'http://fbrell.com/f8.jpg', name: 'Facebook

How to make Facebook comments widget a fluid width?

爷,独闯天下 提交于 2019-11-27 09:59:59
问题 Is it possible to make Facebook's comments widget a fluid width? Their documentation shows a width field for the fb:comments xfbml or iframe which is specified as: width - the width of the plugin in pixels. Minimum recommended width: 400px. So maybe it's not possible... 回答1: I found a solution using css. Inspiration came from this article http://css-tricks.com/2708-override-inline-styles-with-css/ .fb-comments, .fb-comments iframe[style] {width: 100% !important;} 回答2: Alan your solution was

single page application with angularjs and facebook share button

爷,独闯天下 提交于 2019-11-27 09:38:18
问题 I follow this post to deploy facebook share botton in my app http://www.hyperarts.com/blog/tutorial-how-to-add-facebook-share-button-to-your-web-site-pages/ The first problem is I can not pass post.id , post.caption to facebook script. The second one is the link to every post on facebook wall link: ' link to every {{post.id}}' . If people click on a link shared on their wall, it should jum (AUTO SCROLL) to specific post on my site, this is single page so all post have the same link Thanks so

Facebook Page Plugin appears as link only on website

帅比萌擦擦* 提交于 2019-11-27 08:45:33
问题 I have seen similar posts, but haven't found an answer. I am rebuilding my website using Bootstrap and would like to add the new Page Plugin. I have followed all the instructions, inserting the Javascript code after the opening tag and inserting the other code into my web page. All that appears on my webpage is a link that reads "KMC Marine", which DOES go to my Facebook page, but no other plugin data appears. Any suggestions would be greatly appreciated. 回答1: 1) put following css code, it

Responsive width Facebook Page Plugin

两盒软妹~` 提交于 2019-11-27 07:03:55
Facebook introduced a new Page Plugin to replace the Like box plugin. Documentation: https://developers.facebook.com/docs/plugins/page-plugin/ I'm replacing the Like Box plugin with this new plugin. On some websites I've used this CSS code to make the plugin responsive inside a element: .fb-like-box, .fb-like-box span, .fb-like-box span iframe[style] {width: 100% !important;} Replacing this with this code doet not work: .fb-page, .fb-page span, .fb-page span iframe[style] {width: 100% !important;} My Page plugin code looks like this (not providing a data-width attribute): <div class="fb-page"

Laravel Socialite testing on localhost, SSL certificate issue?

狂风中的少年 提交于 2019-11-27 01:12:54
问题 To insert social login integration on my application, I'm adding Socialite library to my Laravel app. I have a facebook app registered and 2 methods as in laravel documentation: http://laravel.com/docs/5.0/authentication#social-authentication public function redirectToProvider() { return Socialize::with('github')->redirect(); } public function handleProviderCallback() { $user = Socialize::with('github')->user(); dd($user); } The request gets submitted to and returned from Facebook sucessfully

How to add facebook share button on my website?

纵饮孤独 提交于 2019-11-26 22:28:44
问题 I have this code that suppose to work, but doesn't work. If this helps you in anyway that would be great. <script src='http://connect.facebook.net/en_US/all.js'></script> <p><a onclick='postToFeed(); return false;'><img src="images/fb.png" /></a></p> <p id='msg'></p> <script> FB.init({appId: "338334836292077", status: true, cookie: true}); function postToFeed() { // calling the API ... var obj = { method: 'feed', redirect_uri:'https://www.facebook.com/cryswashington?fref=ts', link:'https:/

Facebook authentication in a UIWebView does not redirect back to original page on my site asking for auth

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-26 19:44:51
问题 In our iOS app, we have a UIWebView that shows web content on our domain that has a Facebook comment module. The comment module requires that the user is signed in with facebook. When user clicks on the sign in button, they are taken through the sign in flow, but are never redirect back to our page. They end up on an FB owned page that just tells the user "You are now signed in". Repro steps: Create a UIWebView in an iOS app, and host a Facebook comment module on a page hosted on some domain