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
colingcoling 

Chatter API using PHP and Partner WSDL

Hi,

 

I have used the PHP Toolkit for some time now, but I seem to have missed something in my effort to create a FeedPost record using the Partner WSDL. Is this enabled?

 

Logged in to my chatterdev org, I am using WSDL version 18, but describeGlobal does not show any of the Feed objects (FeedPost, AccountFeed, etc.). (create() on FeedPost returns INVALID_TYPE).

 

Is there something I need to enable that I have missed? Any help would be appreciated.

 

Thanks

 

Colin Goldberg

 

Best Answer chosen by Admin (Salesforce Developers) 
colingcoling

That was it!

 

Thank you, Simon

 

All Answers

SuperfellSuperfell

Make sure you really have a v18 WSDL, and also check your WSDL caching params in PHP, by default it'll agresively cache the WSDL file, so if you've recently updated it to v18, it might not be using the new file, see the PHP forum for more info.

colingcoling

That was it!

 

Thank you, Simon

 

This was selected as the best answer