• lenstevens
  • NEWBIE
  • 0 Points
  • Member since 2012
  • Salesforce Developer

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
 

I want to integrate Facebook and Salesforce.

I followed the instructions on this page exactly: https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_Toolkit_for_Facebook (https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_Toolkit_for_Facebook" rel="nofollow)

However when I click on my Sites Url (step 5 on the instructions) I am redirected to the Facebook page and I get this message:

'The following permissions have not been approved for use and are not being shown to people using your app: read_stream and publish_actions. Submit them for review or learn more' - the tutorial does not mention needing permissions.

If I click ok I it processes and then takes me to:

https://mySFsite/apex/FacebookSamplePage?code=xxx

and then displays the Authorization required VF page.

I have checked all the permissions on the Public Access Setting on Sites

If I try to preview Active Site Page as admin I get this error message:

{
   "error": {
    "message": "Invalid redirect_uri: Given URL is not allowed by the Application   
    configuration.",
      "type": "OAuthException",
      "code": 191  
   }
}

I searched this error on google and everyone says that it is because the Sites URL and the URL in the Facebook app are different. I have tried many different permutations but to no avail.

If the URL of my site and the URL in FB app are the same I only get this error message when I preview as admin.

I only this error message by clicking on the Sites Url when the URL in Facebook is actually different. Otherwise I just get the Authorization required VF page.

Some help would be greatly appreciated :)

Hello,

 

I have a problem... I have a custom object that has a lookup to the Leads object.  (Leads >> Feedback)

 

Upon converting the lead, I would like the like the feedback object to attach to the newly created opportunity.  How would I attempt to do this? The feedback object also has a lookup to an opportunity.  Any help is appreciated.

 

There's a similar thread here but doesn't help much: http://boards.developerforce.com/t5/General-Development/Converting-Lead-lookup-relationship-w-custom-object/m-p/69891

 

Thank you-

 

Kenny