Topic-icon open graph does not work

Active Subscriptions:

None
12 years 11 months ago #34261 by hannaw
i see this msg in the facebook app field:

Permissions
Your app asks for read and write permissions at the same time. You should only ask for write permissions when a user tries to share something to Facebook.
attention


for open graph i did like this:
As actions:

1. group_join Jomsocial ---> associated with (objects) groups [jomsocial - groups]
2. image_upload Jomsocial ---> associated with groups [jomsocial - groups] and album [jomsocial - album]
3. vote Content ---> associated with article [content - article] and category [content - category]
4. rate Easyblog ---> associated with post [easyblog - post]
5. comment Easyblog ---> associated with post [easyblog - post]
6. comment K2 ---> associated with item [k2 - item] and item [k2 - item] and category [k2 - category]
7. vote K2 ---> associated with item [k2 - item] and item [k2 - item] and category [k2 - category]

fb error msg when any user makes any kind of action :
Unknown path components: /meddybearconnect: (meddybearconnect is the name of the app on fb)

written URLs in the log activity are like this:
/blog/medical-specialties/entry/foods-for-keeping-your-prostate-healthy.html
all without the beginning of the site meddybear.net...

in open graph settings i have wrote only this line:
publish_stream

what should i write here in order to let it work ?

thanks
The topic has been locked.
Support Specialist
12 years 11 months ago #34282 by alzander
Replied by alzander on topic open graph does not work
Hanna,
I posted a question in the other thread which I'm going to ask again here:

You mention:

in open graph settings i have wrote only this line:
publish_stream

Where are you setting this value? I'm a little confused. You shouldn't be requesting that permission unless necessary, and JFBConnect will usually only request the publish_actions permission. I'd recommend *not* requesting that permission as that's likely what Facebook's reviewers complained about above.

For the question:

written URLs in the log activity are like this:
/blog/medical-specialties/entry/foods-for-keeping-your-prostate-healthy.html
all without the beginning of the site meddybear.net...

That's normal. In the database, we store just the relative path of the page that the action was taken on. We can determine the site automatically and it also helps if you change your domain name at a later date so that we haven't hard-coded the 'old' domain in.

Finally, on the page you mention above, if I go to that page, I'm instead brought to a login page. Facebook needs to be able to scan any pages that you Open Graph actions will be posted from and Facebook can't 'login' to your site. You'll need to allow public access to the pages that you'll be posting actions from.

I hope that helps get you started, but if you need more helps, just let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 11 months ago #34288 by hannaw
Replied by hannaw on topic open graph does not work
I have added the publish stream because i thought it will make it work but now i deleted it

the problem is also with public content like group join of jomsocial
example: this url: www.meddybear.net/mbsocial/all-groups/my...edcial-students.html

i get this error from fb:

Unknown path components: /meddybearconnect:
(meddybearonnect is the name of app on fb)

thanks
The topic has been locked.
Support Specialist
12 years 11 months ago #34291 by alzander
Replied by alzander on topic open graph does not work
I'm still seeing publish_stream as a requested permission. I'd definitely recommend removing that request given the denial mentioned by Facebook.

As for the activity posting error you're getting, I'm not sure what's happening. On that group page is the following Open Graph Tag:
<meta property="og:type" content="meddybearconnect:"/>
There should be something on the right-side of that : after your namespace name. I'm not sure why it's being set to blank like I'm seeing. In the Object configuration for your group in JFBConnect, what have you set for the 'Type' setting? That should be 'group' or whatever you want your pages to be described as on Facebook. You'll also want to make sure you created the same object within the Facebook Developer area for your application.

I hope that helps explain, but if not, as always, let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #34401 by hannaw
Replied by hannaw on topic open graph does not work
The publish steam is already disabled from last time i have deleted it

i still see this error on facebook app:
Developer Alerts

Permissions
Your app asks for read and write permissions at the same time. You should only ask for write permissions when a user tries to share something to Facebook.
attention


the type was empty, i used the same thing as the name ex: group, group etc...


You'll also want to make sure you created the same object within the Facebook Developer area for your application. i did but i dont know how to publish them.

i see this msg: You must publish this action before be able to submit to review

Thanks & sorry for disturbing
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #34739 by hannaw
Replied by hannaw on topic open graph does not work
still unresolved problem, any help please?
The topic has been locked.
Support Specialist
12 years 10 months ago #34756 by alzander
Replied by alzander on topic open graph does not work
Hanna,
Sorry for the delayed response, and thanks for bumping this topic back up. I remember doing some research when you initially posted the rejection text above and I just did some more as well.

We've never heard of that denial reason before. When the user logs in, you are asking for read permissions (to get their profile information, like email address) as well as the write permissions (to publish Open Graph Actions). However, that's never been a cause of rejection for any other user and that's the standard procedure.

When you're ready to submit again, I'd add the following note:

The publish_actions permission is being requested at registration so that actions the user takes can automatically be posted to the users wall. We are not using the explicitly_shared option for any of our actions. Some of our actions are (or are planned) to be consumption actions, like reading an article, which will require the publish_actions approval ahead of time. My understanding is that this is an acceptable way to request the publish_actions permission.

.

As for the actual action itself, you posted:

You'll also want to make sure you created the same object within the Facebook Developer area for your application. i did but i dont know how to publish them.

Before you submit your action to Facebook for approval you really need to test the action. That means logging in as a Facebook user and ensuring that the action is properly posted (published) to the Activity Log area in Facebook. You can see your activity log by clicking the "Activity Log" link in the bottom right of your cover photo. If you haven't read, or aren't testing, your actions, please make sure you read the Testing your Open Graph Actions documentation page which explains what needs to be working and tested before you submit.

Finally, in one of my messages above, I mention that your namespace is not properly being set. Did you ever diagnose this? If it's not being set correctly on your page, Open Graph Actions will likely not work at all until fixed.

Thanks,
Alex
The topic has been locked.