w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
How make my Facebook PAGE feed appear on my personal website?
What you are searching for is the Like Box which has option to display your Page's stream on your website. Features about the like box (Quoting from documentation) See how many people like the Page, and which of their friends like it, too. Read recent posts from the Page. Like the Page with one click, without needing to visit the Page.

Categories : Facebook

Disable /Account/Register page after user is logged in - ASP.net
In your Page_Load event you can check if user is logged in and redirect him if so: protected void Page_Load(object sender, EventArgs e) { if (HttpContext.User.Identity.IsAuthenticated) { Response.Redirect("~/Default.aspx"); //redirect to main page } } Note this is solution for ASP.NET. And MVC variant: public ActionResult Register() { if (!HttpContext.User.Identity.IsAuthenticated) { return View(); } else { return RedirectToAction("Index"); } }

Categories : C#

Facebook Page Tab App - transfer app to different account
as you have been told, it's not possible for "business" accounts to create app. I guess you are talking about "fake" personal account to which multiple people from your company will have access to. If that's the case, then just add that account as admin to your app - and then remove yourself from admins. That's it - app belongs to another account now. UPDATE: probably "fake account" is not the best word. I should have said "company owner will register personal account which will be used for business purposes". In this case you can transfer the app there.

Categories : Facebook

Facebook login on page - what when user delete app in own account?
I'm presuming by "still have my app on his account" you mean your app is still authorized to access that user's account with whatever permissions you've requested/the user granted when signing onto your site. If you've followed Facebook's instructions on implementing Facebook Login for Web on your site (https://developers.facebook.com/docs/facebook-login/getting-started-web/) you are probably already set to handle user revoking FB permissions from your app (or deleting your app from those allowed access to his/her account). Basically, when a user accesses your site and uses Facebook login you send a request to FB API to check their current login status: https://developers.facebook.com/docs/facebook-login/login-flow-for-web/#checklogin and if the returned result indicates that they are,

Categories : Facebook

Register same Unity interception & call handler for all registered types
Unity 3 provides registration by convention which could help in this scenario: IUnityContainer container = new UnityContainer(); container.AddNewExtension<Interception>(); container.RegisterTypes( AllClasses.FromLoadedAssemblies().Where( t => t.Namespace == "My.Namespace.Services"), WithMappings.MatchingInterface, getInjectionMembers: t => new InjectionMember[] { new Interceptor<InterfaceInterceptor>(), new InterceptionBehavior<MyBehavior>() }); } You could combine the above with Policy Injection to use matching rules to wire up your call handler. That way you could use a variety of matching rules instead of (or in combination with) attributes to determine which call handlers go with which classes/methods. container

Categories : C#

Facebook feed not posted when i remove the application from facebook account
You should be getting an error back if the user has removed your app. See this doc on how to properly handle the different types of errors. You can also reference the Scrumptious sample application that's shipped with the SDK, which demonstrates the techniques outlined in the above doc, specifically the handleError() method in the SelectionFragment class.

Categories : Android

Facebook Account Verification, without the approval via facebook
Sorry friend, but I guess you're mistaken. I tried to do what you said at 9GAG and I got this: 9GAG would like to access your public profile, friend list and email address. (OK) (CANCEL)

Categories : PHP

Unable to register SPN in windows 2008R2 to create SPN for SQL Server 2012 service account
Since the service runs as network service, I believe the account name will need to be the machine name. Tristan shows something similar in his blog at http://blogs.technet.com/b/tristank/archive/2006/05/08/spns-r-fn.aspx. His example is for HTTP but you should be able to change it to MSSQLSvc: For an App Pool running as NetworkService on the default port: SETSPN -A HTTP/intranetweb syd-inet-web01 (that last part's the machine name)

Categories : Sql Server

FBSDKLog: Cannot use the Facebook app or Safari to authorize, fb**** is not registered as a URL Scheme
Try FBConnect you can find thorough how to here: http://mobisoftinfotech.com/iphone-fbconnect-facebook-connect-tutorial/

Categories : IOS

Adding a role to users that are registered through Facebook in Dotnetnuke
I don't believe this is possible in the standard FB provider for DNN. You likely would need to do this via the database, I would recommend looking at a user that you know was added through FB and see if you can see any differences in their profile from a regular user (likely in their username) and see if you can create a SQL trigger that handles that role addition.

Categories : Facebook

Cannot test payment via personal test paypal account created with paypal sandbox (also email appears not to be recognised at paypal.com public site)
Found the solution :) Happy to be answering my own question: the working solution is to use www.sandbox.paypal.com in the form action when testing, instead of www.paypal.com As per page 27 of: https://cms.paypal.com/cms_content/GB/en_GB/files/developer/PP_Sandbox_UserGuide.pdf It says: IMPORTANT: To execute test transactions on Sandbox you need to complete a purchase as a test buyer with your buyer test account. Typically, you go through your website purchase flow as a buyer. You must ensure that you execute your test on www.sandbox.paypal.com instead of www.paypal.com So, for example, the snippets of code for your paypal button would look something like: <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> but still use just paypal.com f

