Title: [Plugin: Flash API] Service function examples
Last modified: August 19, 2016

---

# [Plugin: Flash API] Service function examples

 *  [Hamrin](https://wordpress.org/support/users/hamrin/)
 * (@hamrin)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/)
 * Hi,
    Are there any available examples of service functions? The provided test-
   service is only a single return of an output-statement. How would I go about 
   transforming the old services.php functions into working functions in 2.0. They
   don’t seem to work straight off the bat when extracted into separate service 
   function php-files, uploaded to ‘includes’ and added via the API-posts. Good 
   work by the way, really valuable for me and surely alot of other Flash devs out
   there trhuly appreciate this!
 * [http://wordpress.org/extend/plugins/flash-api/](http://wordpress.org/extend/plugins/flash-api/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [Hamrin](https://wordpress.org/support/users/hamrin/)
 * (@hamrin)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864516)
 * I’ll elaborate some more on my issue; the problem I have is that I keep getting“
   INVALID API CALL” when trying to test the ‘test’ service (in a browser). Apparently
   this will happen when the service is not found, but I cannot see what I could
   have missed, as I have followed the instructions.
 *  Thread Starter [Hamrin](https://wordpress.org/support/users/hamrin/)
 * (@hamrin)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864691)
 * Thanks to excellent help from the author this now works like a charm. I managed
   to sneak a url-encoded & into the service url which messed things up…
 *  [nubu](https://wordpress.org/support/users/nubu/)
 * (@nubu)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864750)
 * Hi,
 * i have a problem, too 🙂 Can u please tell “us” how u solved it?
 * The example (built in) of the example isn’t very helpful. Especially the “test.
   php” file….
 * I tried so many things… every time i get “”INVALID API CALL”…
 * Help would be great, because the idea of the whole plugin is awesome 🙂
 * greets, nico
 *  Thread Starter [Hamrin](https://wordpress.org/support/users/hamrin/)
 * (@hamrin)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864751)
 * Hi,
    My problem was that I managed to get a URL-encoded “&” (%26) into the service
   url. Try looking into that, but also notice that there’s been an update to the
   plugin (2.0.2) and the changelog mentions a fix in update 2.0.1. My error was
   supposedly local and in v2.0.0.
 *  [nubu](https://wordpress.org/support/users/nubu/)
 * (@nubu)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864752)
 * Hm… can u show me, what exactly u calles in your php file? (I’m not an expert
   with php^^)
 * would be great. (Even a simple call to all posts or something like that)
 * greets, nico
 *  [Thoams](https://wordpress.org/support/users/thoams/)
 * (@thoams)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864812)
 * If still desired, I could provide a couple of examples of php functions I have
   written for use with this plugin. The functions I have written return my blog
   content in XML format.
 * The following is a short video I have made of Flash (Flex) communicating with
   WordPress through this plugin:
 * [FlashBlog!](http://www.youtube.com/watch?v=7IGtBSPtJVg)
 * Many thanks to the author of this plguin.
 *  [SSJVEEN](https://wordpress.org/support/users/ssjveen/)
 * (@ssjveen)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864814)
 * I could use some examples of php functions that you have used Thoams.
 * I only recently started looking into integrating flash and wordpress together
   and this seems to be a solid solution if only for the lack of decent examples
   in the test.php so anything you have created would be of great help.
 *  [Thoams](https://wordpress.org/support/users/thoams/)
 * (@thoams)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864815)
 * No problem. Here’s sort of the main one… I made a few others, but if I can do
   it then anyone can!
 * Let me know, I’m subscribed to this thread.
 * [Have a look!](http://codepad.org/TqFW7pr9)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘[Plugin: Flash API] Service function examples’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/flash-api.svg)
 * [Flash API](https://wordpress.org/plugins/flash-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flash-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flash-api/)
 * [Active Topics](https://wordpress.org/support/plugin/flash-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flash-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flash-api/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [Thoams](https://wordpress.org/support/users/thoams/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-flash-api-service-function-examples/#post-1864815)
 * Status: not resolved