Facebook Canvas Iframe App Extended Permissions Failing?

Oct 21, 2010

I am attempting to create a Facebook IFrame Application using the Facebook Developer's Toolkit (language I'm using is VB). No matter what I do, I cannot get past this error message from Facebook.

App may not request permissions that do not apply to all profiles in the selector

I have tried dropping a CanvasIFrameLoginControl with requirelogin=true

i have also tried inheriting Facebook.Web.CanvasIFrameMasterPage then adding Me.RequireLogin = True to the Page_Init event. Both of these do require login. As soon as I add Required permissions, however, I get the API Error Code 100 - an app may not request permissions that do not apply to all profiles in the selector error from facebook.

View 1 Replies


Similar Messages:

Access Facebook UserId In Facebook Canvas Before OAuth Authentification?

Sep 1, 2010

In my facebook canvas applikation, i store the access token in session. (I use ASP.NET MVC)

But i want to store the access token in a database along with the facebook user id that i can save different access tokens for different facebook users accessing my application.

So when i query the facebook user id and if it doen't return any access token, i request permissions and get the access token for that user.

How do i access the Facebook UserID for the user accessing my canvas application before doing any authentification?

View 2 Replies

Using The Facebook C# Sdk Without A Canvas Application?

Dec 24, 2010

Im trying to use the sdk without a canvas application, so have followed steps 1-7 in the quickstart guide up to adding the facebookSettings property in the Web.config.

I have added an image to my page and an onclick event that contains the below code. but when I click the button, it just takes me to the home page (CancelUrlPath).

Changing the Authorizer to a CanvasAuthorizer results in FB loading the login screen, but I get an error 404 not found on the call (even after inserting the handlers into the config)..

fbApp = new FacebookApp();
authorizer = new Authorizer(fbApp) {Perms = requiredAppPermissions};
authorizer.ReturnUrlPath = "http://localhost/User/UserRegister.aspx";
authorizer.CancelUrlPath = "http://localhost/";
if (authorizer.Authorize(this.Context))
{
Response.Write("hello");//never gets here
}

View 1 Replies

C# - Iframe Canvas Application With Master Page?

Mar 18, 2011

I am developing an Iframe-Canvas Application.

I am using Master Page to gain permission access & display few details, that works good.

Then on content Page I want to display a textbox & linkbutton so user can post status on their wall & here I get error

(OAuthException) An active access token must be used to query information about the current user.

here's my code :

Site.master.cs
protected void Page_Load(object sender, EventArgs e)
{
var auth = new CanvasAuthorizer { Permissions = new[] { "user_about_me","user_birthday","user_location","offline_access","publish_stream" } };

[Code]....

View 2 Replies

How To Request The Extended Permission At The Time Of Authentication Only In Facebook App Development

Nov 8, 2010

I am developing a facebook application in asp.net using the facebook developkit downloaded from [URL] website.

I am practicing a sample application in SDK 3.02samplesIFrame.

They have give an attribute called RequiredAttribute = true in IFrameMaster.Master.cs, which will access the basic information.

But I want to request for extended permission in the same screen itself.

For that i have used this.RequiredPermissions = new List() { Facebook.Schema.Enums.ExtendedPermissions.publish_stream, Facebook.Schema.Enums.ExtendedPermissions.offline_access };

But there is no use.

Is there any way to do it.

View 2 Replies

Using The Facebook C# SDK For Fan Page Custom IFrame Tabs

Mar 11, 2011

I'm trying to create a simple iFrame custom tab on my fan page. I'm using the Facebook C# SDK and I need to read the signed_request value that Facebook passes to my iFrame page.

I can print the signed_request encoded value so I know its showing up, but when I try to decode it with the Facebook C# SDK I'm getting an error. I'm using .NET 4.0 and dynamics.

Here's my code:

signedRequestString contains the Request value with the signed_param passed from Facebook.
var result = FacebookSignedRequest.Parse(FacebookContext.Current.AppSecret, signedRequestString);
dynamic signedRequestJson = result.Data;
dynamic page = signedRequestJson.page;

And the error I receive:

Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at DecodeSignedRequest(String signedRequestString)

why I would be getting a null?

View 1 Replies

AJAX :: Collapsible Panel Extended - Sys.Extended.UI Error

Aug 15, 2010

I have a collapsible panel on my page that has been working up until yesterday. I have no idea what changed, however, it is no giving me the following error.

Microsoft Jscript runtime error: 'Sys.Extended.UI' is null or not an object.

Below is the code for the Collapsible Panel, however, I don't think it has anything to do with it since it has always been working.

<asp:CollapsiblePanelExtender
ID="cpeStandardInformation"
runat="Server"
TargetControlID="pnlCreate"
ExpandControlID="imgStandardInformation"
CollapseControlID="imgStandardInformation"
Collapsed="False"
ExpandedImage="~/images/Minus-Green-Button.png"
CollapsedImage="~/images/Add-Green-Button.png"
SuppressPostBack="true"
ImageControlID="imgStandardInformation"
/>

View 3 Replies

Ajax Update Panel Not Working In Facebook Iframe?

Jan 27, 2011

I have a facebook app with an asp.net update panel. It works fine when running outside facebook, how ever once I run the app in Facebook the update panel stops working. I check the javascript console and found the following errors were occuring.

Uncaught Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException

The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.

View 1 Replies

How To Implement Invite Users Functionality At Facebook (iFrame/.Net)

Mar 7, 2010

I want to implement the famous Invite Friends button at my application. Because it's an iFrame I can use FB.Connect methods or XFBML. Can anyone suggest a way to do it in either of these techniques?

View 1 Replies

C# - Facebook Iframe Application Authorization Using Developer Toolkit 2.0?

Apr 5, 2010

i want to make facebook iframe application using asp.net c#.

how can i make authorization using the developer toolkit 2.0?

View 1 Replies

C# - Facebook Iframe Application ,with Master Page, Doesn't Firing OnSelectedIndexChanged Event

Jun 30, 2010

this is my radio button list:

[code]....

this is the code behind:

[code]....

View 1 Replies

C# - Get Snapshot Of Canvas?

Jul 30, 2010

I develop small application using javascript, using this I can draw on the canvas.I want to know, How get snapshot of my canvas and send it another one, using javascript or any other server side language.

View 3 Replies

JQuery :: Canvas Doesn't Display The Full Image

Jan 13, 2011

i am using this jquery file for image annotations on the image element:

<img id="toAnnotate" src="Images/686.jpg" alt="Trafalgar Square" width="698" height="398" />

And set this src element at page load but after invoking the jquery function on "toannotate" control the full image is not displayed in the 698 by 398 size only some portion of the image is displayed there...why so..?

[Code]....

View 1 Replies

Controls :: Export HTML5 Canvas Chart To Excel / PDF / PPT?

Feb 25, 2016

[Code].....

To create chartrs on web page(ASP.NET) uding the above link is (WebMethod) workong fine. 

But I want to export that chart into Excel,PDF,PPT...

View 1 Replies

Web Forms :: Multi-Series HTML5 Canvas Chart?

Jun 16, 2015

i have readed your post(html5 canvas chart using asp.net)

and now i want to create line chart of chart.js

View 1 Replies

Web Forms :: Iframe From Code Behind / Load A Dynamic iframe But It Cannot Visualize The Page?

Nov 30, 2010

i am trying to load a dynamic iframe but it cannot visualize the page.

this is my html code:

[Code]....

and this is my codebehind:

[Code]....

i am using a content update panel on the page but the div of the iframe is out of the content panel.

View 1 Replies

Web Forms :: Capture Signature Using HTML5 Canvas And Save To Database As Image

Oct 21, 2015

I need to capture and save user signature to database on asp.net webform.

I found this plug-in: [URL]

I downloaded the example project and it is very simple, it has only fews file but I could not understand.

demo here: [URL]

How do I use this on a web-form page, let say on "save" button click postback event, it will save the imageurl of the signature under this format: 

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApIAAAE+CAYAAAA+
vvBuAAAgAElEQVR4Xu3de6w1XV0f8K8WvIEiFTAKXhBrab0AxUraaFET0xYxSGrrpSb
UahsjbcUoXhKtIiaaSFSSojHRUP7w0rQGKbZJ00ahN.........

to a string variable so I can save this string to database?

Also how do I use 2 signature fileds in a same page, because I want to capture signature of 2 users.

View 1 Replies

Iframe Timeout / All Pages Are Loaded On That Iframe According To Menu Selection?

Dec 23, 2010

in my application iam using an iframe, all pages are loaded on that iframe according to menu selection.My problem is that while timeout the login page is loaded inside the iframe.under the menu sectionHow can i overcome this?

View 1 Replies

Web Forms :: Iframe Dynamic Resize Or Iframe Alternative?

Feb 9, 2011

I have created a web application that docks other web applications into it.When an application is docked the app creates a link button in its "tool box" on the left hand side of the page, users can easily click on any link button to navigate to the desired docked app.

I have a web app that uses iframes to display other web applications inside it. In effect it is a docking application where users can easily access many web applications from within one main app, while staying within the main app. I am having challenges dynamically resizing the iframe based on the size of the application the user is accessing.I have searched the web and tried many ideas but have yet to discover the code that will do the trick.

First, for a docking web application is the iframe the best approach? I have see some posts on ajax but am uncertain how that will help.

Second, if an iframe is the way to do it does anyone have code that will completely liminate the need for iframe scroll bars?

Note:The applications docked in the main we app may be of any size and can change size as users interact with them.

View 3 Replies

Web Forms :: How To Open Websites In Iframe / Alternate Way To Iframe

Mar 29, 2011

Our website application needs to open other web sites Iframe.(Our application is web based tool to help high school children to analyze the websites. It has to show news websites to in one iframe and in rest of the page there will be questions related to the news website)

But since many websites use framekiller code, these sites take control of entire page. Is there any ternative way / solution to this problem?It is necessary to be able to open other sites in our website (in iframe or any alternate way), otherwise whole concept of our application will become void.

View 1 Replies

Social Networking :: How To Access Facebook Page At Dialog Of Facebook Send Button

Aug 18, 2012

I see that only name,group,email address we can access at facebook send button. How can i send to my facebook page wall (where i am admin) by clicking facebook send button. It's by default don't show it.

View 1 Replies

Social Networking :: Login From Facebook Using Open Auth Dialog Of Facebook

Aug 16, 2012

I need to develop a login where user can login from his facebook account. When user login first time, an auth dialog should open from facebook asking to user for access permission and than it should move to one of my page where I can retrieve user email address and first name & last name through his facebook access token. How to achieve this?

View 1 Replies

Social Networking :: Get Facebook Profile ID And Username Using Facebook JavaScript SDK

May 7, 2015

i have made a gridview which contains three fields, two textboxes and one combo box. ComboBox fetchs data from table(SQL) and when a combox box triggers, data related to combo must be added in two boxes. i did this throw another button, but i want this to be trigger directly when it clicks..

View 1 Replies

How To Create Facebook Application Via Facebook Developer Toolkit

Dec 26, 2010

I'm trying to create a basic application, i created facebook application before but everything has been changed.

I looked every where to create a basic application, but now i'm getting mad because there isn't any working sample. Because of the changed links, facebook api changes, facebook wiki changes i couldn't find a working copy.

write a basic app that gets permission to write user name to screen in facebook developer toolkit asp.net. I looked computerbeacon.net, codeplex, and some other pages but i couldn't succeed.

Edit: I' m adding some screenshots and some codes, it will may be you to find my problem.

[code]....

View 1 Replies

Social Networking :: Get Facebook User Language Using Facebook API?

May 7, 2015

I would like to know how to get the Facebook user language. 

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved