Hi,
Ok it is interesting one! What I am trying to do is:
- I am adding a FBSS status using PHP (no trick just adding records using MYSQL in database) actually this code runs on a share button at different elements of the website which than gets posted at FBSS like it happens in Facebook.
- Now I have PHOTO ALBUMS and PHOTOS in them and When someone click on share of a PHOTO it creates an FBSS STATUS for that image using image TITLE but I am not able to attach that image with that STATUS using FBSMP, image has a record in "files" table and I have FID available and I also created record in 'fbsmp" table against the ID of the above STATUS but
- That status is displaying on the WALL but it is not picking attached image with it from "fbsmp" and "files" tables.
All i need to know, is there any API function which can do it?
OR
Is there any special format "data" field in "fbsmp" table that I need to follow to achieve this?
A quick reply is appreciated as I didn't had time to dig in FBSMP module to find something useful.
Regards
Comments
Comment #1
mudassarijaz commentedComment #2
publicmind commentedThe following code should save an photo attachment with the status:
Just tested this and it works fine. It will also fire all the integrations such as trigger, rules, activity, etc.
Comment #3
publicmind commentedYou can look into the API section of the file:
fbsmp.moduleto see other relevant APIs.Comment #5
Marko B commentedClosing this, opened it without good reason.
Comment #6
Marko B commentedclosing.