Categories : Testing

Facebook 'like' button doesn't show when linking to my Facebook page - it works for every other page
Ok. I feel like an idiot. After about a month of thinking, I was having a shower this morning and I finally figured out the problem. This Facebook page is not available to people in Thailand. I live in Thailand.

Categories : Facebook

Facebook oauth for accounts with managed page not switching (using Facebook as your page)
I'm having the same issue :( I haven't come across a solution.. except maybe to create a landing page on facebook canvas. This will prompt them to switch from "Page" to "Personal" before going through your application setup.

Categories : Facebook

Facebook c# sdk always logs in using the same account
I was not able to determine the correct flow of your app. But I am pretty sure the problem you're facing is due to the access token. An access token generated through Server Side is valid for 2 months. Which means you can use it to perform graph api calls on behalf of the user until the token expires. That's the reason it returns the details of the same person when you call me = api.Get("me");. Here's a very well explained tutorial for beginners on using Facebook C# SDK. For your last problem, me/feed return user's timeline posts. To fetch user's news feed, you need to call me/home.

Categories : Misc

Facebook like button is not counting like in account.
"is it because my site is now only locally available (localhost)" yes; the URL you're liking should be a fully qualified URL which facebook's crawler can reach in order to get the metadata for that URL - see the like button docs for more information: https://developers.facebook.com/docs/reference/plugins/like/

Categories : Facebook

How to retrieve facebook user's ads account id?
You can use the facebook graph explorer to discorever this informations. you must specify the fields to pass to the facebook graph explorer. Example : https://graph.facebook.com/{user_id}?fields=id,name,adaccounts Also you can find using this http://rubygems.org/gems/zuck to retrieve all adaccounts/ads/account_id that specific user, just remember that you must have sufficient permissions to read this information and also need a token that has not expired .

Categories : Facebook

Can I use the sync adapter in android with a facebook account?
Yes, but the sync adapter requires an account, so you would have to follow the instructions in the sync adapter docs to create a dummy account in the account manager just for your sync adapter. http://developer.android.com/training/sync-adapters/creating-sync-adapter.html#CreateAccountTypeAccount Your sync adapter would basically ignore this dummy account argument to performSync. The account used by the user to log in is not really relevant to your sync adapter. What you're interested in is the user's facebook account. You need to store some information somewhere like in SharedPreferences that your sync adapter can use to know what user and any other details it needs when it is authorizing with the facebook sdk. Your app would need an activity to have the user initially sign in with face

Categories : Android

Facebook wont sign in on one specific account
I recently saw that com.facebook.sdk error 2 message in an app I was working on, and it turned out for me, the problem was that the user had denied facebook access to our app without realizing it. Have your user go into Settings -> Facebook and see if your app is in the list and make sure the switch is turned to ON.

Categories : IOS

Should I be creating Like Box and Like Buttons for others while logged into my Facebook account?
This page will create a like button for someone based on a URL, no need to be in a facebook account: https://developers.facebook.com/docs/reference/plugins/like/

Categories : Facebook

How to read all facebook album from my FB account without login
To read an Album you need Any valid access token if it is public and belongs to a Page The user_photos permission if it belongs to a User The friends_photos permission if it belongs to a User's friend Source: https://developers.facebook.com/docs/reference/api/album/ Your example applies to a page. This is why you can get the album information without any token. As the documentation explains, you will need permissions to access the albums of a user. With permission, comes a token, which implies a user to login. So, you can't read all facebook album from your FB account without login.

Categories : PHP

