function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How can I create .net client using C# for streaming API
You'll need to find a CometD library for .NET, try this one https://github.com/Oyatel/CometD.NET
Hi guys,I was wondering what the value of the string loginEndpoint = ConfigurationManager.AppSettings["loginEndpoint"]; should be?
I'm trying to authorize but always get redirected to the login page.Thanks.
You'll need to find a CometD library for .NET, try this one https://github.com/Oyatel/CometD.NET
- Take Luis' example: https://github.com/foluis/Salesforce_PushTopics
- Include the headers-branch from Oyatel's CometD-Library: https://github.com/couchand/CometD.NET/tree/headers
- If that branch doesn't exist anymore by the time you read this, the changes might have been merged into the master (https://github.com/couchand/CometD.NET/tree/master) already
I tested it with API library 41.0Hi guys,
I was wondering what the value of the string loginEndpoint = ConfigurationManager.AppSettings["loginEndpoint"]; should be?
I'm trying to authorize but always get redirected to the login page.
Thanks.
depending on where you want to authenticate against, the loginEndpoint is:
- For Production or Developer environments: https://login.salesforce.com/services/oauth2/token
- For Test environments: https://test.salesforce.com/services/oauth2/token
Cheers,Steve