• mikebz
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 4
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 5
    Replies

This could be a n00b question.  I created a canvas app and used one of the demo applications that deploys to Heroku.  All is well but it doesn't seem to show up anywhere besides my Canvas App Preview.

 

I don't see any permissions to enable/disable it.

 

Has anyone seen this before?  

 

Ultimately I'd like to create an app that I let other users use via AppExchange.

  • September 22, 2013
  • Like
  • 0

is there a way to do a multi line string in Apex Code?

 

This is an example from PHP (http://php.net/manual/en/language.types.string.php)

 

$str = <<<'EOD'
Example of string
spanning multiple lines
using nowdoc syntax.
EOD;

  • April 10, 2012
  • Like
  • 1

The oauth right now works for production salesforce instances.  Question: for Dreamforce should there be a different login URL?  Does OAuth2 even work for it?

 

Here is what I am using for the regular salesforce access

https://login.salesforce.com/services/oauth2/authorize

  • March 08, 2012
  • Like
  • 0

how do you know what apps have OAuth tokens to a particular instance?

I looked around and I am not sure where it is under the GUI.

 

Thanks!

  • January 30, 2012
  • Like
  • 0

I am publishing a web app that interfaces with Chatter.

 

I am running into a couple of problems:

 

1) It looks like Chatter blocks everything that has a Chatter in it's name.  That poses a problem for me since I named a domain to actually have "chatter" in it.  Can I talk to someone about that and what the possibilities for working with your trademark people are?

 

2) the publishing to AppExchange assumes that I am going to upload a package.  This rules out web apps and mobile apps.  Is there a separate wizard which I can use to move past that screen?

 

Thanks!

  • January 25, 2012
  • Like
  • 0

Hi!  How do I upgrade my DE org to Winter 12?

 

We have a component that allegedly fails on a Winter 12 org and I'd like to set up a repro.

  • September 22, 2011
  • Like
  • 0

After the first call to get the login window:

https://login.salesforce.com/services/oauth2/authorize?response_type=code&client_id=<your_client_id>&redirect_uri=<your_redirect_uri>...

 

I am getting the full HTML instead of a place to redirect the user.  Is there a way to get a redirect URL or should we repipe the HTML back to the user

 

I am following the guidelines from the Chatter guide and somehow I can't get the OAuth to work. 

 

It's not working from Java or curl.   Here is what I am doing:

 

mike$ curl --form client_id=3MVG9yZ.WNe6bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxu5AjB4oT9kxi8SEhY --form client_secret=26542xxxxxxxxxxx78  --form grant_type=password --form username=xxxxxxxx@gmail.com --form password=xxxxxxx https://na11.salesforce.com/services/oauth2/token

 

What I am getting is:

{"error":"invalid_grant","error_description":"authentication failure - Invalid Password"}

 

I double checked and I am getting into na11 with the right password.  Is there anything else I need to do?

 

Here are the settings in my remote access:

 



Applicationchatter



Callback URLhttps://na11.salesforce.com/ConnectTest/oauth/_callback /// temp one



No user approval required for users in this organizationNot Checked

 


is there a way to do a multi line string in Apex Code?

 

This is an example from PHP (http://php.net/manual/en/language.types.string.php)

 

$str = <<<'EOD'
Example of string
spanning multiple lines
using nowdoc syntax.
EOD;

  • April 10, 2012
  • Like
  • 1

I am following the guidelines from the Chatter guide and somehow I can't get the OAuth to work. 

 

It's not working from Java or curl.   Here is what I am doing:

 

mike$ curl --form client_id=3MVG9yZ.WNe6bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxu5AjB4oT9kxi8SEhY --form client_secret=26542xxxxxxxxxxx78  --form grant_type=password --form username=xxxxxxxx@gmail.com --form password=xxxxxxx https://na11.salesforce.com/services/oauth2/token

 

What I am getting is:

{"error":"invalid_grant","error_description":"authentication failure - Invalid Password"}

 

I double checked and I am getting into na11 with the right password.  Is there anything else I need to do?

 

Here are the settings in my remote access:

 



Applicationchatter



Callback URLhttps://na11.salesforce.com/ConnectTest/oauth/_callback /// temp one



No user approval required for users in this organizationNot Checked

 


I tested my app in the DE org and everything worked fine.  I went to connect it to our main org and I got this:

{"message":"The Chatter Connect API is not enabled for this organization or user type.","errorCode":"API_DISABLED_FOR_ORG"}

 

I know that our admins are going to resist enabling anything that they don't think is necessary for business.

 

Question:

1) Is there a doc somewhere on how to enable it properly?  (I couldn't find it)

2) Is there a doc from Salesforce that outlines the security best practices and soothes the mind of an average admin.  Things that I am looking for in a doc like that is that via Chatter API no one will be able to get the customer data, change the customer data, get any opportunity data or anything like that.

 

Thank you!!

The Chatter API Guide shows how to get authentication using grant_type = password.

 

I'd like to know how to set up the interactive flow.

The OAuth examples on Force.com look like they are not dealing with Chatter.  I tried posting:

 

client_id

client_secret

grant_type

redirect_uri

 

to 

https://na11.salesforce.com//services/oauth2/token

 

but I get an HTTP err 400 back.

 

The examples I see are posting to a whole different url: login.salesforce.com...

such as this example http://wiki.developerforce.com/index.php/Digging_Deeper_into_OAuth_2.0_on_Force.com

 

It looks a little suspicious.  In my mind changing from grant_type: password to something else should still post to the same URL.

 

What si the proper way to get an access token to Chatter REST API?

I am following the guidelines from the Chatter guide and somehow I can't get the OAuth to work. 

 

It's not working from Java or curl.   Here is what I am doing:

 

mike$ curl --form client_id=3MVG9yZ.WNe6bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxu5AjB4oT9kxi8SEhY --form client_secret=26542xxxxxxxxxxx78  --form grant_type=password --form username=xxxxxxxx@gmail.com --form password=xxxxxxx https://na11.salesforce.com/services/oauth2/token

 

What I am getting is:

{"error":"invalid_grant","error_description":"authentication failure - Invalid Password"}

 

I double checked and I am getting into na11 with the right password.  Is there anything else I need to do?

 

Here are the settings in my remote access:

 



Applicationchatter



Callback URLhttps://na11.salesforce.com/ConnectTest/oauth/_callback /// temp one



No user approval required for users in this organizationNot Checked

 


Is there anyone who has some experience in using DocuSign API in salesforce?

I would like some help in there generated DocuSign WSDLs.