function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nkv50nkv50 

Facebook toolkit

Hi,

 

I installed facebook toolkit from this site http://apexdevnet.com/page/Facebook_Tookilt


when i run site it shows below error:

 

Authorization Required

You must first log in or register before accessing this page.
If you have forgotten your password, click Forgot Password to reset it.

 

can you please suggest me why it is showing this type of error.

 

Thanks in advance

Ashish_SFDCAshish_SFDC

Hi Nkv,

 

Make sure the Visual Force page you are trying to access via site is added to site detail page and the page is also available to the user profile trying to access the site VF page. 

All pages that you want to expose on a site must be associated with that site. If a page is not listed under Site Visualforce Pages, an authentication or page-not-found error is displayed based on the existence of the page.

To enable Visualforce pages for your site:
  1. Click Your Name | Setup | Develop | Sites.
  2. Click the name of the site you want to modify.
  3. Click Edit on the Site Visualforce Pages related list.
  4. Use the Add and Remove buttons to enable or disable Visualforce pages for your site.
  5. Click Save.

Regards,

Ashish

vbsvbs
How are you authenticating your request? Have you completed the OAuth 2 jig to get the access token?
nkvnkv

Hi vbs

Yes get the access toekn.

I  give you  link

 

http://sales-force-developer-edition.ap1.force.com/FacebookFavoritePage

Please check this link.

Ashish_SFDCAshish_SFDC

Hi Nkv, 

 

We are unable to open that link, looks like it is specific to your org. 

Can you please share other link or path that we can check out. 

 

Regards,

Ashish