Do I have to create an Account, Merchant Account, or just a customer to Credit a Balanced Bank Account?
Your workflow is correct. The Customer resource abstracts away from you the pain the Account resource had when dealing with underwriting a merchant. Underwriting is required as part of the KYC (Know Your Customer) operation requirements Balanced needs to follow. Each Customer has an attribute named is_identity_verified where you can know if the Customer's identity was verified. Ideally you want to make sure the identity is verified for each Customer to which you will be crediting. While you can still perform credits (I believe up to a certain limit) to Customers whose identity is not verified, you run the risk of increased fraud and there may eventually be consequences to your marketplace. Also, feel free to stop by #balanced on IRC. You'll probably get much faster answers to your questi

Categories : Misc

How to set custom page as default page for customer account?
Hope this help <?php Mage::getSingleton('customer/session')->setAfterAuthUrl(Mage::getUrl("sales/order/history/"));?> Or try this extension : http://www.magentocommerce.com/magento-connect/custom-login-redirect.html

Categories : PHP

Google and Facebook login redirect twice at /Account/ExternalLoginCallback MVC - 4
If you post the code from the account controller, we might help. However, my thinking is, either you are clicking the button too fast twice, or, there is a duplication of code in the account controller calling Oauth twice.

Categories : C#

Proper way to link existing user with facebook account
I know this is too late but the answer may help someone who needs it. Me too got the same problem and i tried the below code and it worked for me. See the link for more help. Include the following code in the activity in which the facebook linking code used. @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); if (requestCode == com.facebook.Session.DEFAULT_AUTHORIZE_ACTIVITY_CODE) ParseFacebookUtils.finishAuthentication(requestCode, resultCode, data); }

Categories : Android

Use facebook as (alternate user account) causing like button to disappear
As far as I am aware, fan pages can only like objects within Facebook. The like button on websites are meant for personal profiles only. Your only option to maintain the same layout would be to fix the div container of the like iFrame to a fixed height. The overflow hidden should also help (already set).

Categories : Javascript

Long-lived tokens for a business user account on Facebook
There should be no reason a business account can't get a long-lived access token, that's one of the primary purposes of business accounts, managing ads and pages via the API Only real, verified, personal users should be the owner/developer/admin of an app, but an app's users don't necessarily need to be regular users. There's a bug right now about business accounts not being able to get 60 day tokens. That bug excluded, business accounts should be able to get 60 day tokens the same way a personal user does.

Categories : Facebook

Connect Current_User Account to users Facebook & Twitter Rails
It doesn't matter what attribute name you give it. Just store it in your users table as something and pass it to fb/twitter (as per their API documentation) during your request to these sites. Maybe fb_token and twitter_token? If this doesn't answer your question please elaborate as it is not clear what you're asking.

Categories : Ruby On Rails

facebook android sdk - Only developer account can share posts but other users can't
I assume you might have forgotten to add the tester privileges to the facebook accounts that you tried other than the developer account. As you are developing your app it will be in Sandbox mode in which only developer account and tester accounts will be having access.Go to your apps in developer.facebook.com and add tester accounts.

Categories : Android

Foursquare bug: oauth login leads to 404 error if account is connected to Facebook
Looking at the un-minified javascript from foursquare.com/oauth2/authenticate we've tracked down the bug. The problem code comes from the following function: fourSq.auth.Autologin = { maybeFacebookAutologin: function () { window.fourSq.config.enableFacebookAutologin && (!$.cookie("disableFacebookAutologin") && !fourSq.api.models.companion.user.UserUtil.isLoggedIn()) && fourSq.facebook.getFacebookApi(function (a) { a.getLoginStatus(function (b) { if (b === fourSq.facebook.FacebookApi.State.CONNECTED) { var c = (b = location.href.match(/[?&]continue=([^&]+)/) || location.href.match(/https?://[^/]+(.+)/)) ? b[1] : "/"; a.loginWithPermissions(void 0, function () { var a = fourSq.stats.Action.build(fourSq.stats

Categories : Facebook

Facebook like buttonto like a particular wall post (photo, video, link, etc) of my facebook page?
The middle response of Facebook Video Like Button Help? seems to indicate Facebook will automatically embed a like button into the video you upload to them (rather than linking to an external video). Also this article seems to confirm it: http://yourinternetbusinesslink.com/facebook-like-button-video/

Categories : Facebook

