I am a web dev with novice experience implementing API integrations. I have a php based website that currently has multiple web2lead forms spread across the site.
There are few instances where I have a custom web2lead implementation that really should be web2activity. The user is logged into an account on our website (which upon initial creation created a lead record in SF). So there is an email address that is the same on both the website and as a Contact in SF.
I have tested out: http://developer.force.com/cookbook/recipe/interact-with-the-forcecom-rest-api-from-php and got it up and running fine, but this requires that the user "auth" to SF which wouldn't work as our users don't have any visibility to SF.
In the past, with other apis, I have implemented a flow like: using Curl, call a url and pass a pub+secret keys and the API would respond with a token that would be used to pass data. Is this possible in any way with SF?
I have been doing some digging and I think the issue I am trying to get past is: https://developer.salesforce.com/docs/atlas.en-us.salesforce1api.meta/salesforce1api/quickstart_oauth.htm
The docs note: "In your client application, redirect the user to the appropriate Salesforce authorization endpoint. On successful user login,Salesforce will call your redirect URI with an authorization code. You use the authorization code in the next step to get the access token."
the problem is that, like I said above, the web user doesn't have any visibility to SF.
I am having a hard time deciphering the right direction. There is such a large API/framework with SF.
Any direction would be really helpful.