how to create facebook milestone with picture using API? - facebook

Is there any way to send facebook milestone with picture using API ? I have checked the following documentation and found nothing.
https://developers.facebook.com/docs/reference/api/page/#milestones

No, the API suuports only the parameters listed on that document, you can't upload milestones with images attached via the API

Related

Instagram Insight Metrics with Facebook Graph API

I am trying to use the Facebook Graph API to GET Instagram metrics such as post impressions. I was able to successfully pull my Instagram Follow Count by using this query
{instagram_user_id}?fields=follow_count
When I try to query my post impressions with
{instagram-media-id}/insights?fields=post_impressions
nothing shows up. Am I missing something or have I possibly not requested the correct permissions?
I am trying to follow the documentation at the below link. Is it even possible to pull the impressions through the Facebook Graph API?
https://developers.facebook.com/docs/graph-api/reference/instagram-media/insights/
Thanks!
I believe that it wasn't possible to pull insights using the older version of the API.
However now it is possible as instagram / facebook just released a new version of their Graph API that includes insights. The request would be:
v2.10/{instagram_media_id}/insights?metric=impressions
The new documentation can be found here
Have you tried to specify "period" parameter? By default it might not be a "lifetime" and if you did not generate any impression recently you will see nothing (empty array i assume). In case you missing some permissions, Facebook will make you aware in response.

Facebook CheckIn for version 2.3 using RestFB

I am working on integrating Facebook Graph API with my J2EE application using RestFB.
I need to programatically checkin a user's place of stay which I get on the basis of location.
But Facebook's graph API version 2.3 has removed the check-in post option.
From what I have read from the docs, this is now possible using the /post/feed url of Graph API.
Using this url, I am able to post message and links, but this does not convey the impression of a user check-in.
Please advise if this is correct or can this be done by some other way.

create facebook event from my website

I need to create an event on Facebook directly from my website.
I downloaded facebook SDK v4, I created the connection to my facebook application, now how can I create the event?
I tried several guides but refer to the older versions of the SDK.
now in Graph API -> reference -> event is written:
Publishing
You can not create events via the Graph API.
Can you help me?
The message should be clear enough, it is not possible to create events with the Graph API: https://developers.facebook.com/docs/graph-api/reference/v2.3/event#publish
This change happened with v2.0 of the API: https://developers.facebook.com/docs/apps/changelog#v2_0_permissions

Modify the photo description using Facebook Graph API

I'm able to publish a photo with description on Facebook using Graph API.
But, i figured out that i can't delete it using Graph API, as of now. But, is there any way to modify the description of the existing photo?
I tried many API calls, but no success yet. Is this achievable or so far, such functionality doesn't exist?
Thank You
We can delete the photos that are uploaded via our APP. we can use the ID of photo to delete it.

Actions link not supported by Graph API?

I have a native application which uses Facebook through Graph API and I'm trying to add a custom action link to a wall post.
For example:
https://graph.facebook.com/me/feed?
message=Wpis&actions[{"name":"Look","link":"http://google.com"}]
The message is posted on the wall but the action link is not shown. (It also doen't work from Graph API Explorer).
I found in some posts that action link isn't supported by Graph API, only by old REST API. Can you confirm that info? Or maybe you could redirect me to the page where there i can find some info about lacking features in the Graph API.
You forgot a =
/me/feed?message=Wpis&actions=[{"name":"Look","link":"http://google.com"}]
^