callback issue in Facebook while user clicks anywhere while Facebook login page is loading
Goto onCreate() method of WebDialog.java in FacebookSDK library, you will find following statement: spinner = new ProgressDialog(getContext()); add the below statement after it spinner.setCanceledOnTouchOutside(false); you are ready to go!

Categories : Android

Facebook Graph API & django-facebook - posting links and photos to page feeds
Facebook Graph API PHP SDK posting on page as page Found it. There is a different access token for impersonating the page to post as the page. You get that from /me/accounts and use that token to post as the page. Updated working code: @facebook_required_lazy(scope=['manage_pages', 'publish_stream', 'photo_upload']) def index(request): if request.method == 'POST': form = CPYPosterForm(request.POST) if form.is_valid(): fb = require_persistent_graph(request) msg = form.cleaned_data['msg'] pages = form.cleaned_data['pages'] me_accounts = fb.get('/me/accounts') access_token = None resp = dict() for p in pages: for d in me_accounts['data']: if d['id']

Categories : Django

Facebook Graph API, Development of Facebook page post targeting( make visible only specified country/city )
Try feed_targeting instead of targeting! All parameters which you can target like languages,cities,counties are facebook specific. You can resolve them via autocomplete data : "{'locales':[1001],'countries':[GE],'cities':[825886]}" Nice feature for automatic posting with targeting but so bad documented in the Facebook documentation...

Categories : PHP

Facebook page link open in facebook app instead of safari browser
make it this way if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString: @"fb://profile/<page id>"]]){ [[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"fb://profile/<page id>"]]; }else{ [[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://www.facebook.com/<page name>"]]; }

Categories : Iphone

Is there a drupal module for importing Facebook Events from a Facebook Page?
As per my knowledge, there is no such module available in Drupal as of now. But you can write a custom module for the same using following facebook graph api: https://graph.facebook.com/PAGE_ID/events You need a valid access token to return the events list for a page. Visit https://developers.facebook.com/tools/explorer to test it.

Categories : Facebook

Post dialog on Facebook wall and Facebook page
Yes. After your above post is completed, you can simply make another call to publish on the fan page . Just like: FB.api("/pageid/feed", params); Just like this: function callback(response) { var obj = <YOUR_PARAMETERS>; if (response && response.post_id) { alert(response.post_id); FB.api("/<YOU_PAGE_ID>/feed", 'post', obj, function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Post ID: ' + response.id); } }); } } Permissions required: manage_pages, publish_stream

Categories : PHP

Obtaining Facebook Page Access Token in Facebook iOS SDK 3.5.x
Well, this is SDK 4.x, but here's what I've gotten to get it to work __block NSString *pageToken; FBSDKGraphRequest *newRequest = [[FBSDKGraphRequest alloc] initWithGraphPath:[NSString stringWithFormat:@"/%@/accounts", [FBSDKAccessToken currentAccessToken].userID] parameters:nil HTTPMethod:@"GET"]; [newRequest startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) { if (error) { NSLog([error localizedDescription]); }else{ //here you made need to do some debugging. not sure how it works with multiple pages pageToken = [[[result objectForKey:@"data"] objectAtIndex:0] objectForKey:@"access_token"]; }]; Again, not entirely sure how it works when a user

Categories : Misc

Can i get facebook checkins of my facebook page with realtime updates api?
There seems to be a documentation bug in the FB docs. Instead of enabling 'checkins' for the subscription, you must enable 'feed'. Then user checkins will appear at your callback url as changed_fields=feed Then you can read the user's feed and match the timestamp in the RTU and/or look for status updates with a location/place.

Categories : Facebook

Post a link to wall of Facebook Page using Facebook sdk 3.1
This guide shows you how to get started developing with the Facebook SDK for Android. https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/ Complete samples HelloFacebookSample: an all-round sample that demonstrates profile access, status updates and photo uploading Scrumptious: demonstrates the use of login, requests, pickers, picture uploads, and Open Graph publishing

Categories : Android

How Do I Create Facebook Tab on My Fan Page that links to a facebook group
You can add some Javascript redirect on the tab page itself. <script language="javascript"> top.location.href = "https://www.facebook.com/groups/bettyrockyourlife/" </script> Also, sometimes it's best from a UX standpoint to tell the user what is going on. Like setting a timer of a few seconds on the JS and placing a message on the page telling the user that the page will be redirecting elsewhere.

Categories : Facebook